]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.7
Fix BZ #21654 - grp-merge.c alignment
[thirdparty/glibc.git] / ChangeLog.7
CommitLineData
6973fc01
UD
11997-11-13 20:39 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable.
4
51997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6
7 * manual/arith.texi: Fix typo in @ifclear.
8
9 * manual/arith.texi (Imaginary Unit): Add @end deftypevr.
10
111997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12
13 * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of
14 NANL.
15
16 * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of
17 NANF.
18
191997-11-13 01:07 Ulrich Drepper <drepper@cygnus.com>
20
21 * manual/arith.texi: Update documentation according to most recent
22 ISO C 9X draft.
23 Document fma, fdim, fmin, and fmax.
24 * manual/math.texi: Allow multiple defitino of mul etc.
25
26 * math/complex.h (I): Define using _Complex_U not _Imaginary_I.
27
28 * math/libm-test.c: Add tests for fma.
29
30 * math/math.h: Describe DECIMAL_DIG macro. Pretty print.
31
32 * sysdeps/alpha/fpu/bits/mathdef.h: Define INFINITY as of type float.
33 Define DECIMAL_DIG.
34 * sysdeps/generic/bits/mathdef.h: Likewise.
35 * sysdeps/i386/bits/mathdef.h: Likewise.
36 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
37 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
39
40 * sysdeps/ieee754/bits/nan.h: Define NAN as of type float.
41 * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL.
42
431997-11-12 17:50 Ulrich Drepper <drepper@cygnus.com>
44
45 * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction.
46 Reported by Philip Blundell <pb@nexus.co.uk>.
47
48 * string/strndup.c: Use K&R like definition.
49
50 * sysdeps/unix/sysv/linux/getcwd.c: New file. Use kernel information
51 instead of longish search for the name.
52 * sysdeps/posix/getcwd.c: Add support for use of the code as a
53 backup solution.
54
551997-11-12 15:31 Philip Blundell <pb@nexus.co.uk>
56
57 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add
58 SWI_BASE in twice.
59
60 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
61 Use correct name to access PC.
62
63 * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>.
64
65 * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t.
66 * sysdeps/generic/bits/stat.h: Add struct stat64.
67
681997-11-12 16:08 Ulrich Drepper <drepper@cygnus.com>
69
70 * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since
71 now we have a definition as _fxstat.
72 * libio/fileops.c: Likewise.
73 * libio/oldfileops.c: Likewise.
74 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
75
761997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
77
78 * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value.
79 * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise.
80
811997-11-11 Paul Eggert <eggert@twinsun.com>
82
83 Add overflow checking for 64-bit time_t and 32-bit int.
84
85 * time/time.h (__offtime): Now returns int.
86
87 * time/offtime.c (__offtime): Return nonzero if successful;
88 check for tm_year overflow.
89 (DIV): New macro.
90 (LEAPS_THRU_END_OF): Handle negative years correctly.
91
92 * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert.
93
94 * time/mktime.c (ranged_convert): New function.
95 (ydhms_tm_diff): Return nonzero if TP is null.
96 (__mktime_internal): Handle cases correctly even if they are near or
97 past the limits of time_t values that can be broken down to struct tm.
98 (print_tm, check_result, main): Diagnose localtime failures.
99
100 * manual/time.texi: Document the fact that localtime returns 0
101 if the time can't be represented.
102
1031997-11-12 06:03 Ulrich Drepper <drepper@cygnus.com>
104
105 * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not
106 mempcpy. Patch by Ken'ichi Handa <handa@etl.go.jp>.
107
108 * manual/time.texi: Document %F and %f format for strftime.
109
110 * manual/arith.texi: Document copysign, nextafter and nan.
111
1121997-11-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
113
114 * test-installation.pl: New file. Tests for some installation
115 problems.
116
1171997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com>
118
119 * include/sys/stat.h: Define stat, fstat, lstat and *64 variants
120 as macros so the the library compiles correctly even without
121 optimization.
122 * io/fstat.c: Undef fstat.
123 * io/fstat64.c: Undef fstat64
124 * io/lstat.c: Undef lstat.
125 * io/lstat64.c: Undef lstat64
126 * io/stat.c: Undef stat.
127 * io/stat64.c: Undef stat64
128 * io/fts.c: Include <include/sys/stat.h> to get macro definitions.
129 * io/ftw.c: Likewise.
130 * io/getdirname.c: Likewise.
131
132 * Makefile (install): Run test-installation.pl if possible.
133
134 * db2/Makefile: Update from db-2.3.12.
135 * db2/db.h: Likewise.
136 * db2/db_int.h: Likewise.
137 * db2/btree/bt_cursor.c: Likewise.
138 * db2/btree/bt_delete.c: Likewise.
139 * db2/btree/bt_open.c: Likewise.
140 * db2/btree/bt_put.c: Likewise.
141 * db2/btree/bt_rec.c: Likewise.
142 * db2/btree/bt_recno.c: Likewise.
143 * db2/btree/bt_search.c: Likewise.
144 * db2/btree/bt_split.c: Likewise.
145 * db2/btree/bt_stat.c: Likewise.
146 * db2/btree/btree.src: Likewise.
147 * db2/btree/btree_auto.c: Likewise.
148 * db2/btree/bt_cursor.c: Likewise.
149 * db2/btree/bt_delete.c: Likewise.
150 * db2/btree/bt_open.c: Likewise.
151 * db2/btree/bt_put.c: Likewise.
152 * db2/btree/bt_rec.c: Likewise.
153 * db2/btree/bt_recno.c: Likewise.
154 * db2/btree/bt_search.c: Likewise.
155 * db2/btree/bt_split.c: Likewise.
156 * db2/btree/bt_stat.c: Likewise.
157 * db2/btree/btree.src: Likewise.
158 * db2/btree/btree_auto.c: Likewise.
159 * db2/common/db_appinit.c: Likewise.
160 * db2/common/db_apprec.c: Likewise.
161 * db2/common/db_byteorder.c: Likewise.
162 * db2/common/db_region.c: Likewise.
163 * db2/db/db.c: Likewise
164 * db2/db/db.src: Likewise
165 * db2/db/db_auto.c: Likewise
166 * db2/db/db_dispatch.c: Likewise
167 * db2/db/db_dup.c: Likewise
168 * db2/db/db_overflow.c: Likewise
169 * db2/db/db_pr.c: Likewise
170 * db2/db/db_rec.c: Likewise
171 * db2/db/db_ret.c: Likewise
172 * db2/db/db_thread.c: Likewise
173 * db2/db185/db185.c: Likewise.
174 * db2/hash/hash.c: Likewise.
175 * db2/hash/hash.src: Likewise.
176 * db2/hash/hash_auto.c: Likewise.
177 * db2/hash/hash_dup.c: Likewise.
178 * db2/hash/hash_page.c: Likewise.
179 * db2/hash/hash_rec.c: Likewise.
180 * db2/include/btree_auto.h: Likewise.
181 * db2/include/btree_ext.h: Likewise.
182 * db2/include/clib_ext.h: Likewise.
183 * db2/include/common_ext.h: Likewise.
184 * db2/include/db.h.src: Likewise.
185 * db2/include/db_am.h: Likewise.
186 * db2/include/db_auto.h: Likewise.
187 * db2/include/db_cxx.h: Likewise.
188 * db2/include/db_ext.h: Likewise.
189 * db2/include/db_int.h.src: Likewise.
190 * db2/include/hash.h: Likewise.
191 * db2/include/hash_auto.h: Likewise.
192 * db2/include/hash_ext.h: Likewise.
193 * db2/include/lock.h: Likewise.
194 * db2/include/lock_ext.h: Likewise.
195 * db2/include/log.h: Likewise.
196 * db2/include/log_ext.h: Likewise.
197 * db2/include/mp.h: Likewise.
198 * db2/include/mp_ext.h: Likewise.
199 * db2/include/mutex_ext.h: Likewise.
200 * db2/include/os_ext.h: Likewise.
201 * db2/include/os_func.h: Likewise.
202 * db2/include/txn.h: Likewise.
203 * db2/include/txn_ext.h: Likewise.
204 * db2/lock/lock.c: Likewise.
205 * db2/lock/lock_deadlock.c: Likewise.
206 * db2/log/log.c: Likewise.
207 * db2/log/log_archive.c: Likewise.
208 * db2/log/log_auto.c: Likewise.
209 * db2/log/log_findckp.c: Likewise.
210 * db2/log/log_get.c: Likewise.
211 * db2/log/log_put.c: Likewise.
212 * db2/log/log_rec.c: Likewise.
213 * db2/log/log_register.c: Likewise.
214 * db2/mp/mp_bh.c: Likewise.
215 * db2/mp/mp_fget.c: Likewise.
216 * db2/mp/mp_fopen.c: Likewise.
217 * db2/mp/mp_fput.c: Likewise.
218 * db2/mp/mp_fset.c: Likewise.
219 * db2/mp/mp_open.c: Likewise.
220 * db2/mp/mp_pr.c: Likewise.
221 * db2/mp/mp_region.c: Likewise.
222 * db2/mp/mp_sync.c: Likewise.
223 * db2/mutex/mutex.c: Likewise.
224 * db2/os/os_abs.c: Likewise.
225 * db2/os/os_dir.c: Likewise.
226 * db2/os/os_fid.c: Likewise.
227 * db2/os/os_fsync.c: Likewise.
228 * db2/os/os_func.c: Likewise.
229 * db2/os/os_map.c: Likewise.
230 * db2/os/os_oflags.c: Likewise.
231 * db2/os/os_open.c: Likewise.
232 * db2/os/os_rpath.c: Likewise.
233 * db2/os/os_rw.c: Likewise.
234 * db2/os/os_seek.c: Likewise.
235 * db2/os/os_sleep.c: Likewise.
236 * db2/os/os_stat.c: Likewise.
237 * db2/os/os_unlink.c: Likewise.
238 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
239 * db2/progs/db_dump/db_dump.c: Likewise.
240 * db2/progs/db_load/db_load.c: Likewise.
241 * db2/progs/db_recover/db_recover.c: Likewise.
242 * db2/progs/db_stat/db_stat.c: Likewise.
243 * db2/txn/txn.c: Likewise.
244 * db2/txn/txn_auto.c: Likewise.
245 * db2/txn/txn_rec.c: Likewise.
246 * db2/os/db_os_abs.c: Removed.
247 * db2/os/db_os_dir.c: Removed.
248 * db2/os/db_os_fid.c: Removed.
249 * db2/os/db_os_lseek.c: Removed.
250 * db2/os/db_os_mmap.c: Removed.
251 * db2/os/db_os_open.c: Removed.
252 * db2/os/db_os_rw.c: Removed.
253 * db2/os/db_os_sleep.c: Removed.
254 * db2/os/db_os_stat.c: Removed.
255 * db2/os/db_os_unlink.c: Removed.
256
257 * libio/stdio.h (fopen): Add __restrict to parameters.
258
259 * manual/process.texi (system): Describe behaviour for NULL argument.
260
261 * stdio-common/printf-parse.h: Parse hh modifier.
262 * stdio-common/vfprintf.c: Handle hh modifier.
263 * stdio-common/vfscanf.c: Likewise.
264 * manual/stdio.texi: Describe hh modifier for scanf/printf.
265
266 * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I.
267 gcc does no yet know the `imaginary' keyword.
268
269 * math/test-math.c: Add little test for know gcc bug.
270
271 * math/tgmath.h: Make complex versions of log10() only available
272 if __USE_GNU.
273
274 * stdlib/test-canon.c: Fix typo.
275
276 * sysdeps/generic/setenv.c: Avoid compilation warnings.
277 Reported by Jim Meyering.
278
279 * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number.
280 * sysdeps/mach/hurd/bits/errno.h: Likewise.
281 * sysdeps/standalone/bits/errno.h: Likewise.
282 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
283
284 * sysdeps/i386/i586/memcpy.S: New file.
285 * sysdeps/i386/i586/mempcpy.S: New file.
286
287 * sysdeps/i386/i586/memset.S: Fix typo.
288
289 * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts.
290
291 * sysdeps/posix/system.c: Add comment to explain code.
292
293 * sysdeps/wordsize-32/inttypes.h: Include <stddef.h> for wchar_t.
294 Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX,
295 WCHAR_{MIN,MAX}, WINT_{MIN,MAX}.
296 Define wcstoimax, wcstoumax.
297 * sysdeps/wordsize-64/inttypes.h: Likewise.
298
299 * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined.
300 Declare __wcsto{l,ul,ll,ull}_internal only if not already done.
301
302 * time/Makefile (routines): Add strfxtime.
303 * time/strftime.c: Implement %F and %f format.
304 * time/strfxtime.c: New file.
305 * time/time.h: Define new types and symbols from ISO C 9X.
306
307 * time/mktime.c: Little comment correction.
308
3091997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
310
311 * sysdeps/libm-ieee754/s_sincosl.c: Fix typo.
312
313 * sysdeps/libm-ieee754/s_tanl.c: Fix typo.
314
315 * sysdeps/libm-ieee754/s_floorl.c: Correct typos.
316
317 * sysdeps/libm-ieee754/e_remainderl.c: Replace
318 EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS.
319
320 * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS
321 by GET_LDOUBLE_WORDS.
322
323 * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct
324 variable declaration.
325 * sysdeps/libm-ieee754/s_scalblnl.c: Likewise.
326
327 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function.
328
329 * math/libm-test.c (sqrt_test): Add test for sqrt (0.25).
330 (asin_test): Add more test.
331
3321997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com>
333
334 * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer
335 and to not confuse the poor compiler.
336 * sysdeps/libm-ieee754/e_asinf.c: Likewise.
337 Reported by vertex@cagent.com.
338
3391997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu>
340
341 * stdlib/exit.c (exit): Handle recursive calls to exit ().
342
3431997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
344
345 * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument
346 instead of long double.
347 * sysdeps/m68k/fpu/s_llrintf.c: New file.
348 * sysdeps/m68k/fpu/s_llrintl.c: New file.
349
350 * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix
351 overflow condition.
352 * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition.
353 * sysdeps/libm-ieee754/s_llrintl.c: Likewise.
354 * sysdeps/libm-ieee754/s_llround.c: Likewise.
355 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
356 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
357 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
358 * sysdeps/libm-ieee754/s_lrintf.c: Likewise.
359 * sysdeps/libm-ieee754/s_lrintl.c: Likewise.
360 * sysdeps/libm-ieee754/s_lround.c: Likewise.
361 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
362 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
363
364 * math/libm-test.c: Test all three variants of lrint and llrint.
365 Fix typos in lround and llround tests. Add tests for boundary
366 cases for lrint and llround.
367
3681997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
369
370 * manual/arith.texi: Misc doc fixes.
371 * manual/ctype.texi: Likewise.
372 * manual/pattern.texi: Likewise.
373 * manual/terminal.texi: Likewise.
374
3751997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
376
377 * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment
378 instead of memcpy to let the compiler use whatever it regards as
379 optimal.
380 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise.
381
3821997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
383
384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
385 [$(subdir)=misc]: Add sys/prctl.h.
386 * sysdeps/unix/sysv/linux/Dist: Distribute it.
387
3881997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
389
390 * io/ftwtest-sh: Don't use the unknown which command, instead try
391 pwd as /bin/pwd and /usr/bin/pwd.
392
3931997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
394
395 * manual/maint.texi (Tools for Installation): Don't recommend
396 broken version 3.76.1 of make.
397 (Porting): Fix wording.
398
3991997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu>
400
401 * config.make.in (build-pic-default): New, defined with
402 pic_default.
403
404 * configure.in (pic_default): New, set to yes if PIC is
405 default.
406
407 * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og,
408 CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes.
409
4101997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
411
412 * Makerules (libc.so): Fix typo.
413
414 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
415 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
416
417 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1233be76 418