From d073e1c0aa17f36fe28338a0787e6b07cc463a1d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 24 Jul 2015 19:58:59 -0500 Subject: [PATCH] Promote fsync. --- toys/{pending => other}/fsync.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename toys/{pending => other}/fsync.c (88%) diff --git a/toys/pending/fsync.c b/toys/other/fsync.c similarity index 88% rename from toys/pending/fsync.c rename to toys/other/fsync.c index bf673df..e6f6c8d 100644 --- a/toys/pending/fsync.c +++ b/toys/other/fsync.c @@ -8,14 +8,15 @@ USE_FSYNC(NEWTOY(fsync, "<1d", TOYFLAG_BIN)) config FSYNC bool "fsync" - default n + default y help - usage: fsync [d] [FILE...] + usage: fsync [-d] [FILE...] Synchronize a file's in-core state with storage device. - -d Avoid syncing metadata. + -d Avoid syncing metadata. */ + #define FOR_fsync #include "toys.h" -- 2.7.4