Transferred from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299

If one runs the following program:
-----------------------
#include <stdio.h>
#include <unistd.h>
int main()
{
  printf("%s\n", (NULL == getlogin())?"no":getlogin());
  return 0;
}
-------------------------
via "/usr/bin/nohup a.out", nohup.out contains "no" with coreutils 5.93
or 6.8 but using coreutils 5.2.1's nohup it contains the login name.
Calling the program in the shell or via tcsh's nohup prints also the
login name.

Tobias


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to