projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module 'uninorm/u8-normalize'.
[gnulib.git]
/
lib
/
mbssep.c
diff --git
a/lib/mbssep.c
b/lib/mbssep.c
index
a19f68f
..
3a9b530
100644
(file)
--- a/
lib/mbssep.c
+++ b/
lib/mbssep.c
@@
-1,5
+1,5
@@
/* Tokenizing a string.
/* Tokenizing a string.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2008
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
@@
-20,14
+20,11
@@
/* Specification. */
#include <string.h>
/* Specification. */
#include <string.h>
-#if HAVE_MBRTOWC
-# include "mbuiter.h"
-#endif
+#include "mbuiter.h"
char *
mbssep (char **stringp, const char *delim)
{
char *
mbssep (char **stringp, const char *delim)
{
-#if HAVE_MBRTOWC
if (MB_CUR_MAX > 1)
{
char *start = *stringp;
if (MB_CUR_MAX > 1)
{
char *start = *stringp;
@@
-60,6
+57,5
@@
mbssep (char **stringp, const char *delim)
}
}
else
}
}
else
-#endif
return strsep (stringp, delim);
}
return strsep (stringp, delim);
}