|
From: | Tobias Burnus |
Subject: | coreutils 5.2.1 -> 5.93 regression: With nohup getlogin() returns NULL |
Date: | Wed, 21 Mar 2007 18:55:38 +0100 |
User-agent: | Thunderbird 1.5.0.9 (X11/20060911) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |