gnulib.git
16 years agoRename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible [Sat, 19 Jan 2008 23:09:59 +0000 (00:09 +0100)]
Rename two directories: headers -> posix-headers, functions -> posix-functions.

16 years agoIncorporate existing strcasestr doc into new doc structure.
Bruno Haible [Sat, 19 Jan 2008 12:06:50 +0000 (13:06 +0100)]
Incorporate existing strcasestr doc into new doc structure.

16 years agoIncorporate existing memmem doc into new doc structure.
Bruno Haible [Sat, 19 Jan 2008 11:59:00 +0000 (12:59 +0100)]
Incorporate existing memmem doc into new doc structure.

16 years agoNew documentation of GNU libc functions.
Bruno Haible [Sat, 19 Jan 2008 01:51:21 +0000 (02:51 +0100)]
New documentation of GNU libc functions.

16 years agoFix a printf statement.
Bruno Haible [Fri, 18 Jan 2008 01:14:04 +0000 (02:14 +0100)]
Fix a printf statement.

16 years agoautoupdate
Karl Berry [Thu, 17 Jan 2008 15:33:23 +0000 (07:33 -0800)]
autoupdate

16 years agoNew module gethostname-tests.
Simon Josefsson [Thu, 17 Jan 2008 12:16:12 +0000 (13:16 +0100)]
New module gethostname-tests.

16 years agoNeed string.h unconditionally, for strncpy or strcpy.
Simon Josefsson [Thu, 17 Jan 2008 10:07:41 +0000 (11:07 +0100)]
Need string.h unconditionally, for strncpy or strcpy.

16 years agoConvert c-strcasestr to be more efficient.
Eric Blake [Thu, 17 Jan 2008 03:35:00 +0000 (20:35 -0700)]
Convert c-strcasestr to be more efficient.

* modules/c-strcasestr (Files): Use Two-Way, not KMP.
(Depends-on): Add c-strcase, remove malloca, strnlen.
* tests/test-c-strcasestr.c (main): Enhance test.
* lib/c-strcasestr.c (c_strcasestr): Rewrite to new algorithm.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* build-aux/bootstrap (MSGID_BUGS_ADDRESS): New overridable variable.
Paolo Bonzini [Wed, 16 Jan 2008 16:52:21 +0000 (17:52 +0100)]
* build-aux/bootstrap (MSGID_BUGS_ADDRESS): New overridable variable.

Use it in creating po/Makevars.

16 years agoDisable secure memory in gc-libgcrypt.c.
Simon Josefsson [Wed, 16 Jan 2008 14:53:45 +0000 (15:53 +0100)]
Disable secure memory in gc-libgcrypt.c.

16 years agoNeed string.h for strcpy in gethostname module.
Simon Josefsson [Wed, 16 Jan 2008 14:01:09 +0000 (15:01 +0100)]
Need string.h for strcpy in gethostname module.

16 years agoFix problem with getdate on mingw32 reported by Simon Josefsson
Paul Eggert [Wed, 16 Jan 2008 00:32:59 +0000 (16:32 -0800)]
Fix problem with getdate on mingw32 reported by Simon Josefsson

in <http://lists.gnu.org/archive/html/bug-gnulib/2008-01/msg00192.html>.
* lib/getdate.y (get_date): Check "HAVE_DECL_TZNAME", not "defined
tzname", when deciding whether to declare tzname.
* lib/strftime.c (tzname): Likewise.

16 years agoWork around a MacOS X 10.5 bug in frexpl().
Bruno Haible [Tue, 15 Jan 2008 23:21:10 +0000 (00:21 +0100)]
Work around a MacOS X 10.5 bug in frexpl().

16 years agoTouch up previous patch.
Eric Blake [Tue, 15 Jan 2008 04:00:56 +0000 (21:00 -0700)]
Touch up previous patch.

* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Fix typo.
* doc/functions/strcasestr.texi (strcasestr): Document OpenBSD bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoConvert strcasestr module to use Two-Way algorithm.
Eric Blake [Fri, 11 Jan 2008 05:22:51 +0000 (22:22 -0700)]
Convert strcasestr module to use Two-Way algorithm.

