mirror of git://sourceware.org/git/glibc.git
Update.
2004-03-22 Joseph S. Myers <jsm@polyomino.org.uk> * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use casts as lvalues. 2004-03-22 Andreas Jaeger <aj@suse.de> * elf/tst-dlmodcount.c (unload): Remove unused variable. * misc/tst-mntent.c (main): Use tmpfile instead of tmpnam.
This commit is contained in:
parent
ba6088cf1f
commit
6873f5c706
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2004-03-22 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||||
|
|
||||||
|
* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use
|
||||||
|
casts as lvalues.
|
||||||
|
|
||||||
|
2004-03-22 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* elf/tst-dlmodcount.c (unload): Remove unused variable.
|
||||||
|
|
||||||
|
* misc/tst-mntent.c (main): Use tmpfile instead of tmpnam.
|
||||||
|
|
||||||
2004-03-20 Roland McGrath <roland@frob.com>
|
2004-03-20 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/dl-execstack.c: New file.
|
* sysdeps/mach/hurd/dl-execstack.c: New file.
|
||||||
|
|
|
@ -85,8 +85,6 @@ load (const char *path)
|
||||||
static void
|
static void
|
||||||
unload (const char *path, void *handle)
|
unload (const char *path, void *handle)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
|
|
||||||
printf ("unloading `%s'\n", path);
|
printf ("unloading `%s'\n", path);
|
||||||
if (dlclose (handle) < 0)
|
if (dlclose (handle) < 0)
|
||||||
exit (2);
|
exit (2);
|
||||||
|
|
|
@ -262,10 +262,8 @@ struct xdr_discrim
|
||||||
* and shouldn't be used any longer. Code which use this defines or longs
|
* and shouldn't be used any longer. Code which use this defines or longs
|
||||||
* in the RPC code will not work on 64bit Solaris platforms !
|
* in the RPC code will not work on 64bit Solaris platforms !
|
||||||
*/
|
*/
|
||||||
#define IXDR_GET_LONG(buf) \
|
#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))
|
||||||
((long)ntohl((u_long)*__extension__((u_int32_t*)(buf))++))
|
#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))
|
||||||
#define IXDR_PUT_LONG(buf, v) \
|
|
||||||
(*__extension__((u_int32_t*)(buf))++ = (long)htonl((u_long)(v)))
|
|
||||||
#define IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf))
|
#define IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf))
|
||||||
#define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG(buf, (long)(v))
|
#define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG(buf, (long)(v))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue