projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(excluded_file_name): New prototype
[gnulib.git]
/
lib
/
unicodeio.c
diff --git
a/lib/unicodeio.c
b/lib/unicodeio.c
index
30fbb2a
..
42f467c
100644
(file)
--- a/
lib/unicodeio.c
+++ b/
lib/unicodeio.c
@@
-14,7
+14,7
@@
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
- Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+ Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
/* Written by Bruno Haible <haible@clisp.cons.org>. */
/* Written by Bruno Haible <haible@clisp.cons.org>. */
@@
-29,11
+29,7
@@
#include "unicodeio.h"
#include <stdio.h>
#include "unicodeio.h"
#include <stdio.h>
-#if HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <string.h>
#include <errno.h>
#ifndef errno
#include <errno.h>
#ifndef errno
@@
-186,7
+182,7
@@
unicode_to_mb (unsigned int code,
)
return failure (code, NULL, callback_arg);
)
return failure (code, NULL, callback_arg);
- /* Avoid glibc-2.1 bug and Solaris
2.
7 bug. */
+ /* Avoid glibc-2.1 bug and Solaris 7 bug. */
# if defined _LIBICONV_VERSION \
|| !((__GLIBC__ - 0 == 2 && __GLIBC_MINOR__ - 0 <= 1) || defined __sun)
# if defined _LIBICONV_VERSION \
|| !((__GLIBC__ - 0 == 2 && __GLIBC_MINOR__ - 0 <= 1) || defined __sun)