+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wcscpy'.
+ * modules/wcscpy: New file.
+ * lib/wchar.in.h (wcscpy): New declaration.
+ * lib/wcscpy.c: New file.
+ * lib/wcscpy-impl.h: New file, from libutf8 with modifications.
+ * m4/wcscpy.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscpy is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCPY, HAVE_WCSCPY.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WCSCPY, HAVE_WCSCPY.
+ * tests/test-wchar-c++.cc: Test the declaration of wcscpy.
+ * doc/posix-functions/wcscpy.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wcsnlen'.
+ * modules/wcsnlen: New file.
+ * lib/wchar.in.h (wcsnlen): New declaration.
+ * lib/wcsnlen.c: New file.
+ * lib/wcsnlen-impl.h: New file, from libutf8 with modifications.
+ * m4/wcsnlen.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsnlen is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNLEN, HAVE_WCSNLEN.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WCSNLEN, HAVE_WCSNLEN.
+ * tests/test-wchar-c++.cc: Test the declaration of wcsnlen.
+ * doc/posix-functions/wcsnlen.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wcslen'.
+ * modules/wcslen: New file.
+ * lib/wchar.in.h (wcslen): New declaration.
+ * lib/wcslen.c: New file.
+ * lib/wcslen-impl.h: New file, from libutf8 with modifications.
+ * m4/wcslen.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcslen is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSLEN, HAVE_WCSLEN.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WCSLEN, HAVE_WCSLEN.
+ * tests/test-wchar-c++.cc: Test the declaration of wcslen.
+ * doc/posix-functions/wcslen.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wmemset'.
+ * modules/wmemset: New file.
+ * lib/wchar.in.h (wmemset): New declaration.
+ * lib/wmemset.c: New file.
+ * lib/wmemset-impl.h: New file, from libutf8 with modifications.
+ * m4/wmemset.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wmemset is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WMEMSET, HAVE_WMEMSET.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WMEMSET, HAVE_WMEMSET.
+ * tests/test-wchar-c++.cc: Test the declaration of wmemset.
+ * doc/posix-functions/wmemset.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wmemmove'.
+ * modules/wmemmove: New file.
+ * lib/wchar.in.h (wmemmove): New declaration.
+ * lib/wmemmove.c: New file.
+ * lib/wmemmove-impl.h: New file, from libutf8 with modifications.
+ * m4/wmemmove.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wmemmove is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WMEMMOVE, HAVE_WMEMMOVE.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WMEMMOVE,
+ HAVE_WMEMMOVE.
+ * tests/test-wchar-c++.cc: Test the declaration of wmemmove.
+ * doc/posix-functions/wmemmove.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wmemcpy'.
+ * modules/wmemcpy: New file.
+ * lib/wchar.in.h (wmemcpy): New declaration.
+ * lib/wmemcpy.c: New file.
+ * lib/wmemcpy-impl.h: New file, from libutf8 with modifications.
+ * m4/wmemcpy.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wmemcpy is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WMEMCPY, HAVE_WMEMCPY.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WMEMCPY, HAVE_WMEMCPY.
+ * tests/test-wchar-c++.cc: Test the declaration of wmemcpy.
+ * doc/posix-functions/wmemcpy.texi: Mention the new module.
+
+2011-02-05 Bruno Haible <bruno@clisp.org>
+
+ New module 'wmemcmp'.
+ * modules/wmemcmp: New file.
+ * lib/wchar.in.h (wmemcmp): New declaration.
+ * lib/wmemcmp.c: New file.
+ * lib/wmemcmp-impl.h: New file, from libutf8 with modifications.
+ * m4/wmemcmp.m4: New file.
+ * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wmemcmp is declared.
+ (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WMEMCMP, HAVE_WMEMCMP.
+ * modules/wchar (Makefile.am): Substitute GNULIB_WMEMCMP, HAVE_WMEMCMP.
+ * tests/test-wchar-c++.cc: Test the declaration of wmemcmp.
+ * doc/posix-functions/wmemcmp.texi: Mention the new module.
+
+2011-02-07 Jim Meyering <meyering@redhat.com>
+
+ di-set, ino-map: new modules, from coreutils
+ * lib/di-set.c: New file.
+ * lib/di-set.h: Likewise.
+ * lib/ino-map.c: Likewise.
+ * lib/ino-map.h: Likewise.
+ * modules/di-set: Likewise.
+ * modules/di-set-tests: Likewise.
+ * modules/ino-map: Likewise.
+ * modules/ino-map-tests: Likewise.
+ * tests/test-di-set.c: Likewise.
+ * tests/test-ino-map.c: Likewise.
+
+2011-02-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ getloadavg: merge minor changes from Emacs
+
+ * lib/getloadavg.c (getloadavg_initialized): More-accurate comment.
+ (getloadavg): Use memset, not bzero.
+
+ 2008-07-25 Chong Yidong <cyd@stupidchicken.com>
+ * lib/getloadavg.c (nl): Rename to name_list to avoid ncurses.h
+ clash (bug#86).
+
+2010-11-14 Bruno Haible <bruno@clisp.org>
+
+ Allow multiple gnulib generated replacements to coexist.
+ * lib/getopt.in.h (struct option): Avoid identical redefinition.
+ * lib/inttypes.in.h (imaxdiv_t): Likewise.
+ * lib/langinfo.in.h (nl_item): Likewise.
+ * lib/math.in.h (_NaN, NAN): Likewise.
+ * lib/netdb.in.h (struct addrinfo): Likewise.
+ * lib/poll.in.h (struct pollfd, nfds_t): Likewise.
+ * lib/pthread.in.h (pthread_t, pthread_attr_t, pthread_barrier_t,
+ pthread_barrierattr_t, pthread_cond_t, pthread_condattr_t,
+ pthread_key_t, pthread_mutex_t, pthread_mutexattr_t, pthread_once_t,
+ pthread_rwlock_t, pthread_rwlockattr_t, pthread_cond_destroy,
+ pthread_cond_init, pthread_cond_signal, pthread_cond_wait,
+ pthread_create, pthread_exit, pthread_join, pthread_mutexattr_destroy,
+ pthread_mutexattr_init, pthread_mutexattr_settype,
+ pthread_mutex_destroy, pthread_mutex_init, pthread_mutex_lock,
+ pthread_mutex_trylock, pthread_mutex_unlock, pthread_spinlock_t,
+ pthread_spin_init, pthread_spin_destroy, pthread_spin_lock,
+ pthread_spin_trylock, pthread_spin_unlock): Likewise.
+ * lib/sched.in.h (struct sched_param): Likewise.
+ * lib/se-selinux.in.h (security_class_t, security_context_t,
+ is_selinux_enabled, getcon, freecon, getfscreatecon, setfscreatecon,
+ matchpathcon, getfilecon, lgetfilecon, fgetfilecon, setfilecon,
+ lsetfilecon, fsetfilecon, security_check_context,
+ security_check_context_raw, setexeccon, matchpathcon_init_prefix):
+ Likewise.
+ * lib/search.in.h (VISIT, _gl_search_compar_fn, _gl_search_action_fn):
+ Likewise.
+ * lib/signal.in.h (sig_atomic_t, sigset_t, verify_NSIG_constraint,
+ _gl_function_taking_int_returning_void_t, union sigval,
+ struct siginfo_t, siginfo_t, struct sigaction): Likewise.
+ * lib/spawn.in.h (posix_spawnattr_t, posix_spawn_file_actions_t,
+ verify_POSIX_SPAWN_USEVFORK_no_overlap): Likewise.
+ * lib/stdint.in.h (gl_int8_t, gl_uint8_t, gl_int16_t, gl_uint16_t,
+ gl_int32_t, gl_uint32_t, gl_int64_t, gl_uint64_t, int_least8_t,
+ uint_least8_t, int_least16_t, uint_least16_t, int_least32_t,
+ uint_least32_t, int_least64_t, uint_least64_t, gl_int_fast8_t,
+ gl_uint_fast8_t, gl_int_fast16_t, gl_uint_fast16_t, gl_int_fast32_t,
+ gl_uint_fast32_t, int_fast64_t, uint_fast64_t, gl_intptr_t,
+ gl_uintptr_t, intmax_t, uintmax_t, _verify_intmax_size): Likewise.
+ * lib/stdio.in.h (rpl_fseek, rpl_ftell): Likewise.
+ * lib/sys_socket.in.h (sa_family_t, struct sockaddr_storage,
+ socklen_t, rpl_fd_isset): Likewise.
+ * lib/sys_stat.in.h (rpl_mkdir): Likewise.
+ * lib/sys_time.in.h (struct timeval): Likewise.
+ * lib/sys_times.in.h (struct tms): Likewise.
+ * lib/sys_utsname.in.h (struct utsname):
+ * lib/time.in.h (struct timespec, __time_t_must_be_integral): Likewise.
+ * lib/unistd.in.h (getpagesize): Likewise.
+ * lib/wchar.in.h (mbstate_t): Likewise.
+ * lib/wctype.in.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit,
+ iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit,
+ towlower, towupper): Likewise.
+ Reported by Sam Steingold <sds@gnu.org>.
+
+2011-02-05 Eric Blake <eblake@redhat.com>
+
+ unsetenv: work around Haiku issues
+ * m4/setenv.m4 (gl_FUNC_UNSETENV): Also detect Haiku issue.
+ * doc/posix-functions/unsetenv.texi (unsetenv): Document it.
+
+2010-12-30 Bruce Korb <bkorb@gnu.org>
+
+ libposix: avoid calling error() within libposix
+ * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX
+ is defined.
+
2011-02-05 Eric Blake <eblake@redhat.com>
strerror_r-posix: port to cygwin
* doc/posix-functions/gmtime_r.texi: Document the HP-UX 11 problem.
* doc/posix-functions/localtime_r.texi: Likewise.
-2010-12-30 Bruce Korb <bkorb@gnu.org>
-
- libposix: avoid calling error() within libposix
- * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX
- is defined.
- * lib/xalloc-die.c: Same thing.
-
2010-12-29 Eric Blake <eblake@redhat.com>
mountlist: tweak previous commit
* lib/ftoastr.h, lib/ftoastr.c, lib/dtoastr.c, lib/ldtoastr.c:
* modules/ftoastr: New files.
-2010-11-16 Bruce Korb <bkorb@gnu.org>
-
- libposix: Libposix module will be created on the fly
- * modules/libposix: remove
- * modules/*: Use pkginclude_HEADERS instead of plain "include".
- * gnulib-tool: adjust here, too
-
2010-11-15 Paul Eggert <eggert@cs.ucla.edu>
bootstrap: port to Solaris sed
and use malloc rather than the stack for the same reason as
mentioned in the comment justifying the other allocation.
-2010-10-12 Gary V. Vaughan <gary@gnu.org>
-
- libposix: use git-version-gen for version numbering
- * build-aux/git-version-gen: In order to work inside the
- libposix subdirectory, also check the parent directory for .git
- before assuming git describe will not work.
-
- add _HEADERS primaries to Makefile.am snippets for installable headers
- * modules/alloca-opt, modules/arg-nonnull, modules/argz,
- modules/arpa_inet, modules/byteswap, modules/c++defs, modules/ctype,
- modules/dirent, modules/errno, modules/fcntl-h, modules/float,
- modules/fnmatch, modules/getopt-posix, modules/glob, modules/iconv-h,
- modules/iconv_open, modules/inttypes, modules/langinfo,
- modules/link-warning, modules/locale, modules/math, modules/netdb,
- modules/netinet_in, modules/poll-h, modules/pthread, modules/pty,
- modules/sched, modules/search, modules/selinux-h, modules/signal,
- modules/spawn, modules/stdarg, modules/stdbool, modules/stddef,
- modules/stdint, modules/stdio, modules/stdlib, modules/string,
- modules/strings, modules/sys_file, modules/sys_ioctl,
- modules/sys_select, modules/sys_socket, modules/sys_stat,
- modules/sys_time, modules/sys_times, modules/sys_utsname,
- modules/sys_wait, modules/sysexits, modules/termios, modules/time,
- modules/unistd, modules/unitypes, modules/unused-parameter,
- modules/warn-on-use, modules/wchar, modules/wctype (Makefile.am):
- Add nodist_include_HEADERS, nobase_nodist_include_HEADERS and
- EXTRA_HEADERS declarations for potentially installable header files.
- * gnulib-tool: Initialize nodist_include_HEADERS,
- nobase_nodist_include_HEADERS and EXTRA_HEADERS to prime for new
- `.*_HEADERS +=' declarations.
- (func_emit_lib_Makefile_am): Edit away new nodist_include_HEADERS,
- nobase_nodist_include_HEADERS and EXTRA_HEADERS declarations by
- default, reverting the Makefile.am snippets above to their original
- condition prior to this change *unless* the gnulib library is being
- installed.
-
- New module `libposix'.
- * modules/libposix: New module to facilitate an installable
- library of posix modules.
- (Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as
- installable.
- (Depends-On): List all the modules found by `posix-modules',
- except `strdup' which is spurious, and with the addition of
- `alloca' to satisfy an otherwise undefined LTALLOCA definition;
- and `progname' to provide a non-extern program_name symbol so that
- compilation with `-no-undefined' symbols can work.
-
- iconv_open: reduce not-trivial repetition of file-list
- * modules/iconv_open (iconv_headers): New make macro to hold list of
- iconv header files.
- (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Use it instead of
- multiple hard-coded copies.
-
- gnulib-tool: transform hard-coded libgnu.a to $libname.l?a
- * gnulib-tool (func_emit_lib_Makefile_am): transform hard-coded
- `libgnu.a' in Makefile.am snippets to be either `$libname.a' or
- `$libname.la', depending on whether --libtool/--no-libtool options
- were given.
-
-2010-10-12 Sam Steingold <sds@gnu.org>
- Gary V. Vaughan <gary@gnu.org>
-
- gnulib-tool: transform include guards with `--macro-prefix'
- * gnulib-tool (func_import): support multiple gllib directories:
- headers are generated for each gllib differently, depending on which
- features are actually used, so we need to be able to include all
- these generated headers without fear that one will shadow another,
- so we prepend the macro-prefix before the guard macros.
-
2010-10-11 Bruno Haible <bruno@clisp.org>
stdlib: Allow multiple gnulib generated replacements to coexist.