This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
[PATCH] libc/sys/cygwin/sys/dirent.h: Remove usage of __off32_t
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sources dot redhat dot com
- Date: Tue, 1 Apr 2003 16:55:42 +0200
- Subject: [PATCH] libc/sys/cygwin/sys/dirent.h: Remove usage of __off32_t
- Reply-to: newlib at sources dot redhat dot com
...in favor of _off_t. I've just checked this in.
Corinna
2003-04-01 Corinna Vinschen <corinna at vinschen dot 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 at redhat dot com