diff options
author | Yao Qi <yao@codesourcery.com> | 2014-11-06 20:34:28 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-11-28 18:38:02 +0800 |
commit | 3332aaf2896b3218a131eab5976a500bb46d6ac3 (patch) | |
tree | 8f5a64f6dcca3c89cb6faf56b4d805e953b83081 /gdb/configure | |
parent | f45c62c4d5afa794d061199b6b4e585d509d1040 (diff) | |
download | gdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.zip gdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.tar.gz gdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.tar.bz2 |
Use lstat unconditionally
Since lstat gnulib module is imported, we can use it unconditionally.
lstat usage was introduced by this patch
https://sourceware.org/ml/gdb-patches/2012-01/msg00390.html
during the review, it was suggested to import gnulib lstat module, but
we didn't do that.
gdb:
2014-11-28 Yao Qi <yao@codesourcery.com>
* configure.ac (AC_CHECK_FUNCS): Remove lstat.
* config.in, configure: Regenerate.
* symfile.c (find_separate_debug_file_by_debuglink): Remove
code checking HAVE_LSTAT is defined.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure index e1c0a10..0c04eba 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10483,7 +10483,7 @@ for ac_func in canonicalize_file_name realpath getrusage getuid getgid \ sbrk setpgid setpgrp setsid \ sigaction sigprocmask sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ - setrlimit getrlimit posix_madvise waitpid lstat \ + setrlimit getrlimit posix_madvise waitpid \ ptrace64 sigaltstack do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |