]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 8 Jul 2001 07:32:45 +0000 (07:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 8 Jul 2001 07:32:45 +0000 (07:32 +0000)
* iconv/iconv_prog.c (main): Don't unconditionally define
variables only use if _POSIX_MAPPED_FILES is defined.

ChangeLog
iconv/iconv_prog.c

index 959ccb1dcc0bf36b2d5a577e5023f05d91bbbed0..2ccd09bd8f0c1854d6f4bbdc0a7c48c751187bc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
 
+       * iconv/iconv_prog.c (main): Don't unconditionally define
+       variables only use if _POSIX_MAPPED_FILES is defined.
+
        * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
        * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
 
index 59e120fe3f309c44b5f72b75cddc9ca49fe81ab6..00b4b9567284a7043bd325f28286efa30a1970b3 100644 (file)
@@ -246,8 +246,10 @@ main (int argc, char *argv[])
       else
        do
          {
+#ifdef _POSIX_MAPPED_FILES
            struct stat st;
            char *addr;
+#endif
            int fd;
 
            if (verbose)
This page took 0.048836 seconds and 5 git commands to generate.