4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When writing to a named pipe there is an error for fsync()
13 Solution: Ignore the fsync() error for devices.
17 *** ../vim-6.3.009/src/fileio.c Sun Jun 20 13:56:21 2004
18 --- src/fileio.c Tue Jun 29 20:02:53 2004
21 * original and the backup file to be lost when halting the system right
22 * after writing the file. That's because only the meta-data is
23 * journalled. Syncing the file slows down the system, but assures it has
24 ! * been written to disk and we don't lose it. */
27 errmsg = (char_u *)_("E667: Fsync failed");
30 * original and the backup file to be lost when halting the system right
31 * after writing the file. That's because only the meta-data is
32 * journalled. Syncing the file slows down the system, but assures it has
33 ! * been written to disk and we don't lose it.
34 ! * For a device do try the fsync() but don't complain if it does not work
35 ! * (could be a pipe). */
36 ! if (fsync(fd) != 0 && !device)
38 errmsg = (char_u *)_("E667: Fsync failed");
40 *** ../vim-6.3.009/src/version.c Mon Jun 28 19:38:42 2004
41 --- src/version.c Tue Jun 29 20:06:21 2004
45 { /* Add new patch number below this line */
53 <> !*''# Waka waka bang splat tick tick hash,
54 ^"`$$- Caret quote back-tick dollar dollar dash,
55 !*=@$_ Bang splat equal at dollar under-score,
56 %*<> ~#4 Percent splat waka waka tilde number four,
57 &[]../ Ampersand bracket bracket dot dot slash,
58 |{,,SYSTEM HALTED Vertical-bar curly-bracket comma comma CRASH.
60 Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
62 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
63 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
64 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
65 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///