待辦事項 #44940

make_dir() always returning TRUE

啟用日期: 2022-06-25 08:31 最後更新: 2022-11-11 22:17

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
2

細節

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

Ticket History (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 修正

編輯

Please login to add comment to this ticket » 登入