diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-28 19:50:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-28 19:50:07 +0000 |
commit | e3778517d9c6409c9c917db83ccac20de1800a29 (patch) | |
tree | 407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/sem.cc | |
parent | dccc3e5d2c6059410c12feb9e5d26f3176334011 (diff) | |
download | newlib-e3778517d9c6409c9c917db83ccac20de1800a29.zip newlib-e3778517d9c6409c9c917db83ccac20de1800a29.tar.gz newlib-e3778517d9c6409c9c917db83ccac20de1800a29.tar.bz2 |
* 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/sem.cc')
-rw-r--r-- | winsup/cygwin/sem.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sem.cc b/winsup/cygwin/sem.cc index c623db1..1d7f53c 100644 --- a/winsup/cygwin/sem.cc +++ b/winsup/cygwin/sem.cc @@ -116,7 +116,7 @@ semctl (int semid, int semnum, int cmd, ...) syscall_printf ("-1 [%d] = semctl ()", request.error_code ()); set_errno (request.error_code ()); if (request.error_code () == ENOSYS) - raise (SIGSYS); + raise (SIGSYS); return -1; } return request.retval (); @@ -139,7 +139,7 @@ semget (key_t key, int nsems, int semflg) syscall_printf ("-1 [%d] = semget ()", request.error_code ()); set_errno (request.error_code ()); if (request.error_code () == ENOSYS) - raise (SIGSYS); + raise (SIGSYS); return -1; } return request.retval (); @@ -164,7 +164,7 @@ semop (int semid, struct sembuf *sops, size_t nsops) syscall_printf ("-1 [%d] = semop ()", request.error_code ()); set_errno (request.error_code ()); if (request.error_code () == ENOSYS) - raise (SIGSYS); + raise (SIGSYS); return -1; } return request.retval (); |