diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-02 00:13:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-02 00:13:41 +0000 |
commit | 0cb6fc5d3036aa449635383a36338ed63539a561 (patch) | |
tree | b5b481605dfb2016b6cdedfe96085ae47ee7ae6d /winsup/cygwin/fhandler_proc.cc | |
parent | f5cfdc0fa440eb88870963cc9440369203bb0b13 (diff) | |
download | cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.tar.gz cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.tar.bz2 cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index f3c13e2ce..c8e595769 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -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); |