mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
* strace.cc (strace::vsprntf): Avoid printing a zero pid.
This commit is contained in:
parent
91049bd9cd
commit
e0be0a1d50
@ -1,3 +1,7 @@
|
|||||||
|
2005-09-27 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* strace.cc (strace::vsprntf): Avoid printing a zero pid.
|
||||||
|
|
||||||
2005-09-27 Corinna Vinschen <corinna@vinschen.de>
|
2005-09-27 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
|
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
|
||||||
|
@ -149,7 +149,7 @@ strace::vsprntf (char *buf, const char *func, const char *infmt, va_list ap)
|
|||||||
*p = '\000';
|
*p = '\000';
|
||||||
p = progname;
|
p = progname;
|
||||||
count = __small_sprintf (buf, fmt, p && *p ? p : "?",
|
count = __small_sprintf (buf, fmt, p && *p ? p : "?",
|
||||||
myself ? myself->pid : GetCurrentProcessId (),
|
(myself && myself->pid) ? myself->pid : GetCurrentProcessId (),
|
||||||
execing ? "!" : "");
|
execing ? "!" : "");
|
||||||
if (func)
|
if (func)
|
||||||
count += getfunc (buf + count, func);
|
count += getfunc (buf + count, func);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user