diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-28 23:50:07 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-28 23:50:07 +0400 |
commit | e3778517d9c6409c9c917db83ccac20de1800a29 (patch) | |
tree | 407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/sysconf.cc | |
parent | dccc3e5d2c6059410c12feb9e5d26f3176334011 (diff) |
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.
Also perform whitespace cleanup.
Diffstat (limited to 'winsup/cygwin/sysconf.cc')
-rw-r--r-- | winsup/cygwin/sysconf.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index 4de8d8738..66e4fc441 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -52,7 +52,7 @@ sysconf (int in) case _SC_SAVED_IDS: return _POSIX_SAVED_IDS; case _SC_LOGIN_NAME_MAX: - return LOGIN_NAME_MAX; + return LOGIN_NAME_MAX; case _SC_GETPW_R_SIZE_MAX: case _SC_GETGR_R_SIZE_MAX: return 16*1024; @@ -104,7 +104,7 @@ sysconf (int in) } break; case _SC_AVPHYS_PAGES: - if (wincap.supports_smp ()) + if (wincap.supports_smp ()) { NTSTATUS ret; SYSTEM_PERFORMANCE_INFORMATION spi; @@ -124,7 +124,7 @@ sysconf (int in) case _SC_RTSIG_MAX: return RTSIG_MAX; case _SC_TTY_NAME_MAX: - return TTY_NAME_MAX; + return TTY_NAME_MAX; } /* Invalid input or unimplemented sysconf name */ |