* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist

(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).  Also set EACCES when directory
is not writable.
This commit is contained in:
Christopher Faylor
2001-03-10 20:25:19 +00:00
parent 766de5ad55
commit e2f2a27ee8
3 changed files with 11 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ extern u_char eprol asm ("__eprol");
extern void _mcleanup (void);
extern void monstartup (u_long, u_long);
void _monstartup (void) __attribute__((__constructor__));
foo void _monstartup (void) __attribute__((__constructor__));
/* startup initialization for -pg support */