Date: Thursday April 26, 2001 @ 19:45 Author: cameron Update of /home/netrek/cvsroot/Vanilla/robotd In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv18519/robotd Modified Files: input.c Added Files: Makefile.in Removed Files: Makefile Log Message: Significant build environment changes from Benjamin `Quisar' Lerman which do the following; - permit compilation with CWD outside source tree, - include robotd in server build, - add configure --with-gum flag, - add configure --with-inl flag, (still needs to adjust .sysdef) - change configure detection of signal style, - allow environment variables CFLAGS and LDFLAGS to be set before configure, - fix a pledit core dump, - change robotd to use limits.h instead of values.h All Makefiles are now removed, replaced by Makefile.in files, which configure uses to generate the Makefiles. Also includes some minor fixes by James Cameron. See ChangeLog **************************************** Index: Vanilla/robotd/input.c diff -u Vanilla/robotd/input.c:1.1 Vanilla/robotd/input.c:1.2 --- Vanilla/robotd/input.c:1.1 Tue Feb 22 16:49:30 2000 +++ Vanilla/robotd/input.c Thu Apr 26 19:45:20 2001 @@ -87,8 +87,8 @@ FD_SET(0, &readfd); v = select(32, &readfd, NULL, NULL, &timeout); if(v > 0){ - (void)gets(_buf); - R_ProcMessage(_buf, 0, -1, (unsigned char)-1, (unsigned char)1); + if(fgets(_buf, 80, stdin) != NULL) + R_ProcMessage(_buf, 0, -1, (unsigned char)-1, (unsigned char)1); } else if(v < 0){ perror("process_stdin'select");