Hello, Building the fsync applet with a Blackfin toolchain based on uClibc 0.9.29, I get: coreutils/fsync.c: In function ‘fsync_main’: coreutils/fsync.c:27: error: ‘O_NOATIME’ undeclared (first use in this function) coreutils/fsync.c:27: error: (Each undeclared identifier is reported only once coreutils/fsync.c:27: error: for each function it appears in.) make[1]: *** [coreutils/fsync.o] Error 1 And yes, O_NOATIME isn't in bits/fcntl.h in my toolchain. The fsync applet should probably not assume that such a "recent" definition is available in the toolchain and it should probably gracefully fallback if O_NOATIME isn't defined.
Fix is at http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch
(In reply to comment #1) > Fix is at > http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch It seems to conflict with http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-compat.patch, as that one adds the same lines.
Oops... Deleted.