[hackers] [ubase] dd: Only sync once || sin

From: <git_AT_suckless.org>
Date: Mon, 2 Feb 2015 23:33:04 +0100 (CET)

commit 8fe02392edbb05213e114ded8e371fd7dcbe94a7
Author: sin <sin_AT_2f30.org>
Date: Mon Feb 2 22:32:03 2015 +0000

    dd: Only sync once

diff --git a/dd.c b/dd.c
index 713af36..a82a7ad 100644
--- a/dd.c
+++ b/dd.c
_AT_@ -292,6 +292,6 @@ main(int argc, char *argv[])
         print_stat(&config);
 
         if (config.nosync == 0)
- sync(); sync();
+ sync();
         return config.saved_errno;
 }
Received on Mon Feb 02 2015 - 23:33:04 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 02 2015 - 23:36:09 CET