projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module mbsncasecmp.
[gnulib.git]
/
lib
/
xstrndup.c
diff --git
a/lib/xstrndup.c
b/lib/xstrndup.c
index
afcbc1a
..
7ccefd7
100644
(file)
--- a/
lib/xstrndup.c
+++ b/
lib/xstrndup.c
@@
-1,6
+1,6
@@
/* Duplicate a bounded initial segment of a string, with out-of-memory
checking.
/* Duplicate a bounded initial segment of a string, with out-of-memory
checking.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006
, 2007
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,7
+21,7
@@
/* Specification. */
#include "xstrndup.h"
/* Specification. */
#include "xstrndup.h"
-#include
"strndup.h"
+#include
<string.h>
#include "xalloc.h"
/* Return a newly allocated copy of at most N bytes of STRING.
#include "xalloc.h"
/* Return a newly allocated copy of at most N bytes of STRING.