Tíquete #44940

make_dir() always returning TRUE

: 2022-06-25 08:31 Última Atualização: 2022-11-11 22:17

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
Comentário

Depends on #45830

2022-10-12 23:32 Updated by: cazfi
Comentário

Another dependency: #45841

2022-10-21 06:05 Updated by: cazfi
Comentário

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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-11-11 22:17 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login