diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-12 14:02:28 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-12 14:02:28 +0000 |
commit | e86a3ddd8b60eb0720874f5b9679446d12a1ac41 (patch) | |
tree | f35332dccaec68bfd182f705dcec0b2297d3a578 /include/mingw.h | |
parent | 90f35327c2f31b7e4d938bf4d54e5526e53daee0 (diff) | |
download | busybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.tar.gz busybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.tar.bz2 busybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.zip |
win32: make readlink(2) implementation unconditional
There doesn't seem to be much advantage in having readlink(2) as a
configuration option. Making it unconditional reduces divergence from
upstream and allows the removal of a check for ENOSYS that's been in
busybox-w32 since the start.
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mingw.h b/include/mingw.h index 236c955d8..713205ef9 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -433,11 +433,7 @@ ssize_t mingw_open_read_close(const char *fn, void *buf, size_t size) FAST_FUNC; | |||
433 | ssize_t mingw_read(int fd, void *buf, size_t count); | 433 | ssize_t mingw_read(int fd, void *buf, size_t count); |
434 | int mingw_close(int fd); | 434 | int mingw_close(int fd); |
435 | int pipe(int filedes[2]); | 435 | int pipe(int filedes[2]); |
436 | #if ENABLE_FEATURE_READLINK2 | ||
437 | ssize_t readlink(const char *pathname, char *buf, size_t bufsiz); | 436 | ssize_t readlink(const char *pathname, char *buf, size_t bufsiz); |
438 | #else | ||
439 | NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM); | ||
440 | #endif | ||
441 | NOIMPL(setgid,gid_t gid UNUSED_PARAM); | 437 | NOIMPL(setgid,gid_t gid UNUSED_PARAM); |
442 | NOIMPL(setegid,gid_t gid UNUSED_PARAM); | 438 | NOIMPL(setegid,gid_t gid UNUSED_PARAM); |
443 | NOIMPL(setsid,void); | 439 | NOIMPL(setsid,void); |