* modules/strcasestr-simple: New module, based on the old
strcasestr, but with Two-Way rather than KMP.
* modules/strcasestr (Depends-on): Change to strcasestr-simple.
* lib/string.in.h (rpl_strcasestr): Declare.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Check for linear
performance.
* lib/strcasestr.c (strcasestr): Simplify, and avoid malloc.
* modules/string (Makefile.am): Support strcasestr.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Likewise.
* modules/strcasestr-tests (Depends-on): Check for alarm.
* tests/test-strcasestr.c: Augment test.
* lib/str-two-way.h: Clean up stray macro.
* NEWS: Document new module.
* MODULES.html.sh (string handling): Likewise.
* doc/functions/strcasestr.texi: New file.
* doc/gnulib.texi (Function Substitutes): New node.  Move memmem
here, since it is not a POSIX function.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoReplace strsignal if it does not work fine.
Bruno Haible [Tue, 15 Jan 2008 01:25:14 +0000 (02:25 +0100)]
Replace strsignal if it does not work fine.

16 years agoFix documentation of include file.
Bruno Haible [Mon, 14 Jan 2008 22:43:46 +0000 (23:43 +0100)]
Fix documentation of include file.

16 years agoMake the functions argp_error, argp_failure known to xgettext.
Colin Watson [Mon, 14 Jan 2008 22:35:44 +0000 (23:35 +0100)]
Make the functions argp_error, argp_failure known to xgettext.

16 years agoautoupdate
Karl Berry [Mon, 14 Jan 2008 15:57:42 +0000 (07:57 -0800)]
autoupdate

16 years agoTypo in comment.
Bruno Haible [Mon, 14 Jan 2008 10:11:25 +0000 (11:11 +0100)]
Typo in comment.

16 years agoTests for module 'strsignal'.
Colin Watson [Sun, 13 Jan 2008 23:27:28 +0000 (00:27 +0100)]
Tests for module 'strsignal'.

16 years agoNew module 'strsignal'.
Colin Watson [Sun, 13 Jan 2008 23:26:30 +0000 (00:26 +0100)]
New module 'strsignal'.

16 years agoRestore executable bits.
Eric Blake [Sun, 13 Jan 2008 21:09:07 +0000 (14:09 -0700)]
Restore executable bits.

16 years agoAvoid unsupported locales on OpenBSD.
Bruno Haible [Sun, 13 Jan 2008 16:46:31 +0000 (17:46 +0100)]
Avoid unsupported locales on OpenBSD.

16 years agoDon't redefine __attribute__ without a need.
Bruno Haible [Sun, 13 Jan 2008 15:51:48 +0000 (16:51 +0100)]
Don't redefine __attribute__ without a need.

16 years agoautoupdate
Karl Berry [Sun, 13 Jan 2008 15:16:33 +0000 (07:16 -0800)]
autoupdate

16 years agoAdd documentation chapter about the glibc header files.
Bruno Haible [Sat, 12 Jan 2008 15:28:52 +0000 (16:28 +0100)]
Add documentation chapter about the glibc header files.

16 years agoannounce-gen: emit Gnulib's git-based version string.
Jim Meyering [Sat, 12 Jan 2008 08:52:42 +0000 (09:52 +0100)]
announce-gen: emit Gnulib's git-based version string.

* build-aux/announce-gen: Remove option: --gnulib-snapshot-time-stamp=S.
New option --gnulib-version=V, where V is expected to be
the output of running git describe in the gnulib directory.
(get_tool_versions): Request feedback on xdelta.  I suspect it's
not useful, and plan to stop publishing an xdelta file with each
coreutils release.

16 years ago* build-aux/announce-gen: Also check for lzma-compressed files.
Jim Meyering [Sat, 12 Jan 2008 07:54:48 +0000 (08:54 +0100)]
* build-aux/announce-gen: Also check for lzma-compressed files.

16 years agoIncrease the maximum allowed time for the test.
Bruno Haible [Sat, 12 Jan 2008 00:14:37 +0000 (01:14 +0100)]
Increase the maximum allowed time for the test.

16 years agoMore notes about specific platforms.
Bruno Haible [Sat, 12 Jan 2008 00:07:11 +0000 (01:07 +0100)]
More notes about specific platforms.

16 years agofix typo
Eric Blake [Fri, 11 Jan 2008 03:54:39 +0000 (20:54 -0700)]
fix typo

