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
We need a configure-time argument to work around cuserid() segmentation faults by replacing that logic with getenv("LOGNAME"). I don't see a way to handle this at run time.
The text was updated successfully, but these errors were encountered:
The first step is to update the runtime logic for determining user id, so that it tries each of cuserid(), getenv("LOGNAME"), and finally sprintf(..., getuid()). Testing on surveyor (BG/P) and VEAS (BG/Q) confirm that the LOGNAME environment variable is not set by default on those systems, so they will fall back directly to getuid() if cuserid() does not work.
The --disable-cuserid configure argument will activate ifdef wrappers around the cuserid() portion of the code.
In GitLab by @shanedsnyder on Sep 24, 2015, 16:25
We need a configure-time argument to work around cuserid() segmentation faults by replacing that logic with getenv("LOGNAME"). I don't see a way to handle this at run time.
The text was updated successfully, but these errors were encountered: