]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Feb 2002 09:25:02 +0000 (09:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Feb 2002 09:25:02 +0000 (09:25 +0000)
2002-02-14  Ulrich Drepper  <drepper@redhat.com>

* stdlib/test-a64l.c (tests): Add more test cases.

* sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
Reported by Walter Harms <WHarms@bfs.de>.

2002-02-11  Jes Sorensen  <jes@trained-monkey.org>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
definitions for struct sigcontext.
Suggested by David Mosberger-Tang.

ChangeLog
stdlib/test-a64l.c
sunrpc/rtime.c
sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h

index 42bf1914c6196553dab9aa4f8602de15b2502f0a..35a35d2c1ea6ee6c4ebe1b2cab55c67abe0b6d8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2002-02-14  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdlib/test-a64l.c (tests): Add more test cases.
+
+       * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
+       Reported by Walter Harms <WHarms@bfs.de>.
+
+2002-02-11  Jes Sorensen  <jes@trained-monkey.org>
+
+       * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
+       definitions for struct sigcontext.
+       Suggested by David Mosberger-Tang.
+
 2002-02-13  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/dl-close.c (remove_slotinfo): New function.  Handles everything
index 31ef5ea2c782eb244787c9d277812c759d7200c5..2fc10d65e5b2a060e7f579349a08e4276332d817 100644 (file)
@@ -1,5 +1,5 @@
 /* Test program for the l64a and a64l functions.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@suse.de>.
 
@@ -38,6 +38,12 @@ static const struct a64l_test tests[] =
     { "", 0 },
     { "/", 1 },
     { "FT", 2001 },
+    { "zzzzz1", 0xffffffff },
+    { "zzzz1", 0x3ffffff },
+    { "zzz1", 0xfffff },
+    { "zz1", 0x3fff },
+    { "z1", 0xff },
+    { "1", 0x3 },
     { NULL, 0 }
   };
 
index ba3e768b08b29825b410d6f6ee23eb0fa1df753f..536d018c9033c4a86ec59f21ac4258b6072deb10 100644 (file)
@@ -77,7 +77,8 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
   struct pollfd fd;
   int milliseconds;
   int res;
-  unsigned long thetime;
+  /* RFC 868 says the time is transmitted as a 32-bit value.  */
+  uint32_t thetime;
   struct sockaddr_in from;
   int fromlen;
   int type;
index 8a87375e771987f3955047615d4b76c156e8dc72..d67576f2422a3bd19dec29f0b893ae0f90834b5c 100644 (file)
@@ -57,4 +57,13 @@ struct sigcontext
   unsigned long int sc_mask;   /* signal mask to restore after handler returns */
 };
 
+/* sc_flag bit definitions. */
+#define IA64_SC_FLAG_ONSTACK_BIT       0       /* is handler running on signal stack? */
+#define IA64_SC_FLAG_IN_SYSCALL_BIT    1       /* did signal interrupt a syscall? */
+#define IA64_SC_FLAG_FPH_VALID_BIT     2       /* is state in f[32]-f[127] valid? */
+
+#define IA64_SC_FLAG_ONSTACK           (1 << IA64_SC_FLAG_ONSTACK_BIT)
+#define IA64_SC_FLAG_IN_SYSCALL                (1 << IA64_SC_FLAG_IN_SYSCALL_BIT)
+#define IA64_SC_FLAG_FPH_VALID         (1 << IA64_SC_FLAG_FPH_VALID_BIT)
+
 #endif /* _BITS_SIGCONTEXT_H */
This page took 0.053899 seconds and 5 git commands to generate.