2004-01-28  Bruno Haible  <bruno@clisp.org>

	* gettext-0.14 released.

2004-01-24  Bruno Haible  <bruno@clisp.org>

	* progreloc.c (xstrdup): Define as strdup if no xmalloc should be used.

2004-01-21  Bruno Haible  <bruno@clisp.org>

	* config.charset: Add support for MacOS X (Darwin).

2004-01-10  Bruno Haible  <bruno@clisp.org>

	* csharpcomp.c (compile_csharp_using_pnet, compile_csharp_using_mono,
	compile_csharp_using_sscli): New functions.
	(compile_csharp_class): Call them. Respect the CSHARP_CHOICE_* macros.
	* csharpexec.c (execute_csharp_using_pnet, execute_csharp_using_mono):
	New functions.
	(execute_csharp_program): Call them. Respect the CSHARP_CHOICE_*
	macros.

2004-01-10  Bruno Haible  <bruno@clisp.org>

	* csharpcomp.sh.in: Copy the mcs output to stderr, dropping the
	"Compilation succeeded" message.
	* csharpcomp.c: Include errno.h, pipe.h, wait-process.h, getline.h.
	(compile_csharp_class): Copy the mcs output to stderr, dropping the
	"Compilation succeeded" message.

2003-12-26  Bruno Haible  <bruno@clisp.org>

	Support for C#.
	* csharpcomp.sh.in: New file.
	* csharpcomp.h: New file.
	* csharpcomp.c: New file.
	* csharpexec.sh.in: New file.
	* csharpexec.h: New file.
	* csharpexec.c: New file.
	* classpath.c (CLASSPATHVAR): New variable.
	(new_classpath, set_classpath, reset_classpath): Use it instead of
	hardcoding "CLASSPATH".
	* Makefile.am (libgettextlib_la_SOURCES): Add csharpcomp.h,
	csharpcomp.c, csharpexec.h, csharpexec.c.
	(examplesconfig_DATA): Add csharpcomp.sh.in, csharpexec.sh.in.
	* Makefile.msvc (OBJECTS): Add csharpcomp.obj, csharpexec.obj.
	(csharpcomp.obj, csharpexec.obj): New rules.
	* Makefile.vms (OBJECTS): Add csharpcomp.obj, csharpexec.obj.
	(csharpcomp.obj, csharpexec.obj): New rules.

2003-12-28  Bruno Haible  <bruno@clisp.org>

	* wait-process.c (wait_subprocess): Add ignore_sigpipe argument.
	* wait-process.c (wait_subprocess): Likewise. Handle SIGPIPE specially.
	* execute.h (execute): Add ignore_sigpipe argument.
	* execute.c (execute): Likewise.
	* javacomp.c (compile_java_class): Always pass ignore_sigpipe = false.
	* javaexec.c (execute_java_class): Likewise.

2003-09-12  Paul Eggert  <eggert@twinsun.com>

	* setenv.c (clearenv): Define via prototype.

2003-09-10  Bruno Haible  <bruno@clisp.org>

	* setenv.c: Include <stdlib.h> and <string.h> unconditionally.
	* unsetenv.c: Likewise.

2003-12-12  Bruno Haible  <bruno@clisp.org>

	Assume automake-1.8.
	* Makefile.am (install-exec-local): Renamed from install-exec-am.

2003-11-30  Bruno Haible  <bruno@clisp.org>

	* alloca.c: Remove file.
	* Makefile.am (LIBADD_SOURCE): Remove alloca.c.
	(libgettextlib_la_LIBADD): Drop @LTALLOCA@.

2003-11-30  Bruno Haible  <bruno@clisp.org>

	Safer stack allocation.
	* allocsa.h: New file.
	* allocsa.c: New file.
	* xallocsa.h: New file.
	* xallocsa.c: New file.
	* canonicalize.c: Include allocsa.h.
	(__realpath): Use allocsa instead of alloca. Don't clobber errno right
	before returning NULL.
	* javacomp.c: Include xallocsa.h.
	(compile_java_class): Use allocsa instead of alloca.
	* javaexec.c: Include xallocsa.h.
	(execute_java_class): Use allocsa instead of alloca.
	* relocwrapper.c: Indirectly depends on allocsa.
	* setenv.c: Include allocsa.h.
	(alloca): Remove fallback definition.
	(freea): Remove macro.
	(__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
	instead of freea.
	* Makefile.am (libgettextlib_la_SOURCES): Add allocsa.h, allocsa.c,
	xallocsa.h, xallocsa.c.
	* Makefile.msvc (OBJECTS): Add allocsa.obj, xallocsa.obj.
	(allocsa.obj, xallocsa.obj): New rules.
	* Makefile.vms (OBJECTS): Add allocsa.obj, xallocsa.obj.
	(allocsa.obj, xallocsa.obj): New rules.

2003-12-17  Bruno Haible  <bruno@clisp.org>

	* gettext-0.13.1 released.

2003-12-02  Bruno Haible  <bruno@clisp.org>

	* config.charset: Treat the new country name CS like the old country
	name YU.

2003-11-30  Bruno Haible  <bruno@clisp.org>

	* gettext-0.13 released.

2003-11-28  Bruno Haible  <bruno@clisp.org>

	* Makefile.msvc (OBJECTS): Fix typo.
	* wait-process.c (cleanup_slaves): Use ANSI C declaration.

2003-11-27  Bruno Haible  <bruno@clisp.org>

	* wait-process.c: On Windows, include windows.h. Needed on mingw.

2003-11-17  Bruno Haible  <bruno@clisp.org>

	* canonicalize.c: #undef realpath after <config.h> but before the
	system includes, so as to avoid a prototype clash on Solaris 2.5.1.
	Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.

2003-11-17  Bruno Haible  <bruno@clisp.org>

	* wait-process.c (wait_process): Disable the 2003-10-31 waitid() patch.

2003-11-16  Bruno Haible  <bruno@clisp.org>

	* xsize.h (xmax): New function.
	(xsum, xsum3, xsum4): Declare as "pure" functions.

2003-11-15  Bruno Haible  <bruno@clisp.org>

	* Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.

2003-11-15  Bruno Haible  <bruno@clisp.org>

	* Makefile.am (docdir, examplesconfigdir, examplesconfig_DATA): New
	variables.

2003-11-11  Bruno Haible  <bruno@clisp.org>

	* xsize.h (SIZE_MAX): Remove fallback definition.

2003-11-05  Bruno Haible  <bruno@clisp.org>

	* xsize.h: Include limits.h, to avoid a possible collision with
	SIZE_MAX defined in <limits.h> on Solaris.

2003-11-04  Bruno Haible  <bruno@clisp.org>

	* xsize.h: New file.
	* linebreak.c: Include xsize.h.
	(mbs_possible_linebreaks, mbs_width_linebreaks): Check malloc()
	argument for overflow.
	* Makefile.am (libgettextlib_la_SOURCES): Add xsize.h.

2003-10-31  Bruno Haible  <bruno@clisp.org>

	* wait-process.c (wait_process): Use waitid with WNOWAIT if available,
	to avoid (extremely rare) race condition.

2003-10-27  Bruno Haible  <bruno@clisp.org>

	* stdbool_.h: Better support for BeOS.

2003-10-14  Bruno Haible  <bruno@clisp.org>

	* hash.h: Make it includable in C++ mode.

2003-10-21  Bruno Haible  <bruno@clisp.org>

	* canonicalize.c (lstat): Define as an alias to 'stat' on systems
	without symbolic links.

2003-10-21  Bruno Haible  <bruno@clisp.org>

	* wait-process.c (kill): Define appropriately for native Woe32 API.

2003-10-21  Bruno Haible  <bruno@clisp.org>

	* mkdtemp.c (mkdir): Redefine on mingw.

2003-10-17  Bruno Haible  <bruno@clisp.org>

	* binary-io.h: Avoid warnings on Cygwin.

2003-10-09  Bruno Haible  <bruno@clisp.org>

	* xalloc.h: Renamed from xmalloc.h.
	* classpath.c: Include xalloc.h instead of xmalloc.h.
	* concatpath.c: Likewise.
	* fatal-signal.c: Likewise.
	* findprog.c: Likewise.
	* fstrcmp.c: Likewise.
	* hash.c: Likewise.
	* javacomp.c: Likewise.
	* javaexec.c: Likewise.
	* progreloc.c: Likewise.
	* relocatable.c: Likewise.
	* sh-quote.c: Likewise.
	* w32spawn.h: Likewise.
	* wait-process.c: Likewise.
	* xgetcwd.c: Likewise.
	* xmalloc.c: Likewise.
	* xreadlink.c: Likewise.
	* xstrdup.c: Likewise.
	* Makefile.am (libgettextlib_la_SOURCES): Use xalloc.h instead of
	xmalloc.h.
	* Makefile.msvc: Reorder accordingly.
	* Makefile.vms: Likewise.

2003-10-07  Bruno Haible  <bruno@clisp.org>

	More reliable subprocess cleanup.
	* javacomp.c (compile_java_class): Pass slave_process = true to
	execute(). create_pipe_in(), wait_subprocess().
	* javaexec.c (execute_java_class): Pass slave_process = true to
	execute().

	* wait-process.h (wait_subprocess): Add slave_process argument.
	(register_slave_subprocess): New declaration.
	* wait-process.c: Include string.h, signal.h, fatal-signal.h,
	xmalloc.h.
	(slaves_entry_t): New type.
	(static_slaves, slaves, slaves_count, slaves_allocated): New variables.
	(TERMINATOR): New macro.
	(cleanup_slaves, register_slave_subprocess,
	unregister_slave_subprocess): New functions.
	(wait_subprocess): Add slave_process argument.
	* execute.h (execute): Add slave_process argument.
	* execute.c: Include signal.h, fatal-signal.h.
	(execute): Add slave_process argument.
	* pipe.h (create_pipe_in, create_pipe_out, create_pipe_bidi): Add
	slave_process argument.
	* pipe-in.c: Include signal.h, fatal-signal.h, wait-process.h.
	(create_pipe_in): Add slave_process argument.
	* pipe-out.c: Include signal.h, fatal-signal.h, wait-process.h.
	(create_pipe_out): Add slave_process argument.
	* pipe-bidi.c: Include signal.h, fatal-signal.h, wait-process.h.
	(create_pipe_bidi): Add slave_process argument.

2003-10-08  Bruno Haible  <bruno@clisp.org>

	* fatal-signal.h: New file.
	* fatal-signal.c: New file.
	* Makefile.am (libgettextlib_la_SOURCES): Add them.
	* Makefile.msvc (OBJECTS): Add fatal-signal.obj.
	(fatal-signal.obj): New rule.
	* Makefile.vms (OBJECTS): Add fatal-signal.obj.
	(fatal-signal.obj): New rule.

2003-09-21  Bruno Haible  <bruno@clisp.org>

	* vasprintf.c (int_vasprintf): Assume ANSI C when copying a structure.

2003-09-16  Bruno Haible  <bruno@clisp.org>

	Portability to SunOS 4.
	* atexit.c: New file, from gnulib with modifications.
	* Makefile.am (LIBADD_SOURCE): Add atexit.c.

2003-09-14  Bruno Haible  <bruno@clisp.org>

	* closeout.c: Include fwriteerror.h.
	(close_stdout_status): Use improved errno value from fwriteerror().
	Don't call fclose; it is be done implicitly during exit().

2003-09-14  Bruno Haible  <bruno@clisp.org>

	* fwriteerror.h: New file.
	* fwriteerror.c: New file.
	* Makefile.am (libgettextlib_la_SOURCES): Add fwriteerror.h,
	fwriteerror.c.
	* Makefile.msvc (OBJECTS): Add fwriteerror.obj.
	(fwriteerror.obj): New rule.
	* Makefile.vms (OBJECTS): Add fwriteerror.obj.
	(fwriteerror.obj): New rule.

2003-09-13  Bruno Haible  <bruno@clisp.org>

	* closeout.h: New file, from gnulib with modifications.
	* closeout.c: New file, from gnulib with modifications.
	* Makefile.am (libgettextlib_la_SOURCES): Add closeout.h, closeout.c.
	* Makefile.msvc (OBJECTS): Add closeout.obj.
	(closeout.obj): New rule.
	* Makefile.vms (OBJECTS): Add closeout.obj.
	(closeout.obj): New rule.

2003-09-12  Paul Eggert  <eggert@twinsun.com>

	* progreloc.c (get_full_program_name): Define via prototype.

2003-08-28  Bruno Haible  <bruno@clisp.org>

	* binary-io.h: Undefine O_BINARY before defining it. This avoids a
	warning on QNX, which defines O_BINARY to 000000.

2003-08-27  Bruno Haible  <bruno@clisp.org>

	* getopt.h: Include config.h. Needed for DLL_VARIABLE on OSF/1 4.0.

2003-08-24  Bruno Haible  <bruno@clisp.org>

	* binary-io.h: Include <stdio.h>, to avoid a compilation error when
	MSVC7 <stdio.h> is included later.

2003-08-24  Bruno Haible  <bruno@clisp.org>

	* error.h: Use ANSI C "..." declarations when compiling with MSVC, even
	though it doesn't define __STDC__ by default.
	* error.c: Use <stdarg.h> when compiling with MSVC, even though it
	doesn't define __STDC__ by default.

2003-08-24  Bruno Haible  <bruno@clisp.org>

	Support for building DLLs on Windows.
	* argmatch.h (argmatch_die): Add DLL_VARIABLE attribute.
	* backupfile.h (simple_backup_suffix): Likewise.
	* error.h (error_print_progname, error_message_count,
	error_one_per_line): Likewise.
	* error-progname.h (error_with_progname): Likewise.
	* getopt.h (optarg, optind, opterr, optopt): Likewise.
	* obstack.h (obstack_alloc_failed_handler, obstack_exit_failure):
	Likewise.
	* progname.h (program_name): Likewise.

2003-08-24  Bruno Haible  <bruno@clisp.org>

	* backupfile.h: Make this file includable in C++ mode: add extern "C".
	* basename.h: Likewise.
	* copy-file.h: Likewise.
	* error-progname.h: Likewise.
	* findprog.h: Likewise.
	* full-write.h: Likewise.
	* pathname.h: Likewise.
	* pipe.h: Likewise.
	* progname.h: Likewise.
	* relocatable.h: Likewise.
	* stpcpy.h: Likewise.
	* stpncpy.h: Likewise,
	* strcase.h: Likewise.
	* strstr.h: Likewise.
	* wait-process.h: Likewise.
	* xerror.h: Likewise.
	* xmalloc.h: Likewise.

2003-08-23  Bruno Haible  <bruno@clisp.org>

	* getline.h: Update from gnulib.
	* getline.c: Update from gnulib.
	* getndelim2.h: New file, from gnulib.
	* getndelim2.c: New file, from gnulib.
	* Makefile.am (LIBADD_SOURCE): Add getndelim2.h, getndelim2.c.
	* Makefile.msvc (OBJECTS): Add getndelim2.obj.
	(getndelim2.obj): New rule.
	* Makefile.vms (OBJECTS): Add getndelim2.obj.
	(getndelim2.obj): New rule.

2003-08-23  Bruno Haible  <bruno@clisp.org>

	* fnmatch_.h: Renamed from pfnmatch.h.
	* fnmatch.c: Renamed from pfnmatch.c.
	* Makefile.am (LIBADD_SOURCE): Remove pfnmatch.h, pfnmatch.c, add
	fnmatch.c.
	(EXTRA_DIST): Add fnmatch_.h.
	(all-local): Depend on fnmatch.h.
	(fnmatch.h): New rule.
	(MOSTLYCLEANFILES): Add fnmatch.h.
	* Makefile.msvc (OBJECTS): Remove pfnmatch.obj, add fnmatch.obj.
	(fnmatch.obj): Renamed from pfnmatch.obj.
	* Makefile.vms (OBJECTS): Remove pfnmatch.obj, add fnmatch.obj.
	(fnmatch.h): Update rule.
	(fnmatch.obj): Renamed from pfnmatch.obj.

2003-07-01  Paul Eggert  <eggert@twinsun.com>

	* xreadlink.c: Include <sys/types.h> unconditionally, instead of
	having it depend on HAVE_SYS_TYPES_H.

2003-06-27  Bruno Haible  <bruno@clisp.org>

	Avoid use of *_unlocked functions on Solaris 2.5.1.
	* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
	Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.

2003-08-22  Bruno Haible  <bruno@clisp.org>

	* error-progname.h: New file, extracted from progname.h.
	* error-progname.c: New file, extracted from progname.c.
	* progname.h (error_with_progname, maybe_print_progname): Remove
	declarations.
	* progname.c (error_with_progname): Remove variable.
	(maybe_print_progname): Remove function.
	* xerror.c: Include error-progname.h.
	* Makefile.am (libgettextlib_la_SOURCES): Add error-progname.h and
	error-progname.c.
	* Makefile.msvc (OBJECTS): Add error-progname.obj.
	(error-progname.obj): New rule.
	* Makefile.vms (OBJECTS): Add error-progname.obj.
	(error-progname.obj): New rule.

2003-08-20  Bruno Haible  <bruno@clisp.org>

	* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
	Reported by Alain Guibert <derogaton+bgli@oreka.com>.

2003-08-11  Bruno Haible  <bruno@clisp.org>

	* stdbool_.h: Update from gnulib.
	2003-08-11  Bruno Haible  <bruno@clisp.org>
		* stdbool_.h (_Bool): Undo last change; instead use a negative
		enum value to ensure that _Bool promotes to int. Use #define
		for _Bool when using the Solaris C compiler. Adds comments
		suggested by Paul Eggert.
	2003-08-03  Paul Eggert  <eggert@twinsun.com>
		* stdbool_.h (_Bool): Make it signed char, instead of
		an enum type, so that it's guaranteed to promote to int.  See:
		<http://mail.gnu.org/archive/html/bug-gnulib/2003-07/msg00124.html>

2003-05-28  Paul Eggert  <eggert@twinsun.com>

	* safe-read.c (CHAR_BIT): Don't define, since <limits.h> is guaranteed
	to do that.
	* safe-read.c (INT_MAX): Don't define, since <limits.h> does that.
	* safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed.
	* safe-read.c: Remove TYPE_SIGNED; no longer needed.

2003-04-25  Bruno Haible  <bruno@clisp.org>

	* copy-file.c: Include <stddef.h>, for size_t.

2003-03-03  Paul Eggert  <eggert@twinsun.com>
            Bruno Haible  <bruno@clisp.org>

	* mbswidth.h: Include <wchar.h>. Needed for UnixWare 7.1.1.
	Reported by John Hughes, see
	http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html

2003-01-28  Bruno Haible  <bruno@clisp.org>

	* c-ctype.h: Assume C_CTYPE_CONSECUTIVE_DIGITS.
	(c_isascii, c_isalnum, c_isalpha, c_isxdigit): Optimize.
	* c-ctype.c (c_isascii, c_isalnum, c_isalpha, c_ispunct, c_isxdigit):
	Optimize.
	Suggested by Paul Eggert.

2003-01-23  Bruno Haible  <bruno@clisp.org>

	* minmax.h: Add comments from Paul Eggert.

2002-11-15  Bruno Haible  <bruno@clisp.org>

	* strcspn.c: Include <stddef.h>.
	* strpbrk.c: Minimize diffs to glibc. Include <stddef.h>.

2003-08-14  Bruno Haible  <bruno@clisp.org>

	* config.charset: Add support for Linux libc5. Based on data from
	Alain Guibert <derogaton+bgli@oreka.com>.

2003-08-01  Bruno Haible  <bruno@clisp.org>

	* relocatable.c (find_shared_library_fullname): Disable the code on
	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.

2003-07-09  Paul Eggert  <eggert@twinsun.com>

	* alloca_.h: Switch from LGPL to GPL.

2003-07-01  Bruno Haible  <bruno@clisp.org>

	* readlink.c: New file, from gnulib.
	* Makefile.am (LIBADD_SOURCE): Add it.

2003-07-01  Bruno Haible  <bruno@clisp.org>

	* Makefile.am (EXTRA_DIST, stdbool.h): Use stdbool_.h instead of
	stdbool.h.in.

2003-05-28  Paul Eggert  <eggert@twinsun.com>

	* pathmax.h: Include <limits.h> without checking for HAVE_LIMITS_H.
	* addext.c: Likewise.
	* backupfile.c: Likewise.
	* xreadlink.c: Likewise.

2003-06-23  Bruno Haible  <bruno@clisp.org>

	Avoid compilation units that are empty after preprocessing.
	* canonicalize.c: Add dummy declaration.
	* strerror.c: Likewise.
	* strtoul.c: Likewise.
	* error.c: Include <stdio.h> even if there's nothing to be compiled.

2003-06-22  Bruno Haible  <bruno@clisp.org>

	Portability to mingw32.
	* relocatable.c [WIN32]: Include <windows.h>.
	Reported by Jeff Bonggren <jbon@cfl.rr.com>.

2003-06-22  Bruno Haible  <bruno@clisp.org>

	* relocatable.c (compute_curr_prefix): Comment out this function in
	the case when it is not used.
	Reported by Pavel Roskin <proski@gnu.org>.

2003-06-13  Bruno Haible  <bruno@clisp.org>

	* wait-process.h (wait_subprocess): Add null_stderr argument.
	* wait-process.c (wait_subprocess): Add null_stderr argument.
	When !exit_on_error && !null_stderr, still emit error messages, but
	don't exit.
	* execute.c (execute): When !exit_on_error && !null_stderr, still
	emit error messages, but don't exit. Update wait_subprocess call.
	* pipe-in.c (create_pipe_in): When !exit_on_error && !null_stderr,
	still emit error messages, but don't exit.
	* pipe-out.c (create_pipe_out): Likewise.
	* pipe-bidi.c (create_pipe_bidi): Likewise.
	* javacomp.c (compile_java_class): Update wait_subprocess call.

2003-06-08  Bruno Haible  <bruno@clisp.org>

	* Makefile.vms (alloca.h): New rule.
	(all, javacomp.obj, javaexec.obj): Depend on it.
	(getopt.obj): Compile with ELIDE_CODE.
	* canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
	* xgetcwd.c (getcwd) [VMS]: Pass 3 arguments.
	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.

2003-05-22  Bruno Haible  <bruno@clisp.org>

	* gettext-0.12.1 released.

2003-05-18  Bruno Haible  <bruno@clisp.org>

	* Makefile.msvc (DEBUGFLAGS): New variable.
	(gettextlib.lib): Use it.

2003-05-17  Bruno Haible  <bruno@clisp.org>

	* gettext-0.12 released.

2003-05-17  Bruno Haible  <bruno@clisp.org>

	* Makefile.msvc (OBJECTS): Remove strpbrk.obj.
	(strpbrk.obj): Remove rule.

	* w32spawn.h (dup_noinherit): Cast _get_osfhandle result and
	_open_osfhandle argument, to avoid warnings.
	(prepare_spawn): Add a cast.
	* execute.c (execute) [WIN32]: Don't call wait_subprocess; the
	return value from spawnvp is already the exit code.

2003-05-10  Bruno Haible  <bruno@clisp.org>

	* linebreak.c (iconv_string_length): Don't return -1 just because the
	string is longer than 4 KB.

2003-05-09  Bruno Haible  <bruno@clisp.org>

	* error.c: Update from gnulib with modifications.
	* unlocked-io.h: New file, from gnulib.
	* Makefile.am (libgettextlib_la_SOURCES): Add it.

2003-05-09  Bruno Haible  <bruno@clisp.org>

	* canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
	"extraneous semicolon" warning from Tru64 cc.

2003-05-06  Bruno Haible  <bruno@clisp.org>

	* Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
	* Makefile.msvc (CFLAGS): Likewise.

2003-05-03  Bruno Haible  <bruno@clisp.org>

	Upgrade to Unicode-4.0.
	* linebreak.c (nonspacing_table_data): Change width of U+00AD,
	U+0350..U+0357, U+035D..U+035F, U+0600..U+0603, U+0610..U+0615,
	U+0656..U+0658, U+0A01, U+0AE2..U+0AE3, U+0CBC, U+17B4..U+17B5,
	U+17DD, U+1920..U+1922, U+1927..U+192B, U+1932, U+1939..U+193B
	from 1 to 0. Change width of U+0CBF, U+0CC6, U+180E from 0 to 1.
	(uc_width): Change width of U+4DC0..U+4DFF from 2 to 1. Change width
	of U+2A6D7..U+2F7FF, U+2FA1E..U+2FFFD, U+30000..U+3FFFD from 1 to 2.
	Change width of U+E0100..U+E01EF from 1 to 0.

2003-05-02  Bruno Haible  <bruno@clisp.org>

	Support for libtool-1.5.
	* progname.c (set_program_name): Remove a leading "<dirname>/.libs/lt-"
	or "<dirname>/.libs/", not only "lt-".

2003-04-12  Bruno Haible  <bruno@clisp.org>

	* Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
	lines. Update library creation rule. Don't use the force target.
	Correct wildcard syntax. Create fnmatch.h.
	Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.

2003-04-12  Bruno Haible  <bruno@clisp.org>

	* localcharset.c (get_charset_aliases): Add special case for VMS.

2003-04-10  Bruno Haible  <bruno@clisp.org>

	* findprog.c (find_in_path): Use 'bool' and eaccess().
	Suggested by Paul Eggert.

2003-04-06  Bruno Haible  <bruno@clisp.org>

	* progname.c: Move out all methods depending on ENABLE_RELOCATABLE...
	* progreloc.c: ... to here. New file.
	* Makefile.am (libgettextlib_la_SOURCES): Add progreloc.c.
	* Makefile.msvc (OBJECTS): Add progreloc.obj.
	(progreloc.obj): New rule.
	* Makefile.vms (OBJECTS): Add progreloc.obj.
	(progreloc.obj): New rule.

2003-04-05  Bruno Haible  <bruno@clisp.org>

	* relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV,
	DEPENDS_ON_LIBINTL, not on NO_LIBRARIES.
	* Makefile.am (DEFS): Define DEPENDS_ON_LIBINTL and DEPENDS_ON_LIBICONV,
	for relocatable.c.
	* Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBINTL and
	DEPENDS_ON_LIBCONV.

2003-04-05  Bruno Haible  <bruno@clisp.org>

	* relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
	declared by <stdio.h>.

2003-03-30  Bruno Haible  <bruno@clisp.org>

	* xgetcwd.c: Include <unistd.h>.

2003-04-03  Bruno Haible  <bruno@clisp.org>

	* w32spawn.h (dup_noinherit): Signal an error instead of returning -1.
	* execute.c: Reorder includes.
	* pipe-bidi.c: Likewise.
	* pipe-in.c: Likewise.
	* pipe-out.c: Likewise.

2003-04-02  Bruno Haible  <bruno@clisp.org>

	* binary-io.h: Cosmetics. Suggested by Jim Meyering.

2003-03-30  Bruno Haible  <bruno@clisp.org>

	* Makefile.vms: New file.
	* Makefile.am (EXTRA_DIST): Add Makefile.vms.
	* execute.c (open): #undef before redefining it. Needed for VMS.
	* pipe-in.c (open): Likewise.
	* pipe-out.c (open): Likewise.

2003-03-31  Bruno Haible  <bruno@clisp.org>

	* sh-quote.c (shell_quote_length, shell_quote_copy): Handle empty
	argument string correctly.

2003-03-30  Bruno Haible  <bruno@clisp.org>

	* progname.c (ISSLASH, HAS_DEVICE, IS_PATH_WITH_DIR,
	FILESYSTEM_PREFIX_LEN): New macros.
	(maybe_executable): Make a nop on Woe32.
	(find_executable) [WIN32]: Fix compilation.

	* relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro.

	* w32spawn.h: New file.
	* execute.c: Add alternative implementation using native Woe32 API.
	* pipe-bidi.c: Likewise.
	* pipe-in.c: Likewise.
	* pipe-out.c: Likewise.
	* wait-process.c: Likewise.
	* Makefile.am (libgettextlib_la_SOURCES): Add w32spawn.h.

	* pipe.h (DEV_NULL): New macro.
	* javacomp.c (compile_java_class): Use DEV_NULL instead of "/dev/null".

	* pipe-bidi.c (STDERR_FILENO): Provide a fallback value.
	* pipe-in.c (STDERR_FILENO): Likewise.
	* pipe-out.c (STDERR_FILENO): Likewise.

	* copy-file.c (copy_file_preserving): Don't set owner if the function
	chown() doesn't exist.

2003-03-17  Bruno Haible  <bruno@clisp.org>

	Native Woe32/MSVC support.
	* Makefile.msvc: New file.
	* Makefile.am (EXTRA_DIST): Add it.

2003-03-28  Bruno Haible  <bruno@clisp.org>

	* copy-file.h (copy_file_preserving): Renamed from copy_file.
	* copy-file.c (copy_file_preserving): Renamed from copy_file.
	Preserve the owner and group as well.

2003-02-28  Bruno Haible  <bruno@clisp.org>

	Support for relocatable installation.
	* canonicalize.h: New file.
	* canonicalize.c: New file, from glibc 2.3.1 with modifications.
	* relocatable.h: New file.
	* relocatable.c: New file.
	* relocwrapper.c: New file.
	* strerror.c: New file, from gnulib with modifications.
	* xreadlink.h: New file, from gnulib with modifications.
	* xreadlink.c: New file, from gnulib with modifications.
	* progname.h (set_program_name_and_installdir): New declaration.
	(set_program_name) [ENABLE_RELOCATABLE]: Define as macro.
	(get_full_program_name): New declaration.
	* progname.c: Include xreadlink.h, canonicalize.h, relocatable.h.
	(executable_fd): New variable.
	(maybe_executable): New function.
	(find_executable): New function.
	(executable_fullname): New variable.
	(prepare_relocate): New function.
	(set_program_name_and_installdir): New function.
	(get_full_program_name): New function.
	* localcharset.c: Include relocatable.h.
	(get_charset_aliases): Relocate LIBDIR value.
	* xmalloc.h (xalloc_die): New declaration.
	* xmalloc.c (xalloc_die): New function.
	(fixup_null_alloc): Use it.
	* Makefile.am (libgettextlib_la_SOURCES): Add xreadlink.h, xreadlink.c.
	(LIBADD_SOURCE): Add canonicalize.h, canonicalize.c, memmove.c,
	relocatable.h, relocatable.c, strerror.c.
	(UNUSED_SOURCE): Remove memmove.c.
	(EXTRA_DIST): Add relocwrapper.c.

2003-02-28  Bruno Haible  <bruno@clisp.org>

	* localcharset.h: Change copyright to LGPL. Enclose declaration in
	extern "C", for C++ compilers.
	* localcharset.c: Drop C linkage declaration.

2003-01-29  Bruno Haible  <bruno@clisp.org>

	* config.charset: Add an alias for CP1251 on Solaris.
	Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.

2003-02-18  Bruno Haible  <bruno@clisp.org>

	* copy-file.c: Include safe-read.h.
	(copy_file): Simplify code by using safe_read() instead of read().

2003-02-12  Bruno Haible  <bruno@clisp.org>

	* Makefile.am (EXTRA_DIST): Add ChangeLog.0.


See ChangeLog.0 for earlier changes.
