diff --git a/bin/export.pike b/bin/export.pike index 3d34106d4550ce94474e93a81e06390985ef6b20..48d1da91e140032c7c492610e130d07006fadb2f 100755 --- a/bin/export.pike +++ b/bin/export.pike @@ -1,6 +1,6 @@ #!/usr/local/bin/pike -/* $Id: export.pike,v 1.16 1998/03/25 04:41:51 hubbe Exp $ */ +/* $Id: export.pike,v 1.17 1998/03/26 05:37:30 hubbe Exp $ */ #include <simulate.h> @@ -93,7 +93,7 @@ int main(int argc, string *argv) sscanf(s,"%s release %d%s",string pre, int rel, string post); rel++; Stdio.File("pike/src/version.c","wct")->write(pre+" release "+rel+post); - system("cd pike/src ; cvs commit -m 'release number bumped by export.pike' version.c"); + system("cvs commit -m 'release number bumped by export.pike' src/version.c"); vpath=replace(getversion()," ","-"); string tag=replace(vpath,({"Pike-","."}),({"","_"})); diff --git a/src/fd_control.c b/src/fd_control.c index 941d62f75175f4e8e7d64bb92f7dad538c9cdc74..4e26eef9b9299ca812404a309799589912af3fa9 100644 --- a/src/fd_control.c +++ b/src/fd_control.c @@ -13,6 +13,7 @@ #include "fdlib.h" #else #undef DEBUG +#define fd_ioctl ioctl #endif #include "fd_control.h" @@ -50,7 +51,7 @@ int set_nonblocking(int fd,int which) fatal("Filedescriptor out of range.\n"); #endif -#if defined(USE_IOCTL_FIONBIO) || __NT__ +#if defined(USE_IOCTL_FIONBIO) || defined(__NT__) return fd_ioctl(fd, FIONBIO, &which); #else diff --git a/src/global.h b/src/global.h index 2e8eb850925b2d8b8fe63a3b82e08f386cf6b30e..de4bd7f4d85a16e08c29386e71b65733c29fe9f5 100644 --- a/src/global.h +++ b/src/global.h @@ -9,6 +9,7 @@ #ifndef _LARGEFILE_SOURCE # define _FILE_OFFSET_BITS 64 # define _LARGEFILE_SOURCE +# define _LARGEFILE64_SOURCE 1 #endif /* diff --git a/src/interpret.c b/src/interpret.c index 590e49c2f9284f819df56d1e2a35418ba3eba94a..666a33f7f4bfe042172d5603cb6a9771212ac829 100644 --- a/src/interpret.c +++ b/src/interpret.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: interpret.c,v 1.70 1998/03/18 20:22:30 per Exp $"); +RCSID("$Id: interpret.c,v 1.71 1998/03/26 05:37:50 hubbe Exp $"); #include "interpret.h" #include "object.h" #include "program.h" @@ -1471,6 +1471,7 @@ static int eval_instruction(unsigned char *pc) default: fatal("Strange instruction %ld\n",(long)instr); } + } }