mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
maint: update gnulib to latest
Run 'make update-gnulib-to-latest' - thus pulling in 357 commits, including the following which was also discussed in: https://savannah.gnu.org/bugs/?60383 > test-framework-sh: remove unsafe entries from PATH * gnulib: Update to latest. * cfg.mk (local-checks-to-skip): Add and therefore disable sc_indent as auto indent is too invasive for now. * m4/mkinstalldirs.m4: Fix repeated word: s/can can/can/. Reported by a new rule in sc_prohibit_doubled_word. * m4/noreturn.m4: Likewise. * tests/init.sh: Likewise.
This commit is contained in:
parent
372cd34894
commit
0dd5eaa329
2
cfg.mk
2
cfg.mk
@ -23,7 +23,7 @@ local-checks-to-skip :=
|
||||
|
||||
# Errors I think are too picky anyway.
|
||||
local-checks-to-skip += sc_error_message_period sc_error_message_uppercase \
|
||||
sc_file_system
|
||||
sc_file_system sc_indent
|
||||
|
||||
exclude_file_name_regexp--sc_obsolete_symbols = build-aux/src-sniff\.py
|
||||
exclude_file_name_regexp--sc_space_tab = \
|
||||
|
||||
2
gnulib
2
gnulib
@ -1 +1 @@
|
||||
Subproject commit 7cc8d8aa0db12119d6d88af430238c24361afc4e
|
||||
Subproject commit d50912b6c60732476bb2955d947bacb73aaa2d59
|
||||
@ -3,7 +3,7 @@ dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl This file can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
|
||||
@ -3,7 +3,7 @@ dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl This file can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
|
||||
@ -426,6 +426,23 @@ setup_ ()
|
||||
for sig_ in 1 2 3 13 15; do
|
||||
eval "trap 'Exit $(expr $sig_ + 128)' $sig_"
|
||||
done
|
||||
|
||||
# Remove relative and non-accessible directories from PATH, including '.'
|
||||
# and Zero-length entries.
|
||||
saved_IFS="$IFS"
|
||||
IFS=:
|
||||
new_PATH=
|
||||
sep_=
|
||||
for dir in $PATH; do
|
||||
case "$dir" in
|
||||
/*) test -d "$dir/." || continue
|
||||
new_PATH="${new_PATH}${sep_}${dir}"
|
||||
sep_=':';;
|
||||
esac
|
||||
done
|
||||
IFS="$saved_IFS"
|
||||
PATH="$new_PATH"
|
||||
export PATH
|
||||
}
|
||||
|
||||
# This is a stub function that is run upon trap (upon regular exit and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user