16 years ago* m4/strstr.m4: Delete cruft from copy-n-paste.
Eric Blake [Fri, 11 Jan 2008 03:44:14 +0000 (20:44 -0700)]
* m4/strstr.m4: Delete cruft from copy-n-paste.

Reported by Brun Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMake c-strstr rely on strstr.
Bruno Haible [Fri, 11 Jan 2008 02:57:18 +0000 (03:57 +0100)]
Make c-strstr rely on strstr.

16 years agoAdd documentation for the c-* modules.
Bruno Haible [Fri, 11 Jan 2008 02:42:54 +0000 (03:42 +0100)]
Add documentation for the c-* modules.

16 years agoFix a comment.
Eric Blake [Thu, 10 Jan 2008 23:36:17 +0000 (00:36 +0100)]
Fix a comment.

16 years agoShare two-way algorithm.
Eric Blake [Thu, 10 Jan 2008 19:06:35 +0000 (12:06 -0700)]
Share two-way algorithm.

* lib/str-two-way.h: New file, merged from...
* lib/memmem.c: ...here...
* lib/strstr.c: ...and here.
* modules/memmem (Files): Use it.
* modules/strstr (Files): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAvoid quadratic strstr implementations.
Eric Blake [Thu, 10 Jan 2008 14:38:11 +0000 (07:38 -0700)]
Avoid quadratic strstr implementations.

* lib/strstr.c: New file.
* m4/strstr.m4: Likewise.
* modules/strstr: Likewise.
* modules/strstr-tests: Likewise.
* tests/test-strstr.c: Likewise.
* lib/string.in.h (rpl_strstr): Declare.
(memmem) [GNULIB_POSIXCHECK]: Document speed issue.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Support strstr.
* modules/string (Makefile.am): Likewise.
* MODULES.html.sh (string handling): Mention new module.
* doc/functions/strstr.texi (strstr): Document the bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMake it possible to avoid all memory leaks when calling relocate().
Bruno Haible [Thu, 10 Jan 2008 10:12:06 +0000 (11:12 +0100)]
Make it possible to avoid all memory leaks when calling relocate().

16 years agoUpdate copyright year.
Bruno Haible [Thu, 10 Jan 2008 09:56:41 +0000 (10:56 +0100)]
Update copyright year.

16 years ago* lib/canonicalize-lgpl.c [!_LIBC]: Fix typo in #if directive:
Colin Watson [Thu, 10 Jan 2008 09:16:08 +0000 (10:16 +0100)]
* lib/canonicalize-lgpl.c [!_LIBC]: Fix typo in #if directive:

s/S_ISNLK/S_ISLNK/.

16 years agoSmall tweaks to memmem module.
Bruno Haible [Thu, 10 Jan 2008 01:52:02 +0000 (02:52 +0100)]
Small tweaks to memmem module.

16 years agoWork around OpenBSD 4.0 tdelete() bug.
Bruno Haible [Thu, 10 Jan 2008 01:46:55 +0000 (02:46 +0100)]
Work around OpenBSD 4.0 tdelete() bug.

16 years agoFix test failure on OpenBSD 4.0.
Bruno Haible [Thu, 10 Jan 2008 01:36:58 +0000 (02:36 +0100)]
Fix test failure on OpenBSD 4.0.

16 years agoUndo the commit dced91140ad8eb666ed6cc6192fb486dadf623bb.
Bruno Haible [Thu, 10 Jan 2008 01:27:54 +0000 (02:27 +0100)]
Undo the commit dced91140ad8eb666ed6cc6192fb486dadf623bb.

16 years agogl_FUNC_ALLOCA no longer defines HAVE_ALLOCA_H unconditionally.
Paul Eggert [Thu, 10 Jan 2008 01:22:52 +0000 (17:22 -0800)]
gl_FUNC_ALLOCA no longer defines HAVE_ALLOCA_H unconditionally.

See <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00149.html>.
* NEWS: announce this.
* m4/alloca.m4 (gl_FUNC_ALLOCA): Don't define HAVE_ALLOCA_H.

16 years agoAdd memmem-simple module.
Eric Blake [Wed, 9 Jan 2008 17:19:13 +0000 (10:19 -0700)]
Add memmem-simple module.

