diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_netdrive.cc | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8f477c8a9..2ff0ecabf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2009-07-15 Corinna Vinschen <corinna@vinschen.de> + * fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless + alloca. + +2009-07-15 Corinna Vinschen <corinna@vinschen.de> + * path.cc (cwdstuff::set): Only fix up UNC path in win32 so as not to overwrite incoming path. diff --git a/winsup/cygwin/fhandler_netdrive.cc b/winsup/cygwin/fhandler_netdrive.cc index 61401ed8d..c6d8892d5 100644 --- a/winsup/cygwin/fhandler_netdrive.cc +++ b/winsup/cygwin/fhandler_netdrive.cc @@ -221,7 +221,6 @@ fhandler_netdrive::readdir (DIR *dir, dirent *de) nr.lpRemoteName = namebuf; nr.dwType = RESOURCETYPE_DISK; - nro = (NETRESOURCE *) alloca (4096); nh = (struct net_hdls *) ccalloc (HEAP_FHANDLER, 1, sizeof *nh); ret = create_thread_and_wait (len == 2 ? GET_RESOURCE_OPENENUMTOP : GET_RESOURCE_OPENENUM, |