]> sourceware.org Git - glibc.git/commitdiff
* stdio-common/tst-fmemopen2.c (do_test): Add a cast.
authorRoland McGrath <roland@gnu.org>
Sun, 8 Jan 2006 08:24:11 +0000 (08:24 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 8 Jan 2006 08:24:11 +0000 (08:24 +0000)
* stdio-common/printf-parsemb.c (__find_specmb): Likewise.

* sysdeps/unix/sysv/linux/poll.c: Likewise.

ChangeLog
stdio-common/printf-parsemb.c
stdio-common/tst-fmemopen2.c
sysdeps/unix/sysv/linux/poll.c

index 16999750881e741d84fc97fc295e2aef1ad68d2d..9e07a4063e41394c6ec55d2dc92701a1e68ac2b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-01-08  Roland McGrath  <roland@redhat.com>
 
+       * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
+       * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
+
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
        #include for kernel-features.h.
        * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
@@ -80,6 +83,7 @@
        * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
        * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
        * sysdeps/unix/sysv/linux/opendir.c: Likewise.
+       * sysdeps/unix/sysv/linux/poll.c: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
index c55b97060cea0df486d2344e83bbc3dba19c59bb..2f21fc6365cc4c07765de0878d69a18c0188e6a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper functions for parsing printf format strings.
-   Copyright (C) 1995-2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1995-2000,2002,2003,2004,2006 Free Software Foundation, Inc.
    This file is part of th GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -64,7 +64,8 @@ __find_specmb (const UCHAR_T *format, mbstate_t *ps)
 
       /* Remove any hints of a wrong encoding.  */
       ps->__count = 0;
-      if (! isascii (*format) && (len = __mbrlen (format, MB_CUR_MAX, ps)) > 0)
+      if (! isascii (*format)
+         && (len = __mbrlen ((const CHAR_T *) format, MB_CUR_MAX, ps)) > 0)
        format += len;
       else
        ++format;
index bcb136e8c1f0e226f6b6ff30dc6165675d382b39..81beddddef9cd71fcad65a9ad98de7604bf1a090 100644 (file)
@@ -28,7 +28,7 @@ do_test (void)
   o = ftello (fp);
   if (o != 0)
     {
-      printf ("second ftello returned %ld, expected %zu\n", o, 0);
+      printf ("second ftello returned %ld, expected %zu\n", o, (off_t) 0);
       result = 1;
     }
   if (fseeko (fp, 0, SEEK_END) != 0)
index 4c4868645b9538aa328b9f545f2942a3df901726..a745fbcbc0d2b806d2095aa0e7db67673a307ba9 100644 (file)
@@ -1,5 +1,6 @@
 /* Poll system call, with emulation if it is not available.
-   Copyright (C) 1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2000,2001,2002,2006
+       Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +25,7 @@
 #include <sys/syscall.h>
 #include <bp-checks.h>
 
-#include "kernel-features.h"
+#include <kernel-features.h>
 
 #if defined __NR_poll || __ASSUME_POLL_SYSCALL > 0
 
This page took 0.059999 seconds and 5 git commands to generate.