]> git.pld-linux.org Git - packages/vim.git/blame - 6.3.010
- typo
[packages/vim.git] / 6.3.010
CommitLineData
2b73553d
AM
1To: vim-dev@vim.org
2Subject: Patch 6.3.010
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.3.010
11Problem: When writing to a named pipe there is an error for fsync()
12 failing.
13Solution: Ignore the fsync() error for devices.
14Files: src/fileio.c
15
16
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
19***************
20*** 3965,3972 ****
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. */
25! if (fsync(fd) != 0)
26 {
27 errmsg = (char_u *)_("E667: Fsync failed");
28 end = 0;
29--- 3965,3974 ----
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)
37 {
38 errmsg = (char_u *)_("E667: Fsync failed");
39 end = 0;
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
42***************
43*** 643,644 ****
44--- 643,646 ----
45 { /* Add new patch number below this line */
46+ /**/
47+ 10,
48 /**/
49
50--
51A poem: read aloud:
52
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.
59
60Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
61
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 ///
This page took 0.067723 seconds and 4 git commands to generate.