Changeset 1308
- Timestamp:
- 10/10/08 12:52:40 (2 months ago)
- Files:
-
- 1.8.3/branches/devel/config.h.in (modified) (1 diff)
- 1.8.3/branches/devel/configure (modified) (1 diff)
- 1.8.3/branches/devel/configure.in (modified) (1 diff)
- 1.8.3/branches/devel/hdrs/externs.h (modified) (1 diff)
- 1.8.3/branches/devel/src/funlist.c (modified) (1 diff)
- 1.8.3/branches/devel/src/look.c (modified) (1 diff)
- 1.8.3/branches/devel/src/strutil.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/config.h.in
r1302 r1308 267 267 268 268 269 #undef HAVE_STRCHRNUL 270 269 271 #undef HAVE_STRDUP 270 272 1.8.3/branches/devel/configure
r1302 r1308 16591 16591 16592 16592 16593 for ac_func in strxfrm _strncoll _stricoll _strnicoll str dup16593 for ac_func in strxfrm _strncoll _stricoll _strnicoll strchrnul 16594 16594 do 16595 16595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 1.8.3/branches/devel/configure.in
r1302 r1308 244 244 AC_CHECK_FUNCS([strcasecmp strncasecmp _stricmp _strnicmp strdup]) 245 245 AC_FUNC_STRCOLL 246 AC_CHECK_FUNCS([strxfrm _strncoll _stricoll _strnicoll str dup])246 AC_CHECK_FUNCS([strxfrm _strncoll _stricoll _strnicoll strchrnul]) 247 247 AC_CHECK_FUNC(sysconf, [AC_DEFINE(HAS_SYSCONF)]) 248 248 AC_CHECK_FUNC(textdomain, [AC_DEFINE(HAS_TEXTDOMAIN)]) 1.8.3/branches/devel/hdrs/externs.h
r1298 r1308 434 434 char *upcasestr(char *s); 435 435 char *skip_space(const char *s); 436 #ifdef HAVE_STRCHRNUL 437 #define seek_char(s,c) strchrnul((s),(c)) 438 #else 436 439 char *seek_char(const char *s, char c); 440 #endif 437 441 size_t u_strlen(const unsigned char *s); 438 442 unsigned char *u_strncpy 1.8.3/branches/devel/src/funlist.c
r1157 r1308 9 9 10 10 #include "config.h" 11 #define _GNU_SOURCE 11 12 #include <string.h> 12 13 #include <ctype.h> 1.8.3/branches/devel/src/look.c
r1150 r1308 9 9 #include "config.h" 10 10 #include "copyrite.h" 11 11 #define _GNU_SOURCE 12 12 #include <string.h> 13 13 #include <ctype.h> 1.8.3/branches/devel/src/strutil.c
r1156 r1308 862 862 } 863 863 864 #ifndef HAVE_STRCHRNUL 864 865 /** Return a pointer to next char in s which matches c, or to the terminating 865 866 * nul at the end of s. … … 878 879 return p; 879 880 } 881 #endif 880 882 881 883 /** Unsigned char version of strlen.