* m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): New macro.
(gl_FUNC_MEMMEM): Separate performance from presence checks.
* modules/memmem-simple: New file.
* modules/memmem (Description): Tweak.
* MODULES.html.sh (string handling): Mention it.
* doc/functions/memmem.texi (memmem): Distinguish which flaws are
addressed by memmem-simple.
* NEWS: Document the difference.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoGive gcc some memmem optimization hints.
Eric Blake [Wed, 9 Jan 2008 00:15:27 +0000 (17:15 -0700)]
Give gcc some memmem optimization hints.

* lib/string.in.h (memmem, memrchr, strchrnul, strnlen, strpbrk)
(strcasestr): Declare as pure.
* modules/memmem (Maintainer): Claim my implementation.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoSupport AIX 6.1 and higher.
Ralf Wildenhues [Wed, 9 Jan 2008 06:18:35 +0000 (07:18 +0100)]
Support AIX 6.1 and higher.

* build-aux/config.libpath: Likewise.
* build-aux/config.rpath: Likewise.

16 years agoHandle the particular PRIdMAX values on MacOS X and mingw.
Bruno Haible [Wed, 9 Jan 2008 01:15:36 +0000 (02:15 +0100)]
Handle the particular PRIdMAX values on MacOS X and mingw.

16 years agoAdd missing module dependencies.
Bruno Haible [Wed, 9 Jan 2008 00:17:12 +0000 (01:17 +0100)]
Add missing module dependencies.

16 years agoDocument the knuth_morris_pratt calling convention better.
Bruno Haible [Tue, 8 Jan 2008 22:54:30 +0000 (23:54 +0100)]
Document the knuth_morris_pratt calling convention better.

16 years agoDetect wcwidth bug on OpenBSD 4.0.
Bruno Haible [Tue, 8 Jan 2008 16:40:59 +0000 (17:40 +0100)]
Detect wcwidth bug on OpenBSD 4.0.

16 years agoRewrite memmem to guarantee linear complexity without malloc.
Eric Blake [Sat, 5 Jan 2008 21:09:11 +0000 (14:09 -0700)]
Rewrite memmem to guarantee linear complexity without malloc.

* lib/memmem.c (memmem): Use Two-Way rather than
Knuth-Morris-Pratt, to allow O(1) space usage.
(critical_factorization, two_way_short_needle)
(two_way_long_needle): New functions.
(knuth_morris_pratt): Delete.
* modules/memmem (Depends-on): No longer need malloca or stdbool.
Add stdint.
* tests/test-memmem.c (main): Add tests for periodic needle and
sublinear performance.
* doc/functions/memmem.texi (memmem): Document other deficiencies
in cygwin and older glibc.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoRemove unnecessary TESTS_ENVIRONMENT setting.
Bruno Haible [Tue, 8 Jan 2008 10:43:00 +0000 (11:43 +0100)]
Remove unnecessary TESTS_ENVIRONMENT setting.

16 years agoAdd a configure time option: --disable-acl.
Mike Frysinger [Tue, 8 Jan 2008 08:53:53 +0000 (09:53 +0100)]
Add a configure time option: --disable-acl.

* m4/acl.m4 (gl_FUNC_ACL): Wrap all ACL logic in a call to
AC_ARG_ENABLE(acl).

16 years agoUpdate localename-tests for setenv changes.
Simon Josefsson [Tue, 8 Jan 2008 08:09:18 +0000 (09:09 +0100)]
Update localename-tests for setenv changes.

16 years ago* DEPENDENCIES: Require Texinfo version 4.6 or newer.
Ralf Wildenhues [Tue, 8 Jan 2008 07:15:44 +0000 (08:15 +0100)]
* DEPENDENCIES: Require Texinfo version 4.6 or newer.

16 years agoAdd man-db.
Colin Watson [Tue, 8 Jan 2008 01:53:46 +0000 (02:53 +0100)]
Add man-db.

16 years agoNo need to drop periods from section names.
Bruno Haible [Tue, 8 Jan 2008 01:24:39 +0000 (02:24 +0100)]
No need to drop periods from section names.

16 years agoDon't strip off a leading "lt-" prefix outside a .libs directory.
Bruno Haible [Tue, 8 Jan 2008 01:16:21 +0000 (02:16 +0100)]
Don't strip off a leading "lt-" prefix outside a .libs directory.

