aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/update-game-score.c4
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 @@
12014-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
12014-03-22 Glenn Morris <rgm@gnu.org> 62014-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