Ticket #44212

user_home_dir() just discards $HOME on Windows

오픈 날짜: 2022-03-27 19:01 마지막 업데이트: 2022-04-26 04:36

Reporter:
소유자:
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
댓글 올리기

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
  • 소유자 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

Please login to add comment to this ticket » Login