diff options
author | Christopher Faylor <me@cgf.cx> | 2001-03-10 20:25:19 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-03-10 20:25:19 +0000 |
commit | e2f2a27ee83c8d05ca665acb5a5910e2594c4cc8 (patch) | |
tree | 190502859f2ec5b5964e4719c23fe0acc7dab90a /winsup/cygwin/gcrt0.c | |
parent | 766de5ad55dc0233ac7a558c48d4d8e29761e76f (diff) | |
download | cygnal-e2f2a27ee83c8d05ca665acb5a5910e2594c4cc8.tar.gz cygnal-e2f2a27ee83c8d05ca665acb5a5910e2594c4cc8.tar.bz2 cygnal-e2f2a27ee83c8d05ca665acb5a5910e2594c4cc8.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/gcrt0.c')
-rw-r--r-- | winsup/cygwin/gcrt0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/gcrt0.c b/winsup/cygwin/gcrt0.c index e565f092f..b06159784 100644 --- a/winsup/cygwin/gcrt0.c +++ b/winsup/cygwin/gcrt0.c @@ -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 */ |