Ticket #44940

make_dir() always returning TRUE

오픈 날짜: 2022-06-25 08:31 마지막 업데이트: 2022-11-11 22:17

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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

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 (None) to cazfi
  • Resolution Update from None to Accepted
2022-11-11 22:17 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login