Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-10-02 04:13:41 +0400
committerChristopher Faylor <me@cgf.cx>2005-10-02 04:13:41 +0400
commit0cb6fc5d3036aa449635383a36338ed63539a561 (patch)
treeb5b481605dfb2016b6cdedfe96085ae47ee7ae6d /winsup/cygwin/fhandler_proc.cc
parentf5cfdc0fa440eb88870963cc9440369203bb0b13 (diff)
* 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.cc4
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);