summaryrefslogtreecommitdiff
path: root/m4/memcoll.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-01-10 21:31:01 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-01-10 21:31:01 +0000
commitc43d62c6f29b412d3333808be3f1f619af19e3f4 (patch)
tree8f1f5f76e826fb34807059b3979d3a591810ecf1 /m4/memcoll.m4
parente48d8b47fb3eee81d341b71c3e006efe9e3433a7 (diff)
downloadgnulib-c43d62c6f29b412d3333808be3f1f619af19e3f4.tar.gz
Sync from coreutils.
Avoid the double-free (first in fts_read, second in fts_close) that would occur when an `active' directory is made inaccessible (e.g., via chmod a-x) during a traversal. * lib/fts.c (fts_read): After a failed fchdir, update sp->fts_cur before returning. Reproduce this failure by mkdir -p a/b; cd a; chmod a-x . b * lib/sha1.c: Tweak grammar in a comment. * m4/fpending.m4: Also include <stdio.h>, for Dragonfly. * m4/memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing the 2002-12-31 change.
Diffstat (limited to 'm4/memcoll.m4')
-rw-r--r--m4/memcoll.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/memcoll.m4 b/m4/memcoll.m4
index 6f73412878..2d153e5c25 100644
--- a/m4/memcoll.m4
+++ b/m4/memcoll.m4
@@ -1,4 +1,4 @@
-# memcoll.m4 serial 5
+# memcoll.m4 serial 6
dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_MEMCOLL],
AC_LIBOBJ([memcoll])
dnl Prerequisites of lib/memcoll.c.
- AC_REQUIRE([AC_FUNC_MEMCMP])
AC_FUNC_STRCOLL
])