/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+/* Portions
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
#include <ac/ctype.h>
#include <ac/string.h>
#include <ac/time.h>
-extern char *strdup (const char *);
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
p = *sp;
- while ( isspace( *p )) { /* skip leading white space */
+ while ( isspace( (unsigned char) *p )) { /* skip leading white space */
++p;
}
t = tokstart = p;
for ( ;; ) {
- if ( *p == '\0' || ( isspace( *p ) && !in_quote )) {
+ if ( *p == '\0' || ( isspace( (unsigned char) *p ) && !in_quote )) {
if ( *p != '\0' ) {
++p;
}