* dir.cc (rmdir): Eliminate nonsensical code.
* fork.cc (fork): Move exit debug_printf to last statement.
This commit is contained in:
parent
09968b6d27
commit
a591389de3
|
@ -1,3 +1,9 @@
|
|||
2005-10-21 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* dir.cc (rmdir): Eliminate nonsensical code.
|
||||
|
||||
* fork.cc (fork): Move exit debug_printf to last statement.
|
||||
|
||||
2005-10-20 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygwin.din (futimes): Export.
|
||||
|
|
|
@ -305,10 +305,7 @@ rmdir (const char *dir)
|
|||
if (fh->error ())
|
||||
{
|
||||
debug_printf ("got %d error from build_fh_name", fh->error ());
|
||||
if (fh->error ())
|
||||
set_errno (EROFS);
|
||||
else
|
||||
set_errno (fh->error ());
|
||||
set_errno (fh->error ());
|
||||
}
|
||||
else if (!fh->rmdir ())
|
||||
res = 0;
|
||||
|
|
|
@ -601,8 +601,8 @@ fork ()
|
|||
|
||||
set_errno (grouped.this_errno);
|
||||
}
|
||||
syscall_printf ("%d = fork()", res);
|
||||
sig_send (NULL, __SIGNOHOLD);
|
||||
syscall_printf ("%d = fork()", res);
|
||||
return res;
|
||||
}
|
||||
#ifdef DEBUGGING
|
||||
|
|
Loading…
Reference in New Issue