* pinfo.cc (pinfo_init): Revert previous patch.
This commit is contained in:
parent
2e6d8441fa
commit
e46892585a
@ -1,3 +1,7 @@
|
|||||||
|
Sat Jun 17 19:52:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* pinfo.cc (pinfo_init): Revert previous patch.
|
||||||
|
|
||||||
Sat Jun 17 13:29:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
Sat Jun 17 13:29:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* pinfo.cc (pinfo_init): Add missing initializers.
|
* pinfo.cc (pinfo_init): Add missing initializers.
|
||||||
|
@ -99,8 +99,6 @@ pinfo_init (LPBYTE info)
|
|||||||
myself->ppid = myself->pgid = myself->sid = myself->pid;
|
myself->ppid = myself->pgid = myself->sid = myself->pid;
|
||||||
myself->ctty = -1;
|
myself->ctty = -1;
|
||||||
myself->uid = USHRT_MAX;
|
myself->uid = USHRT_MAX;
|
||||||
myself->logsrv[0] = '\0';
|
|
||||||
myself->domain[0] = '\0';
|
|
||||||
|
|
||||||
environ_init (0); /* call after myself has been set up */
|
environ_init (0); /* call after myself has been set up */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user