16 years agoImprove memory cleanup in 'relocatable' module.
Bruno Haible [Mon, 7 Jan 2008 23:28:30 +0000 (00:28 +0100)]
Improve memory cleanup in 'relocatable' module.

16 years agoRelax test, so that it passes on older glibc systems.
Bruno Haible [Mon, 7 Jan 2008 22:29:52 +0000 (23:29 +0100)]
Relax test, so that it passes on older glibc systems.

16 years agoautoupdate.
Ralf Wildenhues [Mon, 7 Jan 2008 21:44:38 +0000 (22:44 +0100)]
autoupdate.

16 years agoautoupdate
Karl Berry [Sat, 5 Jan 2008 14:29:33 +0000 (06:29 -0800)]
autoupdate

16 years agoAvoid quadratic system memmem.
Eric Blake [Sat, 5 Jan 2008 11:47:24 +0000 (04:47 -0700)]
Avoid quadratic system memmem.

* m4/memmem.m4 (gl_FUNC_MEMMEM): Check for quadratic memmem.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix memmem test for mingw.
Eric Blake [Sat, 5 Jan 2008 11:47:05 +0000 (04:47 -0700)]
Fix memmem test for mingw.

* modules/memmem-tests (configure.ac): Check for alarm.
* tests/test-memmem.c (main): Avoid alarm on platforms that lack
it.
* doc/functions/memmem.texi: New file.
* doc/gnulib.texi (Function Substitutes): Add memmem.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix bug introduced on 2007-12-02.
Bruno Haible [Fri, 4 Jan 2008 23:29:12 +0000 (00:29 +0100)]
Fix bug introduced on 2007-12-02.

16 years agoShorten duration of memmem test.
Eric Blake [Fri, 4 Jan 2008 22:19:34 +0000 (15:19 -0700)]
Shorten duration of memmem test.

* tests/test-memmem.c (main): Use alarm to declare failure if test
is taking too long.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoModules intprops and string needed by relocatable-prog-wrapper.
Simon Josefsson [Fri, 4 Jan 2008 14:44:57 +0000 (15:44 +0100)]
Modules intprops and string needed by relocatable-prog-wrapper.

16 years agoNew section 'Localization'.
Bruno Haible [Thu, 3 Jan 2008 23:57:29 +0000 (00:57 +0100)]
New section 'Localization'.

16 years agoTreat untyped memory as an 'unsigned char' array.
Bruno Haible [Thu, 3 Jan 2008 23:24:10 +0000 (00:24 +0100)]
Treat untyped memory as an 'unsigned char' array.

16 years agoFix formatting of a ChangeLog entry.
Bruno Haible [Thu, 3 Jan 2008 23:22:45 +0000 (00:22 +0100)]
Fix formatting of a ChangeLog entry.

16 years agolib/version-etc.c (COPYRIGHT_YEAR): Increase for new year.
Jim Meyering [Wed, 2 Jan 2008 09:00:47 +0000 (10:00 +0100)]
lib/version-etc.c (COPYRIGHT_YEAR): Increase for new year.

16 years agomissed ChangeLog for doc change yesterday
Karl Berry [Mon, 31 Dec 2007 23:34:15 +0000 (15:34 -0800)]
missed ChangeLog for doc change yesterday

16 years agoAvoid use of private FTS type name.
Jim Meyering [Mon, 31 Dec 2007 13:00:17 +0000 (14:00 +0100)]
Avoid use of private FTS type name.

* lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".

16 years agoUnify 5 copies of the KMP code.
Bruno Haible [Mon, 31 Dec 2007 10:57:16 +0000 (11:57 +0100)]
Unify 5 copies of the KMP code.

16 years agoDon't define xmmalloca if not needed.
Bruno Haible [Mon, 31 Dec 2007 10:55:46 +0000 (11:55 +0100)]
Don't define xmmalloca if not needed.

16 years agoNew macro xnmalloca.
Bruno Haible [Mon, 31 Dec 2007 10:54:37 +0000 (11:54 +0100)]
New macro xnmalloca.

16 years agoProtect against integer overflow in malloca() calls.
Bruno Haible [Mon, 31 Dec 2007 10:53:40 +0000 (11:53 +0100)]
Protect against integer overflow in malloca() calls.

