diff options
| author | Eli Zaretskii | 2000-04-13 10:17:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-04-13 10:17:16 +0000 |
| commit | 055a28c977bb6a6007c40f8a48fac72792ae2cfc (patch) | |
| tree | e0630d378594931adbfe6665ceaa4dd1810f0a33 /src | |
| parent | 3d30065dc2a536cc7d7ef0d880112bea03ebf958 (diff) | |
| download | emacs-055a28c977bb6a6007c40f8a48fac72792ae2cfc.tar.gz emacs-055a28c977bb6a6007c40f8a48fac72792ae2cfc.zip | |
(a_write): Remove redundant semi-colons.
(e_write): Return -1 if failed to write all the data.
This fixes the changes made at 1999-12-15.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/fileio.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5735930c967..a1f51e3818b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * fileio.c (a_write): Remove redundant semi-colons. | ||
| 4 | (e_write): Return -1 if failed to write all the data. | ||
| 5 | This fixes the changes made at 1999-12-15. | ||
| 6 | |||
| 1 | 2000-04-12 Dave Love <fx@gnu.org> | 7 | 2000-04-12 Dave Love <fx@gnu.org> |
| 2 | 8 | ||
| 3 | * fns.c (mapcar1): Test for null vals to support mapc. | 9 | * fns.c (mapcar1): Test for null vals to support mapc. |
diff --git a/src/fileio.c b/src/fileio.c index 3af7816fd5c..545061ba0d1 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -4925,7 +4925,7 @@ a_write (desc, string, pos, nchars, annot, coding) | |||
| 4925 | /* Output buffer text up to the next annotation's position. */ | 4925 | /* Output buffer text up to the next annotation's position. */ |
| 4926 | if (nextpos > pos) | 4926 | if (nextpos > pos) |
| 4927 | { | 4927 | { |
| 4928 | if (0 > e_write (desc, string, pos, nextpos, coding)); | 4928 | if (0 > e_write (desc, string, pos, nextpos, coding)) |
| 4929 | return -1; | 4929 | return -1; |
| 4930 | pos = nextpos; | 4930 | pos = nextpos; |
| 4931 | } | 4931 | } |
| @@ -4933,7 +4933,7 @@ a_write (desc, string, pos, nchars, annot, coding) | |||
| 4933 | tem = Fcdr (Fcar (*annot)); | 4933 | tem = Fcdr (Fcar (*annot)); |
| 4934 | if (STRINGP (tem)) | 4934 | if (STRINGP (tem)) |
| 4935 | { | 4935 | { |
| 4936 | if (0 > e_write (desc, tem, 0, XSTRING (tem)->size, coding)); | 4936 | if (0 > e_write (desc, tem, 0, XSTRING (tem)->size, coding)) |
| 4937 | return -1; | 4937 | return -1; |
| 4938 | } | 4938 | } |
| 4939 | *annot = Fcdr (*annot); | 4939 | *annot = Fcdr (*annot); |
| @@ -5020,7 +5020,7 @@ e_write (desc, string, start, end, coding) | |||
| 5020 | if (coding->cmp_data) | 5020 | if (coding->cmp_data) |
| 5021 | coding_adjust_composition_offset (coding, start); | 5021 | coding_adjust_composition_offset (coding, start); |
| 5022 | } | 5022 | } |
| 5023 | return 0; | 5023 | return return_val; |
| 5024 | } | 5024 | } |
| 5025 | 5025 | ||
| 5026 | DEFUN ("verify-visited-file-modtime", Fverify_visited_file_modtime, | 5026 | DEFUN ("verify-visited-file-modtime", Fverify_visited_file_modtime, |