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>2001-03-19 00:11:25 +0300
committerChristopher Faylor <me@cgf.cx>2001-03-19 00:11:25 +0300
commit94b03f2380794f20fdc53873b6b03994a37c9579 (patch)
treec5865bc035f4efd9e81cff75153a1217321dbaa7 /winsup/cygwin/environ.cc
parent51cb7ca7acf620946b7b90baa10c56ff2669803e (diff)
Fix spacing, copyrights.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r--winsup/cygwin/environ.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index a83c06e7e..2c6e13b39 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -42,10 +42,9 @@ static char **lastenviron = NULL;
(CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) \
<= CYGWIN_VERSION_DLL_MALLOC_ENV)
-
/* List of names which are converted from dos to unix
on the way in and back again on the way out.
-
+
PATH needs to be here because CreateProcess uses it and gdb uses
CreateProcess. HOME is here because most shells use it and would be
confused by Windows style path names. */
@@ -400,21 +399,21 @@ codepage_init (const char *buf)
if (!buf || !*buf)
return;
- if (strcmp (buf, "oem")== 0 )
+ if (strcmp (buf, "oem")== 0)
{
current_codepage = oem_cp;
SetFileApisToOEM ();
- debug_printf ("File APIs set to OEM" );
+ debug_printf ("File APIs set to OEM");
}
- else if (strcmp (buf, "ansi")== 0 )
+ else if (strcmp (buf, "ansi")== 0)
{
current_codepage = ansi_cp;
SetFileApisToANSI ();
- debug_printf ("File APIs set to ANSI" );
+ debug_printf ("File APIs set to ANSI");
}
else
{
- debug_printf ("Wrong codepage name: %s", buf );
+ debug_printf ("Wrong codepage name: %s", buf);
}
}