Incidencia #44212

user_home_dir() just discards $HOME on Windows

Abrir Fecha: 2022-03-27 19:01 Última actualización: 2022-04-26 04:36

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

user_home_dir() assigns 'env = getenv("HOME")', but on Window that's immediately followed by 'env = getenv("APPDATA")', i.e., it doesn't use value of $HOME for anything. Either it should consider the value, or not to get it at all.

Ticket History (3/6 Histories)

2022-03-27 19:01 Updated by: cazfi
  • New Ticket "user_home_dir() just discards $HOME on Windows" created
2022-03-27 19:08 Updated by: cazfi
Comentario

Likely makes to sense to rewrite it so that also the log messages refer to correct environment variable. Currently they speak of "HOME" even when it's "APPDATA" in reality.

2022-03-27 19:16 Updated by: cazfi
2022-04-15 03:27 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-04-26 04:36 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