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

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:36 +0100 (CET)

commit 3e7c5498622e0b5e961b097b090adb9f08a43421
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 Tue Mar 24 2015 - 23:53:36 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:08:09 CET