#include <stdio.h>
#include <ac/stdlib.h>
-#include <ac/ctype.h>
#include <ac/string.h>
#include <ac/time.h>
return( -1 ); /* fatal error */
}
- (void) memcpy( line, linestart, p - linestart );
+ AC_MEMCPY( line, linestart, p - linestart );
line[ p - linestart - 1 ] = '\0';
*linep = line;
return( strlen( line ));
p = *sp;
- while ( isspace( (unsigned char) *p )) { /* skip leading white space */
+ while ( LDAP_SPACE( (unsigned char) *p )) { /* skip leading white space */
++p;
}
t = tokstart = p;
for ( ;; ) {
- if ( *p == '\0' || ( isspace( (unsigned char) *p ) && !in_quote )) {
+ if ( *p == '\0' || ( LDAP_SPACE( (unsigned char) *p ) && !in_quote )) {
if ( *p != '\0' ) {
++p;
}