diff options
author | Ron Yorston <rmy@pobox.com> | 2021-06-07 09:05:40 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-06-07 11:31:38 +0100 |
commit | 1f33f42d7bcb019b268d938df643a7a785dc19ab (patch) | |
tree | e22bbb65d61f787f433026bc3cc21bc51f8a2627 /include | |
parent | ac0170d5c908343ed3fe6a222bfda2689909b27f (diff) | |
download | busybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.tar.gz busybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.tar.bz2 busybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.zip |
sync: enable in default configuration
Enable the sync applet by default. It doesn't actually do anything
useful but at least it prevents some scripts from failing.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 367aa7cdc..49e792b69 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -471,7 +471,7 @@ NOIMPL(setuid,uid_t gid UNUSED_PARAM); | |||
471 | NOIMPL(seteuid,uid_t gid UNUSED_PARAM); | 471 | NOIMPL(seteuid,uid_t gid UNUSED_PARAM); |
472 | unsigned int sleep(unsigned int seconds); | 472 | unsigned int sleep(unsigned int seconds); |
473 | int symlink(const char *target, const char *linkpath); | 473 | int symlink(const char *target, const char *linkpath); |
474 | static inline void sync(void) {} | 474 | static inline void sync(void) { sleep(2); } |
475 | long sysconf(int name); | 475 | long sysconf(int name); |
476 | IMPL(getpagesize,int,4096,void); | 476 | IMPL(getpagesize,int,4096,void); |
477 | NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM); | 477 | NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM); |