diff options
author | Pedro Alves <palves@redhat.com> | 2013-07-01 11:25:42 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-07-01 11:25:42 +0000 |
commit | 598d98c728f9024c1ef584f4c966d42b3b3e2dc2 (patch) | |
tree | 44e2c44c648456be649f98b00846dbd0892aabfa /gdb/gnulib/import/m4/gnulib-comp.m4 | |
parent | 0516a30a6658ec161489d5ac2b704bc0604ceab9 (diff) | |
download | gdb-598d98c728f9024c1ef584f4c966d42b3b3e2dc2.tar.gz |
Import the "pathmax" gnulib module.
This imports the "pathmax" gnulib module, making PATH_MAX always
available on systems that have the notion of a constant max path limit
(i.e., practically everywhere except the Hurd), along with fixing a
couple broken systems --- see pathmax.h in the patch.
This means we can normalize on PATH_MAX throughout the tree (instead
of some places using MAXPATHLEN, or defining fallback constants
ourselves).
This is the just the importing step.
gdb/
2013-07-01 Pedro Alves <palves@redhat.com>
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add pathmax.
* gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/pathmax.m4.
* gnulib/aclocal.m4: Regenerate.
* gnulib/config.in: Regenerate.
* gnulib/configure: Regenerate.
* gnulib/import/pathmax.h: New file.
* gnulib/import/Makefile.am: Regenerate.
* gnulib/import/Makefile.in: Regenerate.
* gnulib/import/m4/gnulib-cache.m4: Regenerate.
* gnulib/import/m4/gnulib-comp.m4: Regenerate.
* gnulib/import/m4/pathmax.m4: New file.
Diffstat (limited to 'gdb/gnulib/import/m4/gnulib-comp.m4')
-rw-r--r-- | gdb/gnulib/import/m4/gnulib-comp.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gnulib/import/m4/gnulib-comp.m4 b/gdb/gnulib/import/m4/gnulib-comp.m4 index 8f151cbef38..77c1b249e09 100644 --- a/gdb/gnulib/import/m4/gnulib-comp.m4 +++ b/gdb/gnulib/import/m4/gnulib-comp.m4 @@ -66,6 +66,7 @@ AC_DEFUN([gl_EARLY], # Code from module memmem: # Code from module memmem-simple: # Code from module multiarch: + # Code from module pathmax: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/warn-on-use: @@ -181,6 +182,7 @@ AC_DEFUN([gl_INIT], fi gl_STRING_MODULE_INDICATOR([memmem]) gl_MULTIARCH + gl_PATHMAX gt_TYPE_SSIZE_T AM_STDBOOL_H gl_STDDEF_H @@ -366,6 +368,7 @@ AC_DEFUN([gl_FILE_LIST], [ lib/memchr.c lib/memchr.valgrind lib/memmem.c + lib/pathmax.h lib/ref-add.sin lib/ref-del.sin lib/stdbool.in.h @@ -419,6 +422,7 @@ AC_DEFUN([gl_FILE_LIST], [ m4/mmap-anon.m4 m4/multiarch.m4 m4/off_t.m4 + m4/pathmax.m4 m4/ssize_t.m4 m4/stdbool.m4 m4/stddef_h.m4 |