* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
* exceptions.cc (exit_lock): Delete. (events_init): Don't init exit_lock. * (_pinfo::commune_process): Add per-PICOM debugging. * sigproc.cc (talktome): Add some temporary debugging statements. * fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change. (format_proc_partitions): Ditto. * syscalls.cc (locked_append): Ditto.
This commit is contained in:
@@ -635,7 +635,7 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize)
|
||||
|
||||
GetSystemInfo (&siSystemInfo);
|
||||
|
||||
for (cpu_number = 0;;cpu_number++)
|
||||
for (cpu_number = 0; ; cpu_number++)
|
||||
{
|
||||
__small_sprintf (szBuffer, "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\%d", cpu_number);
|
||||
|
||||
@@ -945,7 +945,7 @@ format_proc_partitions (char *destbuf, size_t maxsize)
|
||||
|
||||
if (wincap.is_winnt ())
|
||||
{
|
||||
for (int drive_number=0;;drive_number++)
|
||||
for (int drive_number=0; ; drive_number++)
|
||||
{
|
||||
CHAR szDriveName[CYG_MAX_PATH];
|
||||
__small_sprintf (szDriveName, "\\\\.\\PHYSICALDRIVE%d", drive_number);
|
||||
|
Reference in New Issue
Block a user