diff options
| author | Paul Eggert | 2014-04-16 12:43:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-04-16 12:43:46 -0700 |
| commit | 290d7ac277986bd118e594a8100b3f40e4492cb1 (patch) | |
| tree | d63a3aa61cac577dd119665edaffe2def8d194e2 /lib-src | |
| parent | 37eccff4f72c5a36dcd4b89d417b0047aab84e50 (diff) | |
| parent | b262bde327db2cd9b2f01f2d3ed946d0b188cb9d (diff) | |
| download | emacs-290d7ac277986bd118e594a8100b3f40e4492cb1.tar.gz emacs-290d7ac277986bd118e594a8100b3f40e4492cb1.zip | |
Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.ca
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/update-game-score.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 85c4b90d9fc..0acdeecff8f 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-04-16 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * update-game-score.c (write_scores): Condition fchmod call on | ||
| 4 | DOS_NT, not WINDOWSNT. | ||
| 5 | |||
| 1 | 2014-03-22 Glenn Morris <rgm@gnu.org> | 6 | 2014-03-22 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (etags_deps, etags_args): New, to reduce duplication. | 8 | * Makefile.in (etags_deps, etags_args): New, to reduce duplication. |
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index ad591cca87a..cb6fdf73590 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c | |||
| @@ -443,7 +443,7 @@ write_scores (const char *filename, const struct score_entry *scores, | |||
| 443 | fd = mkostemp (tempfile, 0); | 443 | fd = mkostemp (tempfile, 0); |
| 444 | if (fd < 0) | 444 | if (fd < 0) |
| 445 | return -1; | 445 | return -1; |
| 446 | #ifndef WINDOWSNT | 446 | #ifndef DOS_NT |
| 447 | if (fchmod (fd, 0644) != 0) | 447 | if (fchmod (fd, 0644) != 0) |
| 448 | return -1; | 448 | return -1; |
| 449 | #endif | 449 | #endif |
| @@ -459,7 +459,7 @@ write_scores (const char *filename, const struct score_entry *scores, | |||
| 459 | return -1; | 459 | return -1; |
| 460 | if (rename (tempfile, filename) != 0) | 460 | if (rename (tempfile, filename) != 0) |
| 461 | return -1; | 461 | return -1; |
| 462 | #ifdef WINDOWSNT | 462 | #ifdef DOS_NT |
| 463 | if (chmod (filename, 0644) < 0) | 463 | if (chmod (filename, 0644) < 0) |
| 464 | return -1; | 464 | return -1; |
| 465 | #endif | 465 | #endif |