diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32.c | 19 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1929c3fc98a..f3710495c4a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-02-27 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32.c (symlink, readlink): New stub functions. | ||
| 4 | |||
| 1 | 2011-02-27 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2011-02-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG. | 7 | * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG. |
| @@ -3614,6 +3614,25 @@ utime (const char *name, struct utimbuf *times) | |||
| 3614 | } | 3614 | } |
| 3615 | 3615 | ||
| 3616 | 3616 | ||
| 3617 | /* Symlink-related functions that always fail. Used in fileio.c to | ||
| 3618 | avoid #ifdef's. */ | ||
| 3619 | int | ||
| 3620 | symlink (char const *dummy1, char const *dummy2) | ||
| 3621 | { | ||
| 3622 | errno = ENOSYS; | ||
| 3623 | return -1; | ||
| 3624 | } | ||
| 3625 | |||
| 3626 | ssize_t | ||
| 3627 | readlink (const char *name, char *dummy1, size_t dummy2) | ||
| 3628 | { | ||
| 3629 | /* `access' is much faster than `stat' on MS-Windows. */ | ||
| 3630 | if (sys_access (name, 0) == 0) | ||
| 3631 | errno = EINVAL; | ||
| 3632 | return -1; | ||
| 3633 | } | ||
| 3634 | |||
| 3635 | |||
| 3617 | /* Support for browsing other processes and their attributes. See | 3636 | /* Support for browsing other processes and their attributes. See |
| 3618 | process.c for the Lisp bindings. */ | 3637 | process.c for the Lisp bindings. */ |
| 3619 | 3638 | ||