任务单 #44940

make_dir() always returning TRUE

开放日期: 2022-06-25 08:31 最后更新: 2022-11-11 22:17

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
2

Details

Haven't checked if callers would care about make_dir() return value, but at least it should give a sensible return value. Currently it's always returning with TRUE from the end.

This might explain some of the non-optimal behavior when a flatpak build is not given "create" permissions for ~/.freeciv

任务单历史 (3/9 Histories)

2022-06-25 08:31 Updated by: cazfi
  • New Ticket "make_dir() always returning TRUE" created
2022-09-06 19:10 Updated by: cazfi
2022-10-11 17:23 Updated by: cazfi
评论

Depends on #45830

2022-10-12 23:32 Updated by: cazfi
评论

Another dependency: #45841

2022-10-21 06:05 Updated by: cazfi
评论

Need to investigate Windows side if we have a "drive creation attempt" equivalent of "root dir creation attempt" (#45830) that would always return error. "C:\" ends to dir separator, after all (but it's not in the beginning, so not fixed by #45830)

2022-11-05 08:02 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-11-11 22:17 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名