Update of /cvsroot/x2serv/x2/source
In directory usw-pr-cvs1:/tmp/cvs-serv12265
Modified Files:
config.h set.c
Log Message:
isblank() is not portable. changed to isspace()
Index: config.h
===================================================================
RCS file: /cvsroot/x2serv/x2/source/config.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** config.h 2001/02/13 13:22:48 1.54
--- config.h 2001/03/02 09:52:21 1.55
***************
*** 15,18 ****
--- 15,19 ----
#include <string.h>
#include <ctype.h>
+ #include <time.h>
/* If your system doesnt have this, try commenting it out. */
Index: set.c
===================================================================
RCS file: /cvsroot/x2serv/x2/source/set.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** set.c 2001/01/23 14:16:27 1.1
--- set.c 2001/03/02 09:52:21 1.2
***************
*** 2,5 ****
--- 2,6 ----
#include "commands.h"
#include "set.h"
+ #include "ctype.h"
set_list set_commands[NUMOFCHANSETTINGS+1] =
***************
*** 331,335 ****
for(n=strlen(param)-1;n>=0;n--)
{
! if(isblank(param[n]))
param[n] = '\0';
else
--- 332,336 ----
for(n=strlen(param)-1;n>=0;n--)
{
! if(isspace(param[n]))
param[n] = '\0';
else
|