small compile fixes; initial select() stubs; release.sh script doesn't

need /tmp any more since 16MB root device; increase to 3.0.5 to make new
CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy
workaround hasn't been done.)
This commit is contained in:
Ben Gras
2005-06-06 11:40:32 +00:00
parent 9392dde997
commit e44e9ad261
16 changed files with 105 additions and 29 deletions
+4
View File
@@ -64,6 +64,7 @@ OBJECTS = \
$(LIBRARY)(_rename.o) \
$(LIBRARY)(_rewinddir.o) \
$(LIBRARY)(_rmdir.o) \
$(LIBRARY)(_select.o) \
$(LIBRARY)(_setgid.o) \
$(LIBRARY)(_setsid.o) \
$(LIBRARY)(_setuid.o) \
@@ -270,6 +271,9 @@ $(LIBRARY)(_rewinddir.o): _rewinddir.c
$(LIBRARY)(_rmdir.o): _rmdir.c
$(CC1) _rmdir.c
$(LIBRARY)(_select.o): _select.c
$(CC1) _select.c
$(LIBRARY)(_setgid.o): _setgid.c
$(CC1) _setgid.c
+18
View File
@@ -0,0 +1,18 @@
#include <lib.h>
#include <sys/select.h>
PUBLIC int select(int nfds,
fd_set *readfds, fd_set *writefds, fd_set *errorfds,
struct timeval *timeout)
{
message m;
m.m8_i1 = nfds;
m.m8_p1 = (char *) readfds;
m.m8_p2 = (char *) writefds;
m.m8_p3 = (char *) errorfds;
m.m8_p4 = (char *) timeout;
return (_syscall(FS, SELECT, &m));
}