]>
Commit | Line | Data |
---|---|---|
a51752b6 UD |
1 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
2 | ||
08cfb839 UD |
3 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
4 | ||
4b481a15 UD |
5 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
6 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
7 | ||
8 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
9 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
10 | ||
11 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
12 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
13 | xdr_cback_data. | |
14 | ||
15 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
16 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
17 | xdr_ypupdate_args. | |
18 | ||
19 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
20 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
21 | ||
22 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
23 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
24 | ||
25 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
26 | * include/rpcsvc/nis_callback.h: New file. | |
27 | ||
28 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
29 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
30 | ||
31 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
32 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
33 | ||
34 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
35 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
36 | ||
37 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
38 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
39 | ||
b1ad49c6 UD |
40 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
41 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
42 | xdr_ypdelete_args. | |
43 | ||
cd5f7829 UD |
44 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
45 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
46 | ||
a51752b6 UD |
47 | * nis/nis_error.c: Remove table of strings. Use position |
48 | independent mechanism. | |
49 | * nis/nis_error.h: New file. | |
50 | ||
3d237e42 UD |
51 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
52 | ||
53 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
54 | format aren't provided, set both wname and wformat to L"". | |
55 | ||
d6c159fe UD |
56 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
57 | ||
0088b04e UD |
58 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
59 | results if the call was succesful. | |
60 | ||
d6c159fe UD |
61 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
62 | ||
63 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
64 | as hidden. | |
65 | ||
5c5acdf0 UD |
66 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
67 | ||
68 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
69 | ||
16d620db UD |
70 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
71 | ||
72 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
73 | caller makes sure this is not the case. | |
74 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
75 | ||
e7c8359e UD |
76 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
77 | ||
ecf359c6 UD |
78 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
79 | calls. | |
80 | ||
400cc70a UD |
81 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
82 | [Coverity CID 229, 230] | |
83 | ||
84 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
85 | DGETTEXT calls. | |
86 | (hol_help): Likewise. [Coverity CID 226, 227] | |
87 | ||
88 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
89 | free on SRC. [Coverity CID 225] | |
90 | ||
91 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
92 | the return value of __nis_default_owner and __nis_default_group, | |
93 | it has been especially allocated. [Coverity CID 224] | |
94 | ||
51e59260 UD |
95 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
96 | searchgroup and searchowner. Significantly simplified. | |
97 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
98 | string before duplicating it. | |
99 | (__nis_default_group): Likewise. | |
100 | ||
101 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
102 | we must clear the variable before calling __nisfind_server. | |
103 | ||
104 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
105 | nis_getnames. [Coverity CID 223] | |
106 | ||
107 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
108 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
109 | ||
110 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
111 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
112 | ||
e7c8359e | 113 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 114 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
115 | |
116 | * posix/getconf.c (print_all): Free confstr data after printing. | |
117 | [Coverity CID 218] | |
118 | ||
119 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
120 | list allocation fails. [Coverity CID 215] | |
121 | ||
122 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
123 | [Coverity CID 213] | |
124 | ||
125 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
126 | string is NULL. [Coverity CID 212] | |
127 | * argp/Makefile: Add rules to build and run bug-argp1. | |
128 | * argp/bug-argp1.c: New file. | |
129 | ||
130 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
131 | end of string. | |
132 | * stdlib/canonicalize.c (__realpath): Likewise. | |
133 | ||
134 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
135 | pointer. [Coverity CID 206] | |
136 | ||
137 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
138 | in statically linked code. | |
139 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
140 | statically built code, be prepared to have no link map. | |
141 | [Coverity CID 205] | |
142 | ||
143 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
144 | dgettext calls. [Coverity CID 204] | |
145 | ||
146 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
147 | the one user. | |
148 | (uparam_names): Reduce size. Avoid relative relocations. | |
149 | Moved to read-only segment. | |
150 | (fill_in_uparams): Update for new layout. | |
151 | ||
152 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
153 | assumed to always be != NULL. [Coverity CID 202] | |
154 | ||
155 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
156 | [Coverity CID 200]. | |
157 | ||
158 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
159 | away a few more unconditional yperr2nss calls. | |
160 | (_nss_nis_getservbyname_r): Likewise. | |
161 | ||
acf82eaf UD |
162 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
163 | ||
4461cf48 UD |
164 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
165 | architectures. | |
166 | ||
b74a8c7f UD |
167 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
168 | that unused memory passed to sendto is nevertheless initialized. | |
169 | ||
acb98cb5 UD |
170 | [BZ #2499] |
171 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
172 | possibly unaligned memory accesses. | |
173 | ||
bce16467 UD |
174 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
175 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
176 | and __putlong respectively. Correct buffer overflow check for | |
177 | NS_NOTIFY_OP. | |
178 | ||
179 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
180 | ||
8e45b1ac UD |
181 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
182 | (send_dg): Rewrite error handling to be more compact and avoid | |
183 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
184 | ||
697e1628 UD |
185 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
186 | ||
187 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
188 | instead of ns_get16. | |
189 | (res_queriesmatch): Likewise. Minor optimization. | |
190 | ||
acf82eaf UD |
191 | [BZ #2499] |
192 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
193 | __libc_res_nsend might reallocate the buffer for the answer. In | |
194 | this case we have to reload the HP pointer. | |
195 | ||
7bfee654 UD |
196 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
197 | ||
694b49ca UD |
198 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
199 | some branch prediction hints. | |
200 | ||
7bfee654 UD |
201 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
202 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
203 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
204 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
205 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
206 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
207 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
208 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
209 | ||
308bb2d5 UD |
210 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
211 | ||
212 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
213 | by a GOT relocation to make Scrt1.o position independent. | |
214 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
215 | ||
216 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
217 | six system call parameters. | |
218 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
219 | ||
cdb9c321 UD |
220 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
221 | ||
222 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
223 | malloc&bzero. | |
224 | ||
225 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
226 | (CALLOC): Define. | |
227 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
228 | ||
229 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
230 | (des_SPtrans): Use uint32_t type. | |
231 | (des_skb): Likewise. | |
232 | ||
233 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
234 | ||
fff04b32 UD |
235 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
236 | ||
237 | [BZ #2509] | |
238 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
239 | on 32-bit arches. | |
240 | ||
241 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
242 | ||
243 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 244 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 245 | |
077a30bc | 246 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 247 | |
f2d5cf50 UD |
248 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
249 | filling it for the first time. | |
250 | ||
3e4370cf UD |
251 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
252 | Adjust all callers. | |
253 | Free res object content before returning. | |
254 | ||
5e65a53d UD |
255 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
256 | ||
48be3114 UD |
257 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
258 | client->cl_auth. | |
259 | ||
ca4fce0e UD |
260 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
261 | cleanup for initial thread, just the free call on TVP. | |
262 | ||
077a30bc | 263 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 264 | |
5d37289a | 265 | |
3f87d901 | 266 | See ChangeLog.16 for earlier changes. |