Update of /cvsroot/libsysio/libsysio/src
In directory sc8-pr-cvs1:/tmp/cvs-serv4131/src
Modified Files:
Tag: RedStorm
open.c stat.c
Log Message:
Finish redstorm port to the point of compilation. This is very hard to
get setup to build. Definately see the README.
Index: open.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/open.c,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -u -w -b -B -p -r1.7 -r1.7.4.1
--- open.c 23 Apr 2003 18:13:44 -0000 1.7
+++ open.c 19 May 2003 13:51:20 -0000 1.7.4.1
@@ -144,7 +144,12 @@ open(const char *path, int flags, ...)
* Will need mode too.
*/
va_start(ap, flags);
- mode = va_arg(ap, mode_t);
+ mode =
+#ifndef REDSTORM
+ va_arg(ap, mode_t);
+#else
+ va_arg(ap, int);
+#endif
va_end(ap);
mode &= ~_sysio_umask; /* apply umask */
Index: stat.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/stat.c,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -u -w -b -B -p -r1.3.6.1 -r1.3.6.2
--- stat.c 12 May 2003 11:48:45 -0000 1.3.6.1
+++ stat.c 19 May 2003 13:51:20 -0000 1.3.6.2
@@ -66,7 +66,7 @@
#define _STAT_VER 0
#endif
-#if !(defined(__GLIBC__) && __GLIBC__ >= 2)
+#if 0 && !(defined(__GLIBC__) && __GLIBC__ >= 2)
#warning Check assumptions here about stat/stat64 sizes and offsets
#endif
|