Incidencia #44940

make_dir() always returning TRUE

Abrir Fecha: 2022-06-25 08:31 Última actualización: 2022-11-11 22:17

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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
Comentario

Depends on #45830

2022-10-12 23:32 Updated by: cazfi
Comentario

Another dependency: #45841

2022-10-21 06:05 Updated by: cazfi
Comentario

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
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-11-11 22:17 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar