You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7626 Reporter: ceastlund Assigned to:@gasche Status: resolved (set by @xavierleroy on 2017-09-24T15:17:04Z) Resolution: fixed Priority: normal Severity: minor OS: Linux Version: 4.04.2 Fixed in version: 4.06.0 +dev/beta1/beta2/rc1 Category: runtime system and C interface Monitored by:@gasche
Bug description
On Linux, Sys.executable_name depends on /proc/self/exe if the symlink can be read, and otherwise falls back on argv[0]. The buffer used to read /proc/self/exe is 256 characters, so for long paths this always fails.
The text was updated successfully, but these errors were encountered:
I tried this with 4.05.0 and while that patch is included, Sys.executable_name still does not match /proc/self/exe for long paths. I still get the argv[0] form of the path.
Tested on 4.06 with an executable file name of 349 characters, correctly read from /proc/self/exe. If you're still observing failures, please reopen this report.
Original bug ID: 7626
Reporter: ceastlund
Assigned to: @gasche
Status: resolved (set by @xavierleroy on 2017-09-24T15:17:04Z)
Resolution: fixed
Priority: normal
Severity: minor
OS: Linux
Version: 4.04.2
Fixed in version: 4.06.0 +dev/beta1/beta2/rc1
Category: runtime system and C interface
Monitored by: @gasche
Bug description
On Linux, Sys.executable_name depends on /proc/self/exe if the symlink can be read, and otherwise falls back on argv[0]. The buffer used to read /proc/self/exe is 256 characters, so for long paths this always fails.
The text was updated successfully, but these errors were encountered: