From 9c3948cf0e8815e822af15ae7d31e97f86c3e91a Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 21 Jan 2008 11:11:34 +0100 Subject: [PATCH] ff-utf8.h is back... as an alias to ff-unicode.h --- lib/Makefile | 2 +- lib/ff-unicode.h | 7 ++++--- lib/ff-utf8.h | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 lib/ff-utf8.h diff --git a/lib/Makefile b/lib/Makefile index 432a14ec..7e520c28 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -49,7 +49,7 @@ LIBUCW_INCLUDES= \ bitops.h \ conf.h getopt.h ipaccess.h \ profile.h \ - fastbuf.h lfs.h ff-unicode.h ff-binary.h \ + fastbuf.h lfs.h ff-unicode.h ff-utf8.h ff-binary.h \ chartype.h unicode.h stkstring.h \ wildmatch.h patmatch.h \ db.h \ diff --git a/lib/ff-unicode.h b/lib/ff-unicode.h index 93f8a06e..af39bbda 100644 --- a/lib/ff-unicode.h +++ b/lib/ff-unicode.h @@ -1,15 +1,16 @@ /* - * UCW Library: Reading and writing of UTF-8 on Fastbuf Streams + * UCW Library: Reading and writing of UTF-8 and UTF-16 on Fastbuf Streams * * (c) 2001--2004 Martin Mares * (c) 2004 Robert Spalek + * (c) 2007--2008 Pavel Charvat * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. */ -#ifndef _UCW_FF_UTF8_H -#define _UCW_FF_UTF8_H +#ifndef _UCW_FF_UNICODE_H +#define _UCW_FF_UNICODE_H #include "lib/fastbuf.h" #include "lib/unicode.h" diff --git a/lib/ff-utf8.h b/lib/ff-utf8.h new file mode 100644 index 00000000..af7543f2 --- /dev/null +++ b/lib/ff-utf8.h @@ -0,0 +1,15 @@ +/* + * UCW Library: An alias for lib/ff-unicode.h (for backwards compatibility) + * + * (c) 2008 Pavel Charvat + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. + */ + +#ifndef _UCW_FF_UTF8_H +#define _UCW_FF_UTF8_H + +#include "lib/ff-unicode.h" + +#endif -- 2.39.2