Ticket #44212

user_home_dir() just discards $HOME on Windows

Open Date: 2022-03-27 19:01 Last Update: 2022-04-26 04:36

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

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
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-04-26 04:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login