X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/38b787fa727fd98c3d61b9677a30e17d291d490c..d350e350eaf4872d123e0ab873c4a095099013c9:/lib-src/ChangeLog diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index e1025fc5f6..53d66ba1e3 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,77 @@ +2013-08-10 Eli Zaretskii + + * update-game-score.exe.manifest: New file. + + * Makefile.in (UPDATE_MANIFEST): New variable. + (SCRIPTS): Add $(UPDATE_MANIFEST). + +2013-08-05 Stefan Monnier + + * makefile.w32-in (lisp2): Add nadvice.elc. + +2013-08-05 Eli Zaretskii + + * update-game-score.c (read_score): Try reading a character before + probing the stream for EOF. Initialize score->score to zero, + before reading and accumulating the score. + (read_scores): Fix logic that determines which value to return. + Close the input stream when finished reading the scores (avoids + failures in overwriting the file with a new one on MS-Windows, + since a file that is open cannot be deleted). + + * ntlib.h (rename): Don't undefine. + + * ntlib.c (sys_rename): New function, needed for + update-game-score. + +2013-08-04 Eli Zaretskii + + * ntlib.h: Include fcntl.h. + (mkostemp): Declare prototype. + (mktemp): Don't redefine. + + * ntlib.c (mkostemp): New function. (Bug#15015) + +2013-08-04 Paul Eggert + + Fix some minor races in hosts lacking mkostemp (Bug#15015). + * movemail.c (main): + * update-game-score.c (write_scores): + Use mkostemp (which now works on all platforms, due to changes + in the portability layer) rather than mktemp (which has a race) + or mkstemp (which we no longer bother with). + +2013-07-10 Paul Eggert + + Port to C89. + * ebrowse.c (USAGE): Remove macro with too-long string literal ... + (usage_message): ... and replace it with this new static constant + containing multiple literals. All uses changed. + * emacsclient.c (print_help_and_exit): + Rewrite to avoid string literals longer than the C89 limits. + (start_daemon_and_retry_set_socket): + Rewrite to avoid non-constant array initializer. + * make-docfile.c (enum global_type): Omit trailing comma. + +2013-07-02 Paul Eggert + + Prefer plain 'static' to 'static inline' (Bug#12541). + I missed these instances of 'static inline' in an earlier sweep. + * ebrowse.c (putstr): + * etags.c (hash): + * make-docfile.c (put_char): No longer inline. + * etags.c (hash): Prefer int to unsigned when either will do. + +2013-06-21 Paul Eggert + + Use C99-style flexible array members if available. + * ebrowse.c: Include , for offsetof. + (struct member, struct alias, struct sym): + Use FLEXIBLE_ARRAY_MEMBER. + (add_sym, add_member, make_namespace, register_namespace_alias): + Use offsetof (struct, flex_array_member), not sizeof (struct), as + that ports better to pre-C99 non-GCC. + 2013-05-29 Eli Zaretskii * Makefile.in (mostlyclean): Remove *.res files. @@ -717,7 +791,7 @@ to avoid potential buffer overflow issues on typical 64-bit hosts. (whatlen_max): New static var. (main): Avoid buffer overflow if subsidiary command length is - greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its + greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its result might not fit in 'int'. * movemail.c (main): Do not use sprintf when its result might not fit @@ -6115,7 +6189,7 @@ 1995-06-13 Geoff Voelker - * etags.c (process_file,absolute_filename): Handle filenames + * etags.c (process_file, absolute_filename): Handle filenames starting with a drive letter. * makefile.nt (install): Copy wakeup.exe properly. @@ -6142,12 +6216,12 @@ 1995-05-25 Geoff Voelker * makefile.nt (LIBS): Use BASE_LIBS. - (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend + (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend upon LIBS. (DOC): Use del instead of rm. (DOC) [WINDOWS95]: Use DOC. (clean): Handle MSVC aux files. - (config.h,paths.h): Use $(CP) instead of cp. + (config.h, paths.h): Use $(CP) instead of cp. (config.h): Use $(CONFIG_H) (make-docfile.obj): Depend upon config.h. Clean up comments. @@ -8408,7 +8482,7 @@ 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu) - * env.c: Add decl for my-index + * env.c: Add decl for my-index. * etags.c (file-entries): .oak => scheme. 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)