16 years agoEnsure that 'glob' stays under LGPLv2+.
Bruno Haible [Mon, 31 Dec 2007 10:51:57 +0000 (11:51 +0100)]
Ensure that 'glob' stays under LGPLv2+.

16 years agoChange license to LGPLv2+.
Bruno Haible [Mon, 31 Dec 2007 10:51:15 +0000 (11:51 +0100)]
Change license to LGPLv2+.

16 years agono period in node name
Karl Berry [Sun, 30 Dec 2007 17:50:08 +0000 (09:50 -0800)]
no period in node name

16 years agoupdate maintain.texi
Karl Berry [Sun, 30 Dec 2007 17:49:38 +0000 (09:49 -0800)]
update maintain.texi

16 years ago* lib/memmem.c (knuth_morris_pratt): Check for size_t overflow
Paul Eggert [Sat, 29 Dec 2007 09:17:08 +0000 (01:17 -0800)]
* lib/memmem.c (knuth_morris_pratt): Check for size_t overflow

when multiplying M by sizeof (size_t).

16 years agoOverride getpagesize on mingw.
Martin Lambers [Wed, 26 Dec 2007 15:37:29 +0000 (16:37 +0100)]
Override getpagesize on mingw.

16 years agoThe localcharset module requires a modified TESTS_ENVIRONMENT; tell the user.
Bruno Haible [Wed, 26 Dec 2007 15:33:48 +0000 (16:33 +0100)]
The localcharset module requires a modified TESTS_ENVIRONMENT; tell the user.

16 years agoAvoid using the syntax symbol() in formatted documentation.
Bruno Haible [Wed, 26 Dec 2007 15:31:08 +0000 (16:31 +0100)]
Avoid using the syntax symbol() in formatted documentation.

16 years agoUse plain ANSI C syntax.
Bruno Haible [Wed, 26 Dec 2007 15:28:08 +0000 (16:28 +0100)]
Use plain ANSI C syntax.

16 years agoMake --enable-relocatable work with DESTDIR.
Bruno Haible [Wed, 26 Dec 2007 15:26:26 +0000 (16:26 +0100)]
Make --enable-relocatable work with DESTDIR.

16 years agoFix link error in relocatability wrappers, due to xalloc_die().
Bruno Haible [Wed, 26 Dec 2007 15:25:28 +0000 (16:25 +0100)]
Fix link error in relocatability wrappers, due to xalloc_die().

16 years agoSplit setenv module into setenv and unsetenv. Get rid of setenv.h.
Bruno Haible [Wed, 26 Dec 2007 15:23:54 +0000 (16:23 +0100)]
Split setenv module into setenv and unsetenv. Get rid of setenv.h.

16 years agoSplit setenv module into setenv and unsetenv. Get rid of setenv.h.
Bruno Haible [Wed, 26 Dec 2007 15:20:10 +0000 (16:20 +0100)]
Split setenv module into setenv and unsetenv. Get rid of setenv.h.

16 years agoUse GNU style coding conventions.
Bruno Haible [Wed, 26 Dec 2007 15:13:28 +0000 (16:13 +0100)]
Use GNU style coding conventions.

16 years agoAdd more comments about Knuth-Morris-Pratt algorithm.
Bruno Haible [Wed, 26 Dec 2007 15:10:15 +0000 (16:10 +0100)]
Add more comments about Knuth-Morris-Pratt algorithm.

16 years agoUse standard idioms.
Bruno Haible [Wed, 26 Dec 2007 15:02:46 +0000 (16:02 +0100)]
Use standard idioms.

16 years agoFix the value of $auxdir used when generating the tests directory.
Bruno Haible [Wed, 26 Dec 2007 15:01:15 +0000 (16:01 +0100)]
Fix the value of $auxdir used when generating the tests directory.

16 years agoRemove unnecessary -l options from LDFLAGS.
Bruno Haible [Wed, 26 Dec 2007 14:59:53 +0000 (15:59 +0100)]
Remove unnecessary -l options from LDFLAGS.

16 years agoWork around circular library issue when cross-compiling.
Eric Blake [Thu, 20 Dec 2007 20:15:27 +0000 (13:15 -0700)]
Work around circular library issue when cross-compiling.

* lib/progname.c (set_program_name): Use strncmp, not memcmp, so
that progname.o does not need to pull in rpl_memcmp.

Signed-off-by: Eric Blake <ebb9@byu.net>