]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 16 Nov 1998 19:12:54 +0000 (19:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 16 Nov 1998 19:12:54 +0000 (19:12 +0000)
1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
under the right name (squish warning).
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

* stdio-common/_itoa.c (_itoa): Add redundant parentheses to
prevent warnings.

ChangeLog
stdio-common/_itoa.c
sysdeps/unix/sysv/linux/powerpc/pwrite.c
sysdeps/unix/sysv/linux/powerpc/pwrite64.c

index f9866ffa379f50ec383e0379426d127b99a1168a..7dc183bd82f8a1fc9c0d3ef67db732239ce84b61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
+       under the right name (squish warning).
+       * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
+
+1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
+       prevent warnings.
+
 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
 
        * intl/locale.alias: Change `japanese' alais to match X11R6's.
index e3b0533476b8193c0e8038247310202d7bff1772..72949ea8fbd570b8c9fd81b3d8462f3eebb16ca1 100644 (file)
@@ -278,8 +278,8 @@ _itoa (value, buflim, base, upper_case)
                if (big_normalization_steps == 0)
                  xh = 0;
                else
-                 xh = (mp_limb_t) (value >> 64 - big_normalization_steps);
-               xl = (mp_limb_t) (value >> 32 - big_normalization_steps);
+                 xh = (mp_limb_t) (value >> (64 - big_normalization_steps));
+               xl = (mp_limb_t) (value >> (32 - big_normalization_steps));
                udiv_qrnnd_preinv (x1hi, r, xh, xl, big_base_norm,
                                   brec->big.base_ninv);
 
@@ -292,7 +292,7 @@ _itoa (value, buflim, base, upper_case)
                  xh = x1hi;
                else
                  xh = ((x1hi << big_normalization_steps)
-                       | (x1lo >> 32 - big_normalization_steps));
+                       | (x1lo >> (32 - big_normalization_steps)));
                xl = x1lo << big_normalization_steps;
                udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm,
                                   big_normalization_steps);
index b77dc312562602e4574fe08703ffc0c694346656..fea67c5167a37b8c5abf29c12c52f7b8d26b901f 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifdef __NR_pwrite
 
-extern ssize_t __syscall_pwrite64 (int fd, const void *buf, size_t count,
+extern ssize_t __syscall_pwrite (int fd, const void *buf, size_t count,
                                   off64_t offset);
 
 static ssize_t __emulate_pwrite (int fd, const void *buf, size_t count,
index bcc7d82f5cecf3cdb165c32b350352af6572ccac..4677dea34d756449638c8b3d3f7e8ecb5fdc45d6 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifdef __NR_pwrite
 
-extern ssize_t __syscall_pwrite64 (int fd, const void *buf, size_t count,
+extern ssize_t __syscall_pwrite (int fd, const void *buf, size_t count,
                                   off64_t offset);
 
 static ssize_t __emulate_pwrite64 (int fd, const void *buf, size_t count,
This page took 0.056784 seconds and 5 git commands to generate.