aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorBill Wohler2014-02-23 18:04:35 -0800
committerBill Wohler2014-02-23 18:04:35 -0800
commit3e93bafb95608467e438ba7f725fd1f020669f8c (patch)
treef2f90109f283e06a18caea3cb2a2623abcfb3a92 /lib-src/ChangeLog
parent791c0d7634e44bb92ca85af605be84ff2ae08963 (diff)
parente918e27fdf331e89268fc2c9d7cf838d3ecf7aa7 (diff)
downloademacs-3e93bafb95608467e438ba7f725fd1f020669f8c.tar.gz
emacs-3e93bafb95608467e438ba7f725fd1f020669f8c.zip
Merge from trunk; up to 2014-02-23T23:41:17Z!lekktu@gmail.com.
Diffstat (limited to 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog899
1 files changed, 299 insertions, 600 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 81876d86165..fcdde8003bc 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,281 @@
12014-01-22 Eli Zaretskii <eliz@gnu.org>
2
3 * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
4 instead of fchmod.
5
62014-01-22 Paul Eggert <eggert@cs.ucla.edu>
7
8 Fix miscellaneous update-game-score bugs.
9 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
10 (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
11 as that leads to undefined behavior, which is a bad thing
12 particularly in a setuid program.
13 (read_scores, write_scores): Check for fclose failure; on some
14 systems, I/O errors are not reported by primitives like getc and
15 putc, but instead are delayed until fclose, so fclose failures
16 should be diagnosed like other read and write errors.
17 (write_scores): Use fchmod, not chmod, to avoid a race.
18 Otherwise, if the lock is broken by some other process,
19 update-game-score might try to change the permission on someone
20 else's file or on a nonexistent file, and incorrectly report an
21 error when this fails.
22 (lock_file): Fix test for out-of-date lock file; it was reversed.
23 That is, it incorrectly broke locks when they were more than an
24 hour into the future, instead of when they were more than an hour
25 in the past. Use ordinary subtraction rather than difftime; since
26 we're already assuming POSIX we don't need to worry about the
27 possibility of time_t being a magic cookie, and since timestamps
28 are positive we don't need to worry about integer overflow when
29 subtracting them. Put two spaces, not just one, after a sentence
30 end in a comment.
31
322014-01-19 Paul Eggert <eggert@cs.ucla.edu>
33
34 update-game-score fixes for -m and integer overflow (Bug#16428)
35 * update-game-score.c: Include inttypes.h, stdbool.h.
36 (min): New macro, if not already defined.
37 (MAX_SCORES, main): Limit the maximum number of scores only from
38 limits imposed by the underyling platform, instead of the
39 arbitrary value 200.
40 (struct score_entry, main, read_score, write_score):
41 Scores are now intmax_t, not long.
42 (get_user_id): Reject user names containing spaces or newlines,
43 as they would mess up the score file.
44 Allow uids that don't fit in 'long'.
45 Increase the size of the buffer, to avoid overrun in weird cases.
46 (get_prefix, main): Use bool for boolean.
47 (main): Rewrite expr to avoid possibility of signed integer
48 overflow. Don't allow newlines in data, as this would mess up
49 the score file. Check for memory allocation failure when adding
50 the new score, or when unlockint the file. Implement -m.
51 (read_score): Check for integer overflow when reading a score.
52 (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
53 data gets very long. Check only for space to delimit names,
54 since that's what's done in the HAVE_GETDELIM case.
55 (read_scores): New parameter ALLOC. Change counts to ptrdiff_t.
56 All uses changed. Use push_score to add individual scores;
57 that's simpler than repeating its contents.
58 (score_compare_reverse): Simplify.
59 (push_score): New parameter SIZE. Change counts to ptrdiff_t.
60 All uses changed. Check for integer overflow of size calculation.
61 (sort_scores, write_scores): Change counts to ptrdiff_t.
62 (unlock_file): Preserve errno on success, so that storage
63 exhaustion is diagnosed correctly.
64
652014-01-05 Paul Eggert <eggert@cs.ucla.edu>
66
67 Spelling fixes.
68 * Makefile.in (regex.o): Remove reference to no-longer-used macros
69 CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a
70 misspelling anyway....
71
722013-12-14 Paul Eggert <eggert@cs.ucla.edu>
73
74 Use bool for boolean, focusing on headers.
75 * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
76 Remove. All uses replaced with uncapitalized version.
77 * emacsclient.c (message):
78 * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
79 * hexl.c (un_flag, iso_flag, endian):
80 * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
81 (pop_trash):
82 Use bool for boolean.
83 * etags.c (bool): Remove.
84 * etags.c (globals, members, declarations, no_line_directive)
85 (no_duplicates): Use 'int' for boolean values that getopt requires
86 to be 'int'. Formerly, these were 'bool' and 'bool' was 'int',
87 but we can no longer rely on this implementation.
88 * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
89
902013-11-14 Paul Eggert <eggert@cs.ucla.edu>
91
92 * ebrowse.c (xstrdup):
93 * etags.c (savenstr): Prefer tail calls.
94 * etags.c (concat): Omit unnecessary assignment.
95
962013-10-24 Glenn Morris <rgm@gnu.org>
97
98 * Makefile.in ($(DESTDIR)${archlibdir}):
99 Avoid non-portable "`\" nesting.
100
101 * Makefile.in (abs_top_srcdir): New, set by configure.
102
1032013-10-23 Glenn Morris <rgm@gnu.org>
104
105 * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
106 (uninstall): Quote entities that might contain whitespace.
107
1082013-10-10 Glenn Morris <rgm@gnu.org>
109
110 * make-docfile.c (search_lisp_doc_at_eol):
111 Use int rather than char with getc. (Bug#15481)
112
1132013-09-20 Paul Eggert <eggert@cs.ucla.edu>
114
115 A simpler, centralized INLINE.
116 * profile.c (INLINE): New macro.
117 (SYSTIME_INLINE): Remove.
118
1192013-08-28 Paul Eggert <eggert@cs.ucla.edu>
120
121 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
122 for portability to hosts where /bin/sh has problems.
123
1242013-08-10 Eli Zaretskii <eliz@gnu.org>
125
126 * update-game-score.exe.manifest: New file.
127
128 * Makefile.in (UPDATE_MANIFEST): New variable.
129 (SCRIPTS): Add $(UPDATE_MANIFEST).
130
1312013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * makefile.w32-in (lisp2): Add nadvice.elc.
134
1352013-08-05 Eli Zaretskii <eliz@gnu.org>
136
137 * update-game-score.c (read_score): Try reading a character before
138 probing the stream for EOF. Initialize score->score to zero,
139 before reading and accumulating the score.
140 (read_scores): Fix logic that determines which value to return.
141 Close the input stream when finished reading the scores (avoids
142 failures in overwriting the file with a new one on MS-Windows,
143 since a file that is open cannot be deleted).
144
145 * ntlib.h (rename): Don't undefine.
146
147 * ntlib.c (sys_rename): New function, needed for
148 update-game-score.
149
1502013-08-04 Eli Zaretskii <eliz@gnu.org>
151
152 * ntlib.h: Include fcntl.h.
153 (mkostemp): Declare prototype.
154 (mktemp): Don't redefine.
155
156 * ntlib.c (mkostemp): New function. (Bug#15015)
157
1582013-08-04 Paul Eggert <eggert@cs.ucla.edu>
159
160 Fix some minor races in hosts lacking mkostemp (Bug#15015).
161 * movemail.c (main):
162 * update-game-score.c (write_scores):
163 Use mkostemp (which now works on all platforms, due to changes
164 in the portability layer) rather than mktemp (which has a race)
165 or mkstemp (which we no longer bother with).
166
1672013-07-10 Paul Eggert <eggert@cs.ucla.edu>
168
169 Port to C89.
170 * ebrowse.c (USAGE): Remove macro with too-long string literal ...
171 (usage_message): ... and replace it with this new static constant
172 containing multiple literals. All uses changed.
173 * emacsclient.c (print_help_and_exit):
174 Rewrite to avoid string literals longer than the C89 limits.
175 (start_daemon_and_retry_set_socket):
176 Rewrite to avoid non-constant array initializer.
177 * make-docfile.c (enum global_type): Omit trailing comma.
178
1792013-07-02 Paul Eggert <eggert@cs.ucla.edu>
180
181 Prefer plain 'static' to 'static inline' (Bug#12541).
182 I missed these instances of 'static inline' in an earlier sweep.
183 * ebrowse.c (putstr):
184 * etags.c (hash):
185 * make-docfile.c (put_char): No longer inline.
186 * etags.c (hash): Prefer int to unsigned when either will do.
187
1882013-06-21 Paul Eggert <eggert@cs.ucla.edu>
189
190 Use C99-style flexible array members if available.
191 * ebrowse.c: Include <stddef.h>, for offsetof.
192 (struct member, struct alias, struct sym):
193 Use FLEXIBLE_ARRAY_MEMBER.
194 (add_sym, add_member, make_namespace, register_namespace_alias):
195 Use offsetof (struct, flex_array_member), not sizeof (struct), as
196 that ports better to pre-C99 non-GCC.
197
1982013-05-29 Eli Zaretskii <eliz@gnu.org>
199
200 * Makefile.in (mostlyclean): Remove *.res files.
201
2022013-05-18 Paul Eggert <eggert@cs.ucla.edu>
203
204 Port --enable-gcc-warnings to clang.
205 * etags.c: Omit unnecessary forward decls.
206 (print_version, print_help): Declare _Noreturn.
207 * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
208
2092013-05-16 Eli Zaretskii <eliz@gnu.org>
210
211 * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
212
213 * ntlib.h (sleep): Update prototype.
214 (geteuid): Add prototype.
215
216 * ntlib.c (sleep): Now returns an unsigned value.
217 (getgid): New function.
218
219 * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
220 (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
221 (INSTALLABLES): Add $(CLIENTW).
222 (LIBS_MOVE): Use $(LIB_WSOCK32).
223 ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
224 (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
225 (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
226 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
227 (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
228 Add $(NTLIB) to prerequisites. Use $(EXEEXT).
229 (pop.o): Add pop.h to prerequisites.
230 (emacsclientw${EXEEXT}, ntlib.o): New targets.
231 (emacsclient.res): New target.
232
2332013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
236
2372013-05-06 Paul Eggert <eggert@cs.ucla.edu>
238
239 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
240 by removing references to no-longer-existing locals.
241
2422013-03-26 Eli Zaretskii <eliz@gnu.org>
243
244 Fix incompatibilities between MinGW.org and MinGW64 headers.
245 * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
246 struct only if _TIMEZONE_DEFINED is not defined.
247
2482013-03-23 cg <chengang31@gmail.com> (tiny change)
249
250 * makefile.w32-in (LIB_SRC): Move before first use.
251
2522013-03-16 Paul Eggert <eggert@cs.ucla.edu>
253
254 * pop.c: Fix ERRMAX typo (Bug#13925).
255 (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
256 Use ERROR_MAX, not ERRMAX.
257
2582013-03-13 Paul Eggert <eggert@cs.ucla.edu>
259
260 File synchronization fixes (Bug#13944).
261 * Makefile.in (LIB_FDATASYNC): New macro.
262 (emacsclient${EXEEXT}): Use it.
263 * emacsclient.c (main): Use fdatasync, not fsync, since we don't
264 care about metadata. Keep trying if interrupted.
265 * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
266 fsync is available everywhere (or there is a substitute).
267 Don't report an error if fsync returns EINVAL.
268
269 Static checking by Sun C 5.12.
270 * etags.c (analyse_regex): Omit unreachable code.
271
272 * movemail.c (main): Call umask on all systems.
273 This is OK since Emacs already assumes umask elsewhere.
274 Don't grant more read permissions than necessary.
275 The old 0333 dates back to before we called setuid,
276 so it was needed back then to ensure user-readability,
277 but 0377 should suffice now.
278
12013-02-08 Paul Eggert <eggert@cs.ucla.edu> 2792013-02-08 Paul Eggert <eggert@cs.ucla.edu>
2 280
3 * movemail.c (getenv): Remove decl (unused since 1994). 281 * movemail.c (getenv): Remove decl (unused since 1994).
@@ -478,7 +756,7 @@
478 756
4792012-05-05 Jim Meyering <meyering@redhat.com> 7572012-05-05 Jim Meyering <meyering@redhat.com>
480 758
481 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last): 759 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
482 NUL-terminate the error buffer (Bug#11372). 760 NUL-terminate the error buffer (Bug#11372).
483 761
4842012-05-02 Juanma Barranquero <lekktu@gmail.com> 7622012-05-02 Juanma Barranquero <lekktu@gmail.com>
@@ -636,7 +914,7 @@
636 to avoid potential buffer overflow issues on typical 64-bit hosts. 914 to avoid potential buffer overflow issues on typical 64-bit hosts.
637 (whatlen_max): New static var. 915 (whatlen_max): New static var.
638 (main): Avoid buffer overflow if subsidiary command length is 916 (main): Avoid buffer overflow if subsidiary command length is
639 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its 917 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
640 result might not fit in 'int'. 918 result might not fit in 'int'.
641 919
642 * movemail.c (main): Do not use sprintf when its result might not fit 920 * movemail.c (main): Do not use sprintf when its result might not fit
@@ -987,7 +1265,7 @@
987 1265
9882011-01-30 Jim Meyering <meyering@redhat.com> 12662011-01-30 Jim Meyering <meyering@redhat.com>
989 1267
990 make-docfile: don't corrupt heap for an invalid .elc file 1268 * make-docfile.c: Don't corrupt heap for an invalid .elc file
991 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0 1269 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
992 one byte before just-malloc'd saved_string buffer. 1270 one byte before just-malloc'd saved_string buffer.
993 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic 1271 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
@@ -3687,7 +3965,7 @@
3687 3965
36882002-03-05 Francesco Potortì <pot@gnu.org> 39662002-03-05 Francesco Potortì <pot@gnu.org>
3689 3967
3690 * etags.c: Honour #line directives. 3968 * etags.c: Honor #line directives.
3691 (no_line_directive): New global var; set it for old behavior. 3969 (no_line_directive): New global var; set it for old behavior.
3692 (main): Remove some #ifdef in the getopt switch. 3970 (main): Remove some #ifdef in the getopt switch.
3693 (add_node, put_entries): Code added to merge different chunks of 3971 (add_node, put_entries): Code added to merge different chunks of
@@ -4795,7 +5073,7 @@
47951999-06-23 Dave Love <fx@gnu.org> 50731999-06-23 Dave Love <fx@gnu.org>
4796 5074
4797 * etags.c (erlang_attribute): Fix undefined variable usage (after 5075 * etags.c (erlang_attribute): Fix undefined variable usage (after
4798 Potorti). 5076 Potortì).
4799 5077
48001999-05-02 Andrew Innes <andrewi@gnu.org> 50781999-05-02 Andrew Innes <andrewi@gnu.org>
4801 5079
@@ -5161,7 +5439,7 @@
5161 (longopts): New long options without short counterpart are 5439 (longopts): New long options without short counterpart are
5162 globals, members, no-globals, no-members. Regexp options are now 5440 globals, members, no-globals, no-members. Regexp options are now
5163 defined conditionally to ETAGS_REGEXPS. 5441 defined conditionally to ETAGS_REGEXPS.
5164 (print_help): Updated. 5442 (print_help): Update.
5165 5443
51661997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it> 54441997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5167 5445
@@ -6034,7 +6312,7 @@
6034 6312
60351995-06-13 Geoff Voelker <voelker@cs.washington.edu> 63131995-06-13 Geoff Voelker <voelker@cs.washington.edu>
6036 6314
6037 * etags.c (process_file,absolute_filename): Handle filenames 6315 * etags.c (process_file, absolute_filename): Handle filenames
6038 starting with a drive letter. 6316 starting with a drive letter.
6039 6317
6040 * makefile.nt (install): Copy wakeup.exe properly. 6318 * makefile.nt (install): Copy wakeup.exe properly.
@@ -6061,12 +6339,12 @@
60611995-05-25 Geoff Voelker <voelker@cs.washington.edu> 63391995-05-25 Geoff Voelker <voelker@cs.washington.edu>
6062 6340
6063 * makefile.nt (LIBS): Use BASE_LIBS. 6341 * makefile.nt (LIBS): Use BASE_LIBS.
6064 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend 6342 (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
6065 upon LIBS. 6343 upon LIBS.
6066 (DOC): Use del instead of rm. 6344 (DOC): Use del instead of rm.
6067 (DOC) [WINDOWS95]: Use DOC. 6345 (DOC) [WINDOWS95]: Use DOC.
6068 (clean): Handle MSVC aux files. 6346 (clean): Handle MSVC aux files.
6069 (config.h,paths.h): Use $(CP) instead of cp. 6347 (config.h, paths.h): Use $(CP) instead of cp.
6070 (config.h): Use $(CONFIG_H) 6348 (config.h): Use $(CONFIG_H)
6071 (make-docfile.obj): Depend upon config.h. 6349 (make-docfile.obj): Depend upon config.h.
6072 Clean up comments. 6350 Clean up comments.
@@ -7889,14 +8167,6 @@
7889 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the 8167 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7890 type of this function. 8168 type of this function.
7891 8169
78921992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7893
7894 * ChangeLog: Since the old etc contents have been split into etc
7895 and lib-src, the old etc's ChangeLog has been duplicated in the
7896 new etc and lib-src. That means that each contains complete and
7897 coherent information, although each contains extraneous
7898 information.
7899
79001992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) 81701992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7901 8171
7902 * etags.c: "--no-warning" option renamed to "--no-warn", 8172 * etags.c: "--no-warning" option renamed to "--no-warn",
@@ -7905,595 +8175,24 @@
7905 * Makefile: Renamed to Makefile.in; the configure script 8175 * Makefile: Renamed to Makefile.in; the configure script
7906 will edit this to produce Makefile. 8176 will edit this to produce Makefile.
7907 8177
79081992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) 81781992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7909
7910 * etags.c (print_help, print_version): New functions.
7911 (main): Options added to support them.
7912
7913 * etags.c (longopts): New array of long names for the options.
7914 (main): Recognize them.
7915
79161992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7917
7918 * etags.c (C_entries): Remove comment saying that \" in a string
7919 isn't recognized as magic, because it is correctly handled.
7920
7921 * getopt.c, getopt.h: New files, from GNU C library.
7922 * etags.c: Rewritten to use getopt.
7923 #include "getopt.h".
7924 (file_num): Variable deleted; its role is now played by getopt's
7925 optind.
7926 (main): Argument processing loop rewritten to call getopt to get
7927 next option. Options which take parameters (-o and -i) rewritten
7928 to get parameter from optarg instead of argv[1].
7929 Filename preprocessing loop and update command changed similarly.
7930 * Makefile (etags, ctags): Depend on and link with getopt.h,
7931 getopt.o, and getopt1.o.
7932 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7933
7934 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7935 is non-zero.
7936
7937 (main): In the argument processing loop, the 'goto next_arg'
7938 statements are breaking out of the switch statement in exactly the
7939 same way that a simple 'break' statement would; replace the gotos
7940 with breaks, and remove the label.
7941
79421992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7943
7944 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7945 (consider_token): Move next_token_is_func to global.
7946
79471992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7948
7949 * Makefile: Conform with GNU coding standards:
7950 (mostlyclean): New target, synonymous with clean.
7951 (TAGS, check): New targets.
7952 (INSTALL, INSTALLFLAGS): New variables.
7953
79541992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7955
7956 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
7957 `config.emacs' to `configure'.
7958
7959 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7960 * etc/MACHINES: Same.
7961
79621992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7963
7964 * movemail.c (main): Allow tempname to be as long as necessary,
7965 instead of limiting it to 39 characters.
7966
7967 * movemail.c (main): Move declaration of buf from top of function
7968 to local block surrounding the copy loop. This makes it less
7969 likely to be confused with the buf used by the code which checks the
7970 permissions on outname's directory.
7971
79721992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7973
7974 * SERVICE: Remove my entry.
7975
79761992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7977
7978 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7979 hardcoded -g.
7980
7981 * movemail.c (xmalloc): Return char *, not int.
7982 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7983 that is off by default -- normally don't unlink the mail spool
7984 file, just empty it. Pass creat mode 0600, not 0666.
7985
79861992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7987
7988 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7989 (all): Instead of here.
7990 (install): Don't use the -s option, since people need symbols to
7991 debug code.
7992
79931992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
7994
7995 * etags-vmslib.c (fn_exp): Add type cast.
7996
79971992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7998
7999 * movemail.c: Changes in comments.
8000
80011992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8002
8003 * Makefile: Make the distclean target erase the DOC files from
8004 ../share-lib and the executables from ../arch-lib.
8005
80061992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8007
8008 * emacsclient.c: #include <sys/stat.h>
8009 (main): Do declare statbfr.
8010
80111991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8012
8013 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
8014 for the socket, depending on SERVER_HOME_DIR.
8015 If using /tmp, put host name in the socket name.
8016
8017 * movemail.c (pfatal_and_delete): New function.
8018 (main, popmail): Use it.
8019 (popmail): Close output before deleting messages.
8020 Check for error on close and on fsync.
8021 Use `fatal' where appropriate.
8022 (main): Remove (void).
8023
8024 * aixcc.lex: New file. Not officially part of Emacs.
8025 * Makefile: Rules for that.
8026
80271991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8028
8029 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
8030
8031 * etags.c (main): Properly cast call to alloca that initializes
8032 included_files.
8033
80341991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8035
8036 * etags.c (files_are_tag_tables): Remove global var.
8037 (process_file): Don't test it. Also remove hack checking for a
8038 file named "TAGS".
8039 (main): -i now takes an arg which is the name of a file to include.
8040 Collect these names and emit include tags for them after processing
8041 all the argument files.
8042
80431991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8044
8045 * wakeup.c: Terminate if parent goes away.
8046
80471991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8048
8049 * etags.c (C_entries): Process token before handling end of line.
8050 When inner loops reach end of line, just back up.
8051 Let the real end of line processing happen in just one place.
8052 (consider_token): Likewise.
8053
80541991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8055
8056 * etags.c (TEX_mode): Skip comments while scanning the text to see
8057 which escape character this file uses.
8058
80591991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8060
8061 * emacsserver.c [USG]: Terminate if msgrcv fails.
8062
80631991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
8064
8065 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
8066
80671991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
8068
8069 * make-docfile: Find the arguments to a C function correctly,
8070 by not ignoring the character that read_c_string returns.
8071 Don't even try to find argument names for functions that take MANY
8072 or UNEVALLED arguments, since they're a figment of the docstring's
8073 imagination.
8074
80751991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
8076
8077 * make-docfile: Read the .elc files generated by the new byte
8078 compiler.
8079
80801990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
8081
8082 * refcard.tex: Use cm fonts, not am, in multi-column mode.
8083
80841990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
8085
8086 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
8087
80881990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
8089
8090 * Makefile (install*): No need to install wakeup.
8091
80921990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
8093
8094 * Makefile (install*): Install emacsclient like etags.
8095
80961990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
8097
8098 * movemail.c (error): Handle 3 args.
8099 (main): Don't check input access if using pop.
8100
81011990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
8102
8103 * etags.c (find_entries): Check for numbers after Scheme suffix.
8104
81051990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
8106
8107 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
8108
81091990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
8110
8111 * Makefile (nemacstool, xvetool): New targets.
8112
81131990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
8114
8115 * emacsclient.c: Include errno.h and define related variables.
8116
81171990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
8118
8119 * emacsclient.c: Change usage message.
8120
81211990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
8122
8123 * emacs.1: Add break before -nw option.
8124
81251990-08-19 David J. MacKenzie (djm@apple-gunkies)
8126
8127 * qsort.c: Replace with GNU version.
8128
81291990-08-14 David J. MacKenzie (djm@apple-gunkies)
8130
8131 * wakeup.c: New program replacing loadst.c.
8132
81331990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8134
8135 * emacsclient.c [USG]: Pass msgsnd only 4 args.
8136
81371990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
8138
8139 * etags.c: Rename `flag' variables for what they do instead of
8140 which option character sets them.
8141
81421990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8143
8144 * loadst.c (main): Conditional to get load average on Apollo.
8145
81461990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
8147
8148 * emacsserver.c: Set the permission on the socket to 0600.
8149
81501990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8151
8152 * emacsclient.c [BSD]: Print clean message for failing getwd.
8153
81541990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
8155
8156 * getdate.y: Use the getdate.y from GNU tar for timer.
8157
81581990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
8159
8160 * emacsclient.c (main): Don't put brackets around "filename" in
8161 usage message. It isn't optional.
8162
81631990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
8164
8165 * etags.c (getit): Recognize '$' as beginning identifiers.
8166
81671990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
8168
8169 * emacsserver.c: Renamed from server.c.
8170 * Makefile: Reference emacsserver rather than server.
8171 * MACHINES: Doc fix for new emacsserver name.
8172
81731990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8174
8175 * emacsclient.c: Print program name in error messages.
8176
81771990-01-19 David Lawrence (tale@cocoa-puffs)
8178
8179 * timer.c, getdate.y (new files) and Makefile:
8180 Sub-process support for run-at-time in timer.el.
8181 Doesn't yet work correctly for USG.
8182
81831990-01-10 Jim Kingdon (kingdon@pogo)
8184
8185 * MACHINES: Add HP 300 running BSD.
8186
81871990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8188
8189 * yow.c: Dynamically allocate buffer; skip header before random
8190 choice to avoid bias toward first item.
8191
81921989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8193
8194 * etags.c (readline): Separate out init of `pend'.
8195
81961989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8197
8198 * etags.c: Undo changes relating to isgoodhdr.
8199
82001989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
8201
8202 * etags.c (isgoodhdr): New macro.
8203 (_gdh, notgdh): New variable used by that.
8204 (init): Initialize _gdh.
8205 (find_entries): Set header_file.
8206 (consider_token): Use isgoodhdr if in header file.
8207
8208 * etags.c (total_size_of_entries):
8209 Was miscalculating by 1 in rewritten case.
8210
8211 * etags.c (PAS_funcs): One arg to pfnote was missing.
8212
82131989-12-05 Joseph Arceneaux (jla@spiff)
8214
8215 * MACHINES: Change for the ULTRIX entry.
8216
82171989-11-21 Joseph Arceneaux (jla@spiff)
8218
8219 * etags.c (process_file): If file is not regular, return.
8220
82211989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8222
8223 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
8224
82251989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8226
8227 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
8228 (main): If HAVE_GETLOADAVG, don't call `nlist'.
8229
82301989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8231
8232 * etags.c (consider_token): Allow any number of typespec keywords
8233 after `typedef', before new type name.
8234 (enum sym_type): Add st_C_typespec.
8235 (C_create_stab): Put typespec kwds in table.
8236
82371989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8238
8239 * etags.c (main): Don't depend on name invoked by.
8240 If CTAGS is not defined, assume it is ETAGS.
8241
82421989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8243
8244 * etags.c (L_funcs): Allow package name in define construct,
8245 as in (foo::defmumble name-defined ...).
8246
82471989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8248
8249 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
8250
8251 * Makefile (yow): Depends on ../src/paths.h.
8252
82531989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8254
8255 * etags.c: Fix compilation by moving Pascal after Fortran.
8256
82571989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8258
8259 * movemail.c [USG]: Define F_OK, etc., if not found in header.
8260
82611989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8262
8263 * hexl.c: New file, supports hexl-mode.
8264
82651989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8266
8267 * movemail.c: New compilation flag MAIL_USE_MMDF.
8268
82691989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8270
8271 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
8272 * server.c: Likewise.
8273
8274 * make-docfile.c (scan_c_file): Output argument names at end of string.
8275 (write_c_args): New subroutine.
8276
82771989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8278
8279 * movemail.c: Report failure of flock.
8280
82811989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8282
8283 * etags.c (find_entries): Allow multi-letter extensions for fortran.
8284
82851989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8286
8287 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
8288
82891989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
8290
8291 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
8292
8293 * emacstool.1: Update to document environment variables.
8294
82951989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8296
8297 * etags.c (PAS_funcs): New function by Mosur Mohan.
8298
8299 * movemail.c: On sysv, include unistd.h.
8300
83011989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8302
8303 * b2m.c: New file.
8304
83051989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8306
8307 * etags.c: Prolog support from Sunichirou Sugou.
8308
83091989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8310
8311 * Makefile (clean): New target.
8312
83131989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8314
8315 * fakemail.c (put_line): Break header lines at 79 cols.
8316
83171989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8318
8319 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
8320 multiple tags per line.
8321
83221989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8323
8324 * movemail.c: Check access before doing real work.
8325 Check that outfile is in a writable directory.
8326 On fatal error, delete the lock file.
8327
83281988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
8329
8330 * env.c: Add decl for my-index
8331 * etags.c (file-entries): .oak => scheme.
8332
83331988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8334
8335 * movemail.c: Use `access' to check input and output files.
8336
83371988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8338
8339 * emacsclient.c (main): Ignore all of CWD before first slash.
8340
83411988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8342
8343 * etags.c (readline): Double linebuffer->size outside the xrealloc.
8344
83451988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8346
8347 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
8348 * server.c: chmod the socket to 0700.
8349
83501988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8351
8352 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
8353 (add_field): Delete comments and turn `<', `>' to spaces
8354 in header lines.
8355 (USE_FAKEMAIL): New customization macro says to make fakemail
8356 not be a no-op even on a BSD system.
8357
83581988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8359
8360 * etags.c (consider_token): Skip comments just like whitespace.
8361 Notice `struct', etc. and set strtag for those tokens.
8362 Return 1 for the token following `struct' if an open-brace follows it.
8363 (C_entries): Special handling of token following `struct'
8364 needed because we have probably advanced to the following line
8365 to find the `{'.
8366 (main): New option `T' sets tflag and strflag.
8367 Set both of them by default if eflags.
8368
83691988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8370
8371 * movemail.c: Do fsync before closing output.
8372
83731988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
8374
8375 * movemail.c: Better error message when can't create tempname.
8376 This file needs a great deal of extra error-checking and lucid reporting...
8377
83781988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8379
8380 * etags.c: Support assembler code for .s and .a files.
8381 (getit): Allow underscore in a tag.
8382
83831988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8384
8385 * movemail.c: Close output and check errors before deleting input.
8386
83871988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8388
8389 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
8390 whether to prefix it. Handle line number args.
8391
83921988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
8393
8394 * etags.c (main): Default setting of eflag was backwards.
8395
83961988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8397
8398 * etags.c: New option -i. -f renamed -o.
8399 `-' as input file means read input file names from stdin.
8400 -i spec'd or input file named TAGS means the input file is another
8401 tag table; output an "include" line for it.
8402
84031988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8404
8405 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
8406 New targets install, install.sysv, install.xenix.
8407 This makefile is now responsible for installing executables
8408 and documentation from this directory into system directories.
8409
84101988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
8411
8412 * server.c, emacsclient.c (main): Compute socket name from euid.
8413
84141988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8415
8416 * emacsclient.c: Args like +DIGITS are passed through unchanged.
8417
84181988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8419
8420 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
8421 * emacsclient.c: Likewise.
8422 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
8423
84241988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8425
8426 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
8427 (istoken): New string-comparison macro.
8428 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
8429
84301988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8431
8432 * etags.c: Changes for VMS.
8433 Always define ETAGS on VMS.
8434 Define macros GOOD and BAD for success and failure exit codes.
8435 (begtk, intk): Allow `$' in identifiers.
8436 (main): Don't support -B, -F or -u on VMS.
8437 Alternate loop for scanning filename arguments.
8438 (system): Delete definition of this function.
8439
8440 * etags-vmslib.c (system): Undefine this; VMS now provides it.
8441
84421988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8443
8444 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
8445 around include of param.h. (Like fns.c.)
8446
84471988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8448
8449 * loadst.c (load_average): Move load-average code to this new fn.
8450 Add conditionals to compute load ave on UMAX.
8451
84521988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8453
8454 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
8455 with opposite sense.
8456
84571988-05-13 Chris Hanson (cph@kleph)
8458
8459 * emacsclient.c: Delete references to unused variable `out'.
8460 This caused a bus error when used under hp-ux.
8461
84621988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8463
8464 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
8465
84661988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
8467
8468 * etags.c (find_entries): `.t' or `.sch' means scheme code.
8469
84701988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8471
8472 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
8473
84741988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8475
8476 * movemail.c: #undef close, since config can #define it on V.3.
8477 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
8478
84791988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8480
8481 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
8482 invalid escape sequences such as `\{'.
8483
8484 * loadst.c: Add `sequent' conditional for file dk.h.
8485
84861988-03-20 Richard M. Stallman (rms@wilson)
8487
8488 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
8489 8179
8490 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail. 8180 New directory, with files previously in ../etc. [approximate date]
8181 * README: New file.
8182 * Makefile: Copy here from ../etc/Makefile.
8183 * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8184 * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8185 * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8186 * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8187 * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8188 * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8189 Move here from ../etc.
8491 8190
8492;; Local Variables: 8191;; Local Variables:
8493;; coding: utf-8 8192;; coding: utf-8
8494;; End: 8193;; End:
8495 8194
8496 Copyright (C) 1988-1999, 2001-2013 Free Software Foundation, Inc. 8195 Copyright (C) 1988-1999, 2001-2014 Free Software Foundation, Inc.
8497 8196
8498 This file is part of GNU Emacs. 8197 This file is part of GNU Emacs.
8499 8198