[PATCH] libc/sys/cygwin/sys/dirent.h: Remove usage of __off32_t

Corinna Vinschen vinschen@redhat.com
Tue Apr 1 14:55:00 GMT 2003


...in favor of _off_t.  I've just checked this in.

Corinna

2003-04-01  Corinna Vinschen  <corinna@vinschen.de>

        * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
        __d_position member to _off_t.

Index: libc/sys/cygwin/sys/dirent.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/cygwin/sys/dirent.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -p -u -r1.8 -r1.9
--- libc/sys/cygwin/sys/dirent.h        9 Mar 2003 21:08:51 -0000       1.8
+++ libc/sys/cygwin/sys/dirent.h        1 Apr 2003 14:53:02 -0000       1.9
@@ -33,7 +33,7 @@ typedef struct __DIR
   unsigned long __d_cookie;
   struct dirent *__d_dirent;
   char *__d_dirname;           /* directory name with trailing '*' */
-  __off32_t __d_position;      /* used by telldir/seekdir */
+  _off_t __d_position;         /* used by telldir/seekdir */
   unsigned long __d_dirhash;   /* hash of directory name for use by
                                   readdir */
   union


-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com



More information about the Newlib mailing list