mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 19:10:36 +08:00
* pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting. Set uid and gid
to default values to accommodate early initialization of shared user info. Add comment.
This commit is contained in:
parent
6d55bc5c8a
commit
9ffe887f6c
@ -1,3 +1,9 @@
|
|||||||
|
2011-12-23 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting. Set uid and gid
|
||||||
|
to default values to accommodate early initialization of shared user
|
||||||
|
info. Add comment.
|
||||||
|
|
||||||
2011-12-22 Corinna Vinschen <vinschen@redhat.com>
|
2011-12-22 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB
|
* spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB
|
||||||
|
@ -40,6 +40,9 @@ pinfo_basic::pinfo_basic()
|
|||||||
{
|
{
|
||||||
pid = dwProcessId = GetCurrentProcessId ();
|
pid = dwProcessId = GetCurrentProcessId ();
|
||||||
GetModuleFileNameW (NULL, progname, sizeof (progname));
|
GetModuleFileNameW (NULL, progname, sizeof (progname));
|
||||||
|
/* Default uid/gid are needed very early to initialize shared user info. */
|
||||||
|
uid = ILLEGAL_UID;
|
||||||
|
gid = UNKNOWN_GID;
|
||||||
}
|
}
|
||||||
|
|
||||||
pinfo_basic myself_initial NO_COPY;
|
pinfo_basic myself_initial NO_COPY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user