aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2011-02-09 19:56:30 -0800
committerPaul Eggert2011-02-09 19:56:30 -0800
commit6ffb2c0ceba3960565f20ba695f64c3e2e2e5aae (patch)
tree0ba724daf342c50bb1c004b5f74e4baee99a8d5b /lib
parent102252aa03f8c1c3e451b95ffe0b8f18c040eb56 (diff)
downloademacs-6ffb2c0ceba3960565f20ba695f64c3e2e2e5aae.tar.gz
emacs-6ffb2c0ceba3960565f20ba695f64c3e2e2e5aae.zip
Undo my previous commit, as per Stefan.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog186
1 files changed, 0 insertions, 186 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
deleted file mode 100644
index e1f2a1ccab2..00000000000
--- a/lib/ChangeLog
+++ /dev/null
@@ -1,186 +0,0 @@
12011-02-09 Paul Eggert <eggert@cs.ucla.edu>
2
3 * Makefile.in, gnulib.mk: Regenerate.
4 This merges the following fix from gnulib:
5
6 2011-02-08 Bruno Haible <bruno@clisp.org>
7
8 Split large sed scripts, for HP-UX sed.
9
102011-02-06 Paul Eggert <eggert@cs.ucla.edu>
11
12 gnulib: allow multiple gnulib generated replacements to coexist
13 This defines a few preprocessor symbols that should not affect Emacs.
14 * getopt.in.h, time.in.h, unistd.in.h: Regenerate
15 via "make sync-from-gnulib".
16
17 gnulib: undo previous change
18 The upstream _HEADERS change was backed out of gnulib (see the
19 same thread). Stay in sync with gnulib.
20
21 gnulib: adjust to upstream _HEADERS change
22 * Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS):
23 New empty macros, to accommodate recent changes to gnulib. See
24 <http://lists.gnu.org/archive/html/bug-gnu2011-02/msg00068.html>.
25 * Makefile.in, ftoastr.h, getopt.in.h:
26 * gnulib.mk, ignore-value.h, stdbool.in.h, stddef.in.h:
27 * time.in.h, unistd.in.h:
28 Regenerate.
29
302011-02-03 Paul Eggert <eggert@cs.ucla.edu>
31
32 allow C code to suppress warnings about ignored return values
33 * Makefile.in, gnulib.mk: Regenerate.
34 * ignore-value.h: New file.
35
362011-01-31 Eli Zaretskii <eliz@gnu.org>
37
38 * makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
39 $(BLD)/time_r.$(O).
40 ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
41 $(EMACS_ROOT)/src/m/intel386.h.
42 ($(BLD)/strftime.$(O)):
43 ($(BLD)/time_r.$(O)): Define prerequisites.
44
452011-01-30 Paul Eggert <eggert@cs.ucla.edu>
46
47 strftime: import from gnulib
48 * Makefile.in, gnulib.mk:
49 Regenerate.
50 * strftime.c, strftime.h, stdbool.in.h: New files,
51 imported from gnulib.
52 This incorporates many changes from gnulib, including simpler
53 handling of multibyte formats, porting to mingw32 and other
54 platforms, and support for higher-resolution time stamps.
55 Emacs does not yet use the higher-resolution interface.
56
572011-01-30 Paul Eggert <eggert@cs.ucla.edu>
58
59 gnulib: import mktime and move-if-change fixes from gnulib
60
61 * configure: Regenerate from the following.
62
63 2011-01-30 Paul Eggert <eggert@cs.ucla.edu>
64
65 mktime: clarify long_int width checking
66 * mktime.c (long_int_is_wide_enough): Move this assertion to
67 the top level, to make it clearer that the assumption about
68 long_int width is being checked. See
69 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>.
70
71 2011-01-29 Paul Eggert <eggert@cs.ucla.edu>
72
73 TYPE_MAXIMUM: avoid theoretically undefined behavior
74 * intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a
75 negative number, which the C Standard says has undefined behavior.
76 In practice this is not a problem, but might as well do it by the book.
77 Reported by Rich Felker and Eric Blake; see
78 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>.
79 * mktime.c (TYPE_MAXIMUM): Redo slightly to match the others.
80
81 mktime: #undef mktime before #defining it
82 * mktime.c (mktime) [DEBUG]: #undef mktime before #defining it.
83
84 mktime: systematically normalize tm_isdst comparisons
85 * mktime.c (isdst_differ): New function.
86 (__mktime_internal): Use it systematically for all isdst comparisons.
87 This completes the fix for libc BZ #6723, and removes the need for
88 normalizing tm_isdst. See
89 <http://sourceware.org/bugzilla/show_bug.cgi?id=6723>
90 (not_equal_tm) [DEBUG]: Use isdst_differ here, too.
91
92 mktime: fix some integer overflow issues and sidestep the rest
93
94 This was prompted by a bug report by Benjamin Lindner for MinGW
95 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00472.html>.
96 His bug is due to signed integer overflow (0 - INT_MIN), and I
97 I scanned through mktime.c looking for other integer overflow
98 problems, fixing all the bugs I found.
99
100 Although the C Standard says the resulting code is still not safe
101 in the presence of integer overflow, in practice it should be good
102 enough for all real-world two's-complement implementations, except
103 for debugging environments that deliberately trap on integer
104 overflow (e.g., gcc -ftrapv).
105
106 * mktime.c (WRAPV): New macro.
107 (SHR): Also check that long_int and time_t shift right in the
108 usual way, before using the fast-but-unportable method.
109 (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove, no longer
110 used. The code already assumed two's complement, so there's
111 no need to test for alternatives. All uses removed.
112 (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by
113 the C standard. Problem reported by Rich Felker in
114 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>.
115 (twos_complement_arithmetic): Also check long_int and time_t.
116 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions.
117 (guess_time_tm, ranged_convert, __mktime_internal): Use them.
118 (__mktime_internal): Avoid integer overflow with unary subtraction
119 in two instances where -1 - X is an adequate replacement for -X,
120 since the calculations are approximate.
121
122 2011-01-28 Paul Eggert <eggert@cs.ucla.edu>
123
124 mktime: avoid problems on NetBSD 5 / i386
125 * mktime.c (long_int): New type. This works around a problem
126 on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits
127 but time_t is 64 bits, and where I expect the existing code is
128 wrong in some cases.
129 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it.
130 (ydhms_diff): Bring back the compile-time check for wide-enough
131 year and yday.
132
133 mktime: fix misspelling in comment
134 * mktime.c (__mktime_internal): Fix misspelling in comment.
135 This merges all recent glibc changes of importance.
136
1372011-01-29 Eli Zaretskii <eliz@gnu.org>
138
139 * makefile.w32-in:
140 * getopt_.h: New files.
141
1422011-01-27 Paul Eggert <eggert@cs.ucla.edu>
143
144 fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
145 * Makefile.in: Regenerate.
146
1472011-01-24 Paul Eggert <eggert@cs.ucla.edu>
148
149 Remove HAVE_RAW_DECL_CHOWN etc. from config.h
150 * Makefile.in: Regenerate.
151
1522011-01-17 Paul Eggert <eggert@cs.ucla.edu>
153
154 Makefile.in: tidy up the building of lib
155 * Makefile.in: Regenerate.
156 * COPYING: New file, a copy of COPYING.
157
158 Regenerate.
159 * getopt.c, getopt.in.h, getopt1.c, getopt_int.h:
160 * gettext.h, unistd.in.h:
161 New files, copied from gnulib by gnulib-tool.
162 * Makefile.in:
163 Regenerate.
164
165 Regenerate.
166 * mktime-internal.h, mktime.c:
167 * stddef.in.h, time.h, time.in.h, time_r.c:
168 New files, copied from gnulib by gnulib-tool.
169 * Makefile.in, gnulib.mk:
170 Regenerate.
171
172 Regenerate.
173 * dtoastr.c, ftoastr.c, ftoastr.h, intprops.h:
174 * ldtoastr.c:
175 New files, copied from gnulib by gnulib-tool.
176 * dummy.c: Remove.
177 * Makefile.in, gnulib.mk:
178 Regenerate.
179
180 Regenerate.
181 * Makefile.in, dummy.c, gnulib.mk:
182 New files, generated automatically, with 'make sync-from-gnulib'
183 followed by 'make'.
184
185 Automate syncing from gnulib.
186 * Makefile.am: New file.