[hackers] [sbase] Refactor sync(1) code and manpage || FRIGN

From: <git_AT_suckless.org>
Date: Sun, 8 Feb 2015 22:22:47 +0100 (CET)

commit 4f5556968ff69ad2054e84d502c033b3598de0ad
Author: FRIGN <dev_AT_frign.de>
Date: Sun Feb 8 22:08:14 2015 +0100

    Refactor sync(1) code and manpage
    
    and mark it as finished in README.

diff --git a/README b/README
index bc6b356..f6a8e0a 100644
--- a/README
+++ b/README
_AT_@ -63,7 +63,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 =* split yes none
 = sponge non-posix none
    strings no -a, -n, -t
-= sync non-posix none
+=* sync non-posix none
 = tail no -c, -f
 = tar non-posix none
 =* tee yes none
diff --git a/sync.1 b/sync.1
index 99263b2..fae94fa 100644
--- a/sync.1
+++ b/sync.1
_AT_@ -1,4 +1,4 @@
-.Dd January 30, 2015
+.Dd February 8, 2015
 .Dt SYNC 1
 .Os sbase
 .Sh NAME
_AT_@ -10,7 +10,7 @@
 .Nm
 invokes
 .Xr sync 2
-to flush all unwritten changes to the disk. This is
+to flush all unwritten changes to disk. This is
 usually done before shutting down, rebooting or halting.
 .Sh SEE ALSO
 .Xr fsync 2 ,
diff --git a/sync.c b/sync.c
index b01a76e..b3a3cb1 100644
--- a/sync.c
+++ b/sync.c
_AT_@ -1,6 +1,4 @@
 /* See LICENSE file for copyright and license details. */
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "util.h"
Received on Sun Feb 08 2015 - 22:22:47 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 08 2015 - 22:24:10 CET