diff options
author | Christopher Faylor <me@cgf.cx> | 2008-11-26 20:21:04 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-11-26 20:21:04 +0300 |
commit | 025c1fac6ee41d7814af7d114791dbf4c22ed617 (patch) | |
tree | 40ed7d77fb6578653e57e1f4693dbe594c13218a /winsup/cygwin/fcntl.cc | |
parent | f43f75a09db3935effc2f56ecd47b55e3b7c9300 (diff) |
Remove unneeded whitespace.
* fhandler_fifo.cc (fhandler_fifo::open): Rework to cause errno to be set to
ENXIO when opening a fifo write/nonblocking.
* environ.cc (ucreqenv): Rename to ucenv. Move code from old ucenv here and
conditionalize it on create_upcaseenv.
(ucenv): Delete.
(environ_init): Fix compiler warning by moving create_upcaseenv test to ucenv.
Don't bother checking for child_proc_info when calling ucenv since it is
assumed to be NULL at the point where the function is called.
* path.cc (symlink_worker): Turn off MS-DOS path warnings when dealing with
devices since the device handler passes in a translated MS-DOS path.
* sec_auth.cc (lsaprivkeyauth): Avoid variable initialization which causes a
compiler error.
* fhandler_netdrive.cc: Update copyright.
Diffstat (limited to 'winsup/cygwin/fcntl.cc')
-rw-r--r-- | winsup/cygwin/fcntl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fcntl.cc b/winsup/cygwin/fcntl.cc index b3ec8dcf2..442686268 100644 --- a/winsup/cygwin/fcntl.cc +++ b/winsup/cygwin/fcntl.cc @@ -46,9 +46,9 @@ fcntl64 (int fd, int cmd, ...) case F_SETLK: case F_SETLKW: { - struct __flock64 *fl = (struct __flock64 *) arg; - fl->l_type &= F_RDLCK | F_WRLCK | F_UNLCK; - res = cfd->lock (cmd, fl); + struct __flock64 *fl = (struct __flock64 *) arg; + fl->l_type &= F_RDLCK | F_WRLCK | F_UNLCK; + res = cfd->lock (cmd, fl); } break; default: |