]>
Commit | Line | Data |
---|---|---|
6cc7d725 UD |
1 | 2000-11-20 Ulrich Drepper <drepper@redhat.com> |
2 | ||
3 | * configure.in: Add --enable-all-warnings. | |
4 | * config.make.in (all-warnings): New variable. | |
5 | * Makeconfig (+gccwarn): Define with many more warnings if | |
6 | all-warnings is yes. | |
7 | ||
59553897 UD |
8 | 2000-11-20 Jakub Jelinek <jakub@redhat.com> |
9 | ||
10 | * iconvdata/bug-iconv2.c (main): Use %zd in format string. | |
11 | * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. | |
12 | * malloc/tst-valloc.c (main): Cast valloc return value to long. | |
13 | * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. | |
14 | * math/test-fpucw.c (main): Use %lx in format string, cast | |
15 | control words to long. | |
16 | * stdio-common/tst-fmemopen.c (main): Use %td in format strings. | |
17 | * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so | |
18 | large that it is unsigned warning. | |
19 | ||
20 | * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing | |
21 | it to long on sparc64. | |
22 | ||
23 | 2000-11-20 Andreas Jaeger <aj@suse.de> | |
24 | ||
25 | * nscd/nscd.h (termination_handler): Add noreturn attribute. | |
26 | (receiv_print_stats): Likewise. | |
27 | ||
28 | * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison. | |
29 | ||
17427edd UD |
30 | 2000-11-20 Ulrich Drepper <drepper@redhat.com> |
31 | ||
ce3019cc UD |
32 | * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore. |
33 | ||
17427edd UD |
34 | * csu/gmon-start.c: Always have prototype for __gmon_start. |
35 | * csu/version.c: Add prototypes for __libc_print_version and | |
36 | __libc_main. | |
37 | * iconv/gconv.c: Include gconv_int.h and gconv.h. | |
38 | * iconv/gconv.h (struct __gconv_step): Remove const from __from_name | |
39 | and __to_name. | |
40 | * iconv/gconv_builtin.h: Add ASCII module definitions. | |
41 | * iconv/gconv_conf.c (__gconv_path_elem): Remove const. | |
42 | (add_module): Add cast to avoid warning. Rework construction of | |
43 | strings for new module. | |
44 | * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. | |
45 | (derivation_compare): Likewise. | |
46 | * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. | |
47 | (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. | |
48 | * iconv/gconv_int.h (__gconv_path_elem): Remove const. | |
49 | (struct gconv_alias): Remove const from fromname and toname. | |
50 | * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes | |
51 | for loop functions. | |
52 | (internal_ucs4_loop): Use correct const-ness. | |
53 | (ucs4_internal_loop): Likewise. | |
54 | (internal_ucs4le_loop): Likewise. | |
55 | (ucs4le_internal_loop_single): Likewise. | |
56 | * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, | |
57 | to_idx, to_tbl, winbuf, winbufend const. Change casts in | |
58 | assignments appropriately. | |
59 | (struct known_trans): Remove const from fname. | |
60 | (trans_compare): Make s1 and s2 const. | |
61 | * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to | |
62 | avoid warning. | |
63 | * iconv/skeleton.c: Remove cast in calls of loop functions. | |
64 | * iconvdata/gconv-modules: Remove US-ASCII definitions. | |
65 | * iconvdata/iso646.c: Remove US_ASCII support. | |
66 | * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. | |
67 | * include/unistd.h: Add __libc_check_standard_fds prototype. | |
68 | * string/bits/string2.h (__mempcpy_args): Add const to casts. | |
69 | * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and | |
70 | _fini. | |
71 | * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. | |
72 | * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. | |
73 | * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid | |
74 | warning. | |
75 | * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for | |
76 | __libc_init_first and _dl_start. | |
ad5b53b1 UD |
77 | * intl/dcigettext.c (transcmp): Make s1 and s2 const. |
78 | (DCIGETTEXT): Make domaindata variable const. | |
79 | * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization | |
80 | to avoid warning. | |
17427edd | 81 | |
73ea3b1b AJ |
82 | 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp> |
83 | ||
17427edd | 84 | * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. |
73ea3b1b AJ |
85 | |
86 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand | |
87 | time_t to 'long int' not, 'unsigned int'. Use 'long int' for | |
88 | __unused? members. | |
89 | ||
90 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same | |
91 | value defined in /usr/include/asm-mips/fcntl.h. | |
92 | ||
bb2fc850 UD |
93 | 2000-11-18 Ulrich Drepper <drepper@redhat.com> |
94 | ||
fd3e6373 UD |
95 | * stdio-common/Makefile (tests): Add test-vfprintf. |
96 | (test-vfprintf-ENV): New variable. | |
97 | * stdio-common/test-vfprintf.c: New file. | |
98 | ||
bb2fc850 UD |
99 | * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'. |
100 | ||
101 | * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb. | |
102 | (tst-mbrtowc-ENV): New variable. | |
103 | (tst-wcrtomb-ENV): New variable. | |
104 | * wcsmbs/tst-mbrtowc.c: New file. | |
105 | * wcsmbs/tst-wcrtomb.c: New file. | |
106 | ||
7b32d065 UD |
107 | 2000-11-16 Andreas Jaeger <aj@suse.de> |
108 | ||
109 | * manual/install.texi (Tools for Compilation): Update | |
110 | documentation for GCC 2.95.2. | |
111 | ||
7813b61a UD |
112 | 2000-11-18 Ulrich Drepper <drepper@redhat.com> |
113 | ||
114 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN | |
115 | if IPv4 and IPv6 requests timed out. | |
116 | ||
565bc88a UD |
117 | 2000-11-18 Akim Demaille <akim@epita.fr> |
118 | ||
119 | * malloc/obstack.h: Formatting changes. | |
120 | (obstack_grow, obstack_grow0): Don't cast WHERE at all: it | |
121 | prevents type checking. | |
122 | (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't | |
123 | cast the value to (void *): assigning a `foo *' to a `void *' | |
124 | variable is valid. | |
125 | (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. | |
126 | ||
bda5433d UD |
127 | 2000-11-17 Ulrich Drepper <drepper@redhat.com> |
128 | ||
129 | * scripts/config.guess: Update from upstream maintainer. | |
130 | * scripts/config.sub: Likewise. | |
131 | ||
3b1de3ba UD |
132 | 2000-11-16 Ulrich Drepper <drepper@redhat.com> |
133 | ||
7b32d065 | 134 | * libio/freopen.c (freopen): Reset _mode after succesful reopening. |
3b1de3ba | 135 | * libio/freopen64.c (freopen64): Likewise. |
0bdfed74 | 136 | Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. |
3b1de3ba | 137 | |
897d4284 UD |
138 | * libio/Makefile: Add rules to build and run test-freopen. |
139 | * libio/test-freopen.c: New file. | |
140 | * libio/test-freopen.sh: New file. | |
141 | ||
40306912 UD |
142 | 2000-11-15 H.J. Lu <hjl@gnu.org> |
143 | ||
144 | * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if | |
145 | ELF_FUNCTION_PTR_IS_SPECIAL is not defined. | |
146 | (DL_DT_FINI_ADDRESS): Likewise. | |
147 | ||
148 | * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the | |
149 | return type to ElfW(Addr). | |
150 | (_dl_function_address): New prototype. | |
151 | (DL_FUNCTION_ADDRESS): Defined. | |
152 | (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS. | |
153 | (DL_DT_FINI_ADDRESS): Likewise. | |
154 | ||
155 | * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. | |
156 | ||
157 | * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. | |
158 | (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. | |
159 | ||
160 | * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... | |
161 | (_dl_function_address): This. | |
162 | ||
163 | * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the | |
164 | function pointer for DT_FINI. | |
165 | * elf/dl-close.c (_dl_close): Likewise. | |
166 | ||
167 | * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the | |
168 | function pointer for DT_INIT. | |
169 | ||
170 | 2000-11-16 Jakub Jelinek <jakub@redhat.com> | |
171 | ||
172 | * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly | |
173 | end of wexpbuf buffer. | |
174 | ||
96ea2a11 AJ |
175 | 2000-11-16 Andreas Jaeger <aj@suse.de> |
176 | ||
177 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate | |
178 | definition of F_GETLK, F_SETLK, F_SETLKW. | |
179 | ||
8a70a03e AJ |
180 | 2000-11-16 Andreas Jaeger <aj@suse.de> |
181 | ||
182 | * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if | |
183 | it's not defined. | |
184 | ||
85857f93 UD |
185 | 2000-11-15 Jakub Jelinek <jakub@redhat.com> |
186 | ||
187 | * dlfcn/default.c (main): Add test for dladdr of main returning | |
188 | argv[0] in dli_fname field. | |
189 | ||
190 | 2000-11-15 Jakub Jelinek <jakub@redhat.com> | |
191 | ||
192 | * Makeconfig (run-program-prefix): Move test-static test into the | |
193 | variable. | |
194 | ||
195 | * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv. | |
196 | * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise, | |
197 | schedule instructions. | |
198 | * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise, | |
199 | schedule instructions, fix a bug in copying auxiliary data. | |
200 | ||
821dcbcc UD |
201 | 2000-11-15 Ulrich Drepper <drepper@redhat.com> |
202 | ||
85857f93 UD |
203 | * manual/startup.texi (Program Arguments): Fix type of main's envp |
204 | parameter. | |
205 |