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>2006-01-10 19:49:28 +0300
committerChristopher Faylor <me@cgf.cx>2006-01-10 19:49:28 +0300
commit23de77b72babc03ab1d8a3283ccfb8cf0c042a1c (patch)
tree1f0ae2716b62a7173c027a47e84c3a8efc499173 /winsup/cygwin/fhandler_proc.cc
parent4c8650efd878134a8937ff500730c1db723be99f (diff)
* fhandler_proc.cc (format_proc_cpuinfo): Avoid leading whitespace in model
name.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 996444a66..394f42e25 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -793,7 +793,7 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize)
type_str,
family,
model,
- szBuffer,
+ szBuffer + strspn (szBuffer, " "),
stepping,
brand_id,
cpu_count,