From 025c1fac6ee41d7814af7d114791dbf4c22ed617 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 26 Nov 2008 17:21:04 +0000 Subject: 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. --- winsup/cygwin/fhandler_netdrive.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/fhandler_netdrive.cc') diff --git a/winsup/cygwin/fhandler_netdrive.cc b/winsup/cygwin/fhandler_netdrive.cc index 3a6333dbb..61401ed8d 100644 --- a/winsup/cygwin/fhandler_netdrive.cc +++ b/winsup/cygwin/fhandler_netdrive.cc @@ -1,6 +1,6 @@ /* fhandler_netdrive.cc: fhandler for // and //MACHINE handling - Copyright 2005 Red Hat, Inc. + Copyright 2005, 2006, 2007, 2008 Red Hat, Inc. This file is part of Cygwin. @@ -107,7 +107,7 @@ thread_netdrive (void *arg) case GET_RESOURCE_ENUM: nh = (struct net_hdls *) ndi->in; if (!nh->dom) - { + { ndi->ret = ERROR_NO_MORE_ITEMS; break; } -- cgit v1.2.3