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.
This commit is contained in:
@@ -358,7 +358,7 @@ spawn_guts (const char *prog_arg, const char *const *argv,
|
||||
|
||||
wascygexec = real_path.iscygexec ();
|
||||
res = newargv.fixup (prog_arg, real_path, ext);
|
||||
|
||||
|
||||
if (!real_path.iscygexec ()
|
||||
&& (cygheap->cwd.drive_length == 0
|
||||
|| cygheap->cwd.win32.Length >= MAX_PATH * sizeof (WCHAR)))
|
||||
@@ -480,7 +480,7 @@ spawn_guts (const char *prog_arg, const char *const *argv,
|
||||
|| (runpath[5] != L':' /* UNC path */
|
||||
&& len < (MAX_PATH + 6) * sizeof (WCHAR)))
|
||||
{
|
||||
PWCHAR r = runpath + 4;
|
||||
PWCHAR r = runpath + 4;
|
||||
if (r[1] != L':') /* UNC path */
|
||||
*(r += 2) = L'\\';
|
||||
if (!RtlIsDosDeviceName_U (r))
|
||||
|
Reference in New Issue
Block a user