* cygcheck.cc (dump_sysinfo): Fix compiler warning in printf.
* strace.cc (proc_child): Ditto. * ldd.cc: Remove now useless undef wcscasecmp.
This commit is contained in:
parent
db917b216e
commit
2971f07610
|
@ -1,3 +1,9 @@
|
|||
2009-03-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygcheck.cc (dump_sysinfo): Fix compiler warning in printf.
|
||||
* strace.cc (proc_child): Ditto.
|
||||
* ldd.cc: Remove now useless undef wcscasecmp.
|
||||
|
||||
2009-03-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* passwd.c (usage): Change description for -d option according to
|
||||
|
|
|
@ -1540,7 +1540,7 @@ dump_sysinfo ()
|
|||
(LPBYTE) &obcaseinsensitive, &size);
|
||||
RegCloseKey (key);
|
||||
}
|
||||
printf ("obcaseinsensitive set to %d\n\n", obcaseinsensitive);
|
||||
printf ("obcaseinsensitive set to %lu\n\n", obcaseinsensitive);
|
||||
|
||||
if (givehelp)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#undef wcscasecmp /* Disable definition from Cygwin's internal wchar.h. */
|
||||
#include <locale.h>
|
||||
#include <sys/cygwin.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -651,7 +651,7 @@ proc_child (unsigned mask, FILE *ofile, pid_t pid)
|
|||
status = DBG_EXCEPTION_NOT_HANDLED;
|
||||
if (ev.u.Exception.dwFirstChance)
|
||||
fprintf (ofile, "--- Process %lu, exception %p at %p\n", ev.dwProcessId,
|
||||
ev.u.Exception.ExceptionRecord.ExceptionCode,
|
||||
(void *) ev.u.Exception.ExceptionRecord.ExceptionCode,
|
||||
ev.u.Exception.ExceptionRecord.ExceptionAddress);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue