commit bash-20070419 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:06:49 -05:00
parent 1c3567dccb
commit c184f64511
22 changed files with 38086 additions and 11015 deletions
+17
View File
@@ -14500,3 +14500,20 @@ subst.c
builtins/read.def
- changes to cope with $IFS containing CTLNUL in the same way as the
CTLESC changes
4/16
----
lib/sh/strftime.c
- a couple of fixes to the `%z' code
eval.c
- add an fflush after printing the auto-logout message
4/24
----
subst.c
- add call to top_level_cleanup in exp_jump_to_top_level to get things
like unwind-protects and the loop levels cleaned up
{arrayfunc,expr,variables}.c
- add calls to top_level_cleanup before jump_to_top_level()
+24
View File
@@ -14494,3 +14494,27 @@ subst.c
CTLNUL even if SX_NOCTLESC is set in the flags passed, to protect
the CTLNULs from future calls to remove_quoted_nulls. Only
matters when $IFS contains CTLESC
- changes to cope with $IFS containing CTLNUL in the same way as the
CTLESC changes
builtins/read.def
- changes to cope with $IFS containing CTLNUL in the same way as the
CTLESC changes
4/16
----
lib/sh/strftime.c
- a couple of fixes to the `%z' code
eval.c
- add an fflush after printing the auto-logout message
4/24
----
subst.c
- add call to top_level_cleanup in exp_jump_to_top_level to get things
like unwind-protects and the loop levels cleaned up
{arrayfunc,variables}.c
- add calls to top_level_cleanup before jump_to_top_level()
+2
View File
@@ -618,6 +618,8 @@ array_expand_index (s, len)
if (expok == 0)
{
last_command_exit_value = EXECUTION_FAILURE;
top_level_cleanup ();
jump_to_top_level (DISCARD);
}
return val;
+1 -1
View File
@@ -45,7 +45,7 @@ static void quote_array_assignment_chars __P((WORD_LIST *));
static char *array_value_internal __P((char *, int, int, int *));
/* Standard error message to use when encountering an invalid array subscript */
char *bash_badsub_errmsg = N_("bad array subscript");
const char * const bash_badsub_errmsg = N_("bad array subscript");
/* **************************************************************** */
/* */
+5 -4
View File
@@ -1,5 +1,5 @@
@%:@! /bin/sh
@%:@ From configure.in for Bash 3.2, version 3.193.
@%:@ From configure.in for Bash 3.2, version 3.194.
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.59 for bash 3.2-maint.
@%:@
@@ -25402,8 +25402,8 @@ _ACEOF
fi
if test "$ac_cv_func_getcwd" = "yes"; then
echo "$as_me:$LINENO: checking if getcwd() will dynamically allocate memory" >&5
echo $ECHO_N "checking if getcwd() will dynamically allocate memory... $ECHO_C" >&6
echo "$as_me:$LINENO: checking if getcwd() will dynamically allocate memory with 0 size" >&5
echo $ECHO_N "checking if getcwd() will dynamically allocate memory with 0 size... $ECHO_C" >&6
if test "${bash_cv_getcwd_malloc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -27315,7 +27315,8 @@ sco3.2v5*) LOCAL_CFLAGS="-b elf -DWAITPID_BROKEN -DPATH_MAX=1024" ;;
sco3.2v4*) LOCAL_CFLAGS="-DMUST_UNBLOCK_CHLD -DPATH_MAX=1024" ;;
sco3.2*) LOCAL_CFLAGS=-DMUST_UNBLOCK_CHLD ;;
sunos4*) LOCAL_CFLAGS=-DSunOS4 ;;
solaris2.5*) LOCAL_CFLAGS=-DSunOS5 ;;
solaris2.5*) LOCAL_CFLAGS="-DSunOS5 -DSOLARIS" ;;
solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
case "`uname -r`" in
File diff suppressed because it is too large Load Diff
+235 -17
View File
@@ -15,26 +15,26 @@
'configure.in'
],
{
'AM_PROG_F77_C_O' => 1,
'_LT_AC_TAGCONFIG' => 1,
'AM_PROG_F77_C_O' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_C_VOLATILE' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_C_VOLATILE' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1,
'AC_FUNC_WAIT3' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_STRUCT_TM' => 1,
'AC_FUNC_WAIT3' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_STRUCT_TM' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_CHECK_HEADERS' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_FUNC_STRTOD' => 1,
'AC_CHECK_HEADERS' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_FUNC_STRNLEN' => 1,
'm4_sinclude' => 1,
@@ -52,22 +52,22 @@
'AC_LIBSOURCE' => 1,
'AC_FUNC_MBRTOWC' => 1,
'AC_STRUCT_ST_BLOCKS' => 1,
'AC_TYPE_SIGNAL' => 1,
'AC_CANONICAL_BUILD' => 1,
'AM_PROG_FC_C_O' => 1,
'AC_CANONICAL_BUILD' => 1,
'AC_TYPE_SIGNAL' => 1,
'AC_TYPE_UID_T' => 1,
'AC_PROG_MAKE_SET' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'm4_pattern_allow' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_PROG_MAKE_SET' => 1,
'sinclude' => 1,
'm4_pattern_allow' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_FORK' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_PROG_YACC' => 1,
'AC_SUBST_TRACE' => 1,
'AC_INIT' => 1,
@@ -85,14 +85,233 @@
'AC_FUNC_MMAP' => 1,
'AC_FUNC_REALLOC' => 1,
'AC_TYPE_SIZE_T' => 1,
'AC_CHECK_TYPES' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_CHECK_TYPES' => 1,
'LT_SUPPORTED_TAG' => 1,
'AC_CHECK_MEMBERS' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_FUNC_UTIME_NULL' => 1,
'AC_FUNC_SELECT_ARGTYPES' => 1,
'AC_FUNC_STRFTIME' => 1,
'AC_HEADER_STAT' => 1,
'AC_C_INLINE' => 1,
'AC_PROG_CPP' => 1,
'AC_TYPE_PID_T' => 1,
'AC_C_CONST' => 1,
'AC_PROG_LEX' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'AC_FUNC_SETVBUF_REVERSED' => 1,
'AC_PROG_INSTALL' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_FUNC_OBSTACK' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1,
'AC_FC_FREEFORM' => 1,
'AC_FUNC_GETLOADAVG' => 1,
'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_HEADER_SYS_WAIT' => 1,
'AC_FUNC_MEMCMP' => 1,
'AC_PROG_LN_S' => 1,
'm4_include' => 1,
'AC_HEADER_DIRENT' => 1,
'AC_CHECK_FUNCS' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/local/share/autoconf'
],
[
'/usr/local/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.in'
],
{
'm4_pattern_forbid' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_C_VOLATILE' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_WAIT3' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_STRUCT_TM' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_FUNC_STRTOD' => 1,
'AC_CHECK_HEADERS' => 1,
'AC_FUNC_STRNLEN' => 1,
'm4_sinclude' => 1,
'AC_PROG_CXX' => 1,
'AC_PATH_X' => 1,
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
'AC_PROG_AWK' => 1,
'_m4_warn' => 1,
'AC_HEADER_STDC' => 1,
'AC_HEADER_MAJOR' => 1,
'AC_FUNC_ERROR_AT_LINE' => 1,
'AC_PROG_GCC_TRADITIONAL' => 1,
'AC_LIBSOURCE' => 1,
'AC_FUNC_MBRTOWC' => 1,
'AC_STRUCT_ST_BLOCKS' => 1,
'AC_TYPE_SIGNAL' => 1,
'AC_TYPE_UID_T' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_PROG_MAKE_SET' => 1,
'sinclude' => 1,
'm4_pattern_allow' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_FORK' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_PROG_YACC' => 1,
'AC_INIT' => 1,
'AC_STRUCT_TIMEZONE' => 1,
'AC_FUNC_CHOWN' => 1,
'AC_SUBST' => 1,
'AC_FUNC_ALLOCA' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_FUNC_GETPGRP' => 1,
'AC_PROG_RANLIB' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_FUNC_SETPGRP' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AC_FUNC_MMAP' => 1,
'AC_FUNC_REALLOC' => 1,
'AC_TYPE_SIZE_T' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_CHECK_TYPES' => 1,
'AC_CHECK_MEMBERS' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_FUNC_UTIME_NULL' => 1,
'AC_FUNC_SELECT_ARGTYPES' => 1,
'AC_FUNC_STRFTIME' => 1,
'AC_HEADER_STAT' => 1,
'AC_C_INLINE' => 1,
'AC_PROG_CPP' => 1,
'AC_C_CONST' => 1,
'AC_PROG_LEX' => 1,
'AC_TYPE_PID_T' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'AC_FUNC_SETVBUF_REVERSED' => 1,
'AC_PROG_INSTALL' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_FUNC_OBSTACK' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1,
'AC_FUNC_GETLOADAVG' => 1,
'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_HEADER_SYS_WAIT' => 1,
'AC_FUNC_MEMCMP' => 1,
'AC_PROG_LN_S' => 1,
'm4_include' => 1,
'AC_HEADER_DIRENT' => 1,
'AC_CHECK_FUNCS' => 1
}
], 'Autom4te::Request' ),
bless( [
'2',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.in'
],
{
'm4_pattern_forbid' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_C_VOLATILE' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1,
'AC_FUNC_WAIT3' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_STRUCT_TM' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_FUNC_STRTOD' => 1,
'AC_CHECK_HEADERS' => 1,
'AC_FUNC_STRNLEN' => 1,
'm4_sinclude' => 1,
'AC_PROG_CXX' => 1,
'AC_PATH_X' => 1,
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
'AC_PROG_AWK' => 1,
'_m4_warn' => 1,
'AC_HEADER_STDC' => 1,
'AC_HEADER_MAJOR' => 1,
'AC_FUNC_ERROR_AT_LINE' => 1,
'AC_PROG_GCC_TRADITIONAL' => 1,
'AC_LIBSOURCE' => 1,
'AC_FUNC_MBRTOWC' => 1,
'AC_STRUCT_ST_BLOCKS' => 1,
'AC_TYPE_SIGNAL' => 1,
'AC_TYPE_UID_T' => 1,
'AC_PROG_MAKE_SET' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'm4_pattern_allow' => 1,
'sinclude' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_FORK' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_PROG_YACC' => 1,
'AC_INIT' => 1,
'AC_STRUCT_TIMEZONE' => 1,
'AC_FUNC_CHOWN' => 1,
'AC_SUBST' => 1,
'AC_FUNC_ALLOCA' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_FUNC_GETPGRP' => 1,
'AC_PROG_RANLIB' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_FUNC_SETPGRP' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AC_FUNC_MMAP' => 1,
'AC_FUNC_REALLOC' => 1,
'AC_TYPE_SIZE_T' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_CHECK_TYPES' => 1,
'AC_CHECK_MEMBERS' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_FUNC_UTIME_NULL' => 1,
'AC_FUNC_SELECT_ARGTYPES' => 1,
'AC_HEADER_STAT' => 1,
'AC_FUNC_STRFTIME' => 1,
'AC_PROG_CPP' => 1,
@@ -110,7 +329,6 @@
'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1,
'AC_FUNC_GETLOADAVG' => 1,
'AC_FC_FREEFORM' => 1,
'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1,
+29 -29
View File
@@ -1823,37 +1823,37 @@ m4trace:configure.in:980: -1- AC_DEFINE_TRACE_LITERAL([SVR4_2])
m4trace:configure.in:981: -1- AC_DEFINE_TRACE_LITERAL([SVR4])
m4trace:configure.in:982: -1- AC_DEFINE_TRACE_LITERAL([SVR4])
m4trace:configure.in:983: -1- AC_DEFINE_TRACE_LITERAL([SVR5])
m4trace:configure.in:998: -1- AC_DEFINE_TRACE_LITERAL([PGRP_PIPE])
m4trace:configure.in:1045: -1- AC_SUBST([SHOBJ_CC])
m4trace:configure.in:1046: -1- AC_SUBST([SHOBJ_CFLAGS])
m4trace:configure.in:1047: -1- AC_SUBST([SHOBJ_LD])
m4trace:configure.in:1048: -1- AC_SUBST([SHOBJ_LDFLAGS])
m4trace:configure.in:1049: -1- AC_SUBST([SHOBJ_XLDFLAGS])
m4trace:configure.in:1050: -1- AC_SUBST([SHOBJ_LIBS])
m4trace:configure.in:1051: -1- AC_SUBST([SHOBJ_STATUS])
m4trace:configure.in:1076: -1- AC_SUBST([PROFILE_FLAGS])
m4trace:configure.in:1078: -1- AC_SUBST([incdir])
m4trace:configure.in:1079: -1- AC_SUBST([BUILD_DIR])
m4trace:configure.in:1081: -1- AC_SUBST([YACC])
m4trace:configure.in:1082: -1- AC_SUBST([AR])
m4trace:configure.in:1083: -1- AC_SUBST([ARFLAGS])
m4trace:configure.in:1085: -1- AC_SUBST([BASHVERS])
m4trace:configure.in:1086: -1- AC_SUBST([RELSTATUS])
m4trace:configure.in:1087: -1- AC_SUBST([DEBUG])
m4trace:configure.in:1088: -1- AC_SUBST([MALLOC_DEBUG])
m4trace:configure.in:1090: -1- AC_SUBST([host_cpu])
m4trace:configure.in:1091: -1- AC_SUBST([host_vendor])
m4trace:configure.in:1092: -1- AC_SUBST([host_os])
m4trace:configure.in:1094: -1- AC_SUBST([LOCAL_LIBS])
m4trace:configure.in:1095: -1- AC_SUBST([LOCAL_CFLAGS])
m4trace:configure.in:1096: -1- AC_SUBST([LOCAL_LDFLAGS])
m4trace:configure.in:1097: -1- AC_SUBST([LOCAL_DEFS])
m4trace:configure.in:1110: -1- AC_CONFIG_FILES([Makefile builtins/Makefile lib/readline/Makefile lib/glob/Makefile \
m4trace:configure.in:999: -1- AC_DEFINE_TRACE_LITERAL([PGRP_PIPE])
m4trace:configure.in:1046: -1- AC_SUBST([SHOBJ_CC])
m4trace:configure.in:1047: -1- AC_SUBST([SHOBJ_CFLAGS])
m4trace:configure.in:1048: -1- AC_SUBST([SHOBJ_LD])
m4trace:configure.in:1049: -1- AC_SUBST([SHOBJ_LDFLAGS])
m4trace:configure.in:1050: -1- AC_SUBST([SHOBJ_XLDFLAGS])
m4trace:configure.in:1051: -1- AC_SUBST([SHOBJ_LIBS])
m4trace:configure.in:1052: -1- AC_SUBST([SHOBJ_STATUS])
m4trace:configure.in:1077: -1- AC_SUBST([PROFILE_FLAGS])
m4trace:configure.in:1079: -1- AC_SUBST([incdir])
m4trace:configure.in:1080: -1- AC_SUBST([BUILD_DIR])
m4trace:configure.in:1082: -1- AC_SUBST([YACC])
m4trace:configure.in:1083: -1- AC_SUBST([AR])
m4trace:configure.in:1084: -1- AC_SUBST([ARFLAGS])
m4trace:configure.in:1086: -1- AC_SUBST([BASHVERS])
m4trace:configure.in:1087: -1- AC_SUBST([RELSTATUS])
m4trace:configure.in:1088: -1- AC_SUBST([DEBUG])
m4trace:configure.in:1089: -1- AC_SUBST([MALLOC_DEBUG])
m4trace:configure.in:1091: -1- AC_SUBST([host_cpu])
m4trace:configure.in:1092: -1- AC_SUBST([host_vendor])
m4trace:configure.in:1093: -1- AC_SUBST([host_os])
m4trace:configure.in:1095: -1- AC_SUBST([LOCAL_LIBS])
m4trace:configure.in:1096: -1- AC_SUBST([LOCAL_CFLAGS])
m4trace:configure.in:1097: -1- AC_SUBST([LOCAL_LDFLAGS])
m4trace:configure.in:1098: -1- AC_SUBST([LOCAL_DEFS])
m4trace:configure.in:1111: -1- AC_CONFIG_FILES([Makefile builtins/Makefile lib/readline/Makefile lib/glob/Makefile \
lib/intl/Makefile \
lib/malloc/Makefile lib/sh/Makefile lib/termcap/Makefile \
lib/tilde/Makefile doc/Makefile support/Makefile po/Makefile.in \
examples/loadables/Makefile examples/loadables/perl/Makefile])
m4trace:configure.in:1110: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
m4trace:configure.in:1111: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
You should run autoupdate.], [])
m4trace:configure.in:1110: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:1110: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.in:1111: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:1111: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -356,7 +356,7 @@
#undef HAVE_SYS_ERRLIST
#undef HAVE_TZNAME
#undef HAVE_DECL_TZNAME
/* Characteristics of some of the system structures. */
Vendored
+6950 -10946
View File
File diff suppressed because it is too large Load Diff
+12 -1
View File
@@ -22,7 +22,7 @@ dnl Process this file with autoconf to produce a configure script.
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
AC_REVISION([for Bash 3.2, version 3.194])dnl
AC_REVISION([for Bash 3.2, version 3.195])dnl
define(bashvers, 3.2)
define(relstatus, maint)
@@ -1074,11 +1074,22 @@ case "$BUILD_DIR" in
*) ;;
esac
if test -z "$localedir"; then
localedir='${datarootdir}/locale'
fi
if test -z "$datarootdir"; then
datarootdir='${prefix}/share'
fi
AC_SUBST(PROFILE_FLAGS)
AC_SUBST(incdir)
AC_SUBST(BUILD_DIR)
# Some versions of autoconf don't substitute these automatically
AC_SUBST(datarootdir)
AC_SUBST(localedir)
AC_SUBST(YACC)
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
+11 -4
View File
@@ -5,7 +5,7 @@ dnl report bugs to chet@po.cwru.edu
dnl
dnl Process this file with autoconf to produce a configure script.
# Copyright (C) 1987-2006 Free Software Foundation, Inc.
# Copyright (C) 1987-2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@ dnl Process this file with autoconf to produce a configure script.
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
AC_REVISION([for Bash 3.2, version 3.192])dnl
AC_REVISION([for Bash 3.2, version 3.195])dnl
define(bashvers, 3.2)
define(relstatus, maint)
@@ -782,7 +782,7 @@ AC_CHECK_LIB(dl, dlopen)
AC_CHECK_FUNCS(dlopen dlclose dlsym)
fi
dnl this defines SYS_SIGLIST_DECLARED
dnl this defines HAVE_DECL_SYS_SIGLIST
AC_DECL_SYS_SIGLIST
dnl network functions -- check for inet_aton again
@@ -991,7 +991,8 @@ sco3.2v5*) LOCAL_CFLAGS="-b elf -DWAITPID_BROKEN -DPATH_MAX=1024" ;;
sco3.2v4*) LOCAL_CFLAGS="-DMUST_UNBLOCK_CHLD -DPATH_MAX=1024" ;;
sco3.2*) LOCAL_CFLAGS=-DMUST_UNBLOCK_CHLD ;;
sunos4*) LOCAL_CFLAGS=-DSunOS4 ;;
solaris2.5*) LOCAL_CFLAGS=-DSunOS5 ;;
solaris2.5*) LOCAL_CFLAGS="-DSunOS5 -DSOLARIS" ;;
solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
case "`uname -r`" in
@@ -1073,11 +1074,17 @@ case "$BUILD_DIR" in
*) ;;
esac
if test -z "$localedir"; then
localedir='${datarootdir}/locale'
fi
AC_SUBST(PROFILE_FLAGS)
AC_SUBST(incdir)
AC_SUBST(BUILD_DIR)
AC_SUBST(localedir)
AC_SUBST(YACC)
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
+1
View File
@@ -174,6 +174,7 @@ alrm_catcher(i)
int i;
{
printf (_("\007timed out waiting for input: auto-logout\n"));
fflush (stdout);
bash_logout (); /* run ~/.bash_logout if this is a login shell */
jump_to_top_level (EXITPROG);
SIGRETURN (0);
+1
View File
@@ -929,6 +929,7 @@ expr_streval (tok, e)
if (interactive_shell)
{
expr_unwind ();
top_level_cleanup ();
jump_to_top_level (DISCARD);
}
else
+3 -3
View File
@@ -153,7 +153,7 @@ static void readtok __P((void)); /* lexical analyzer */
static intmax_t expr_streval __P((char *, int));
static intmax_t strlong __P((char *));
static void evalerror __P((char *));
static void evalerror __P((const char *));
static void pushexp __P((void));
static void popexp __P((void));
@@ -205,7 +205,7 @@ extern char *this_command_name;
extern int unbound_vars_is_error;
#if defined (ARRAY_VARS)
extern char *bash_badsub_errmsg;
extern const char * const bash_badsub_errmsg;
#endif
#define SAVETOK(X) \
@@ -1187,7 +1187,7 @@ readtok ()
static void
evalerror (msg)
char *msg;
const char *msg;
{
char *name, *t;
+3 -1
View File
@@ -471,6 +471,8 @@ strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
* us that muck around with various message processors.
*/
case 'z': /* time zone offset east of GMT e.g. -0600 */
if (timeptr->tm_isdst < 0)
break;
#ifdef HAVE_TM_NAME
/*
* Systems with tm_name probably have tm_tzadj as
@@ -493,7 +495,7 @@ strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
# ifdef HPUX
off = -timezone / 60;
# else
off = -(daylight ? timezone : altzone) / 60;
off = -(daylight ? altzone : timezone) / 60;
# endif /* !HPUX */
#else /* !HAVE_TZNAME */
gettimeofday(& tv, & zone);
+1 -1
View File
@@ -3375,7 +3375,6 @@ read_token_word (character)
if (pass_next_character)
{
itrace("read_token_word: pass_next_character = 1 read %c (%d)", character, character);
pass_next_character = 0;
goto got_escaped_character;
}
@@ -4796,6 +4795,7 @@ parse_compound_assignment (retlenp)
{
last_command_exit_value = EXECUTION_FAILURE;
last_read_token = '\n'; /* XXX */
top_level_cleanup ();
if (interactive_shell == 0 && posixly_correct)
jump_to_top_level (FORCE_EOF);
else
+3 -1
View File
@@ -7698,6 +7698,8 @@ exp_jump_to_top_level (v)
expand_no_split_dollar_star = 0; /* XXX */
expanding_redir = 0;
top_level_cleanup (); /* from sig.c */
jump_to_top_level (v);
}
@@ -7915,7 +7917,7 @@ glob_expand_word_list (tlist, eflags)
else if (fail_glob_expansion != 0)
{
report_error (_("no match: %s"), tlist->word->word);
jump_to_top_level (DISCARD);
exp_jump_to_top_level (DISCARD);
}
else if (allow_null_glob_expansion == 0)
{
+3 -4
View File
@@ -2976,10 +2976,7 @@ quote_escapes (string)
quote_spaces = (ifs_value && *ifs_value == 0);
for (skip_ctlesc = skip_ctlnul = 0, s = ifs_value; s && *s; s++)
{
skip_ctlesc |= *s == CTLESC;
skip_ctlnul |= *s == CTLNUL;
}
skip_ctlesc |= *s == CTLESC, skip_ctlnul |= *s == CTLNUL;
t = result = (char *)xmalloc ((slen * 2) + 1);
s = string;
@@ -7701,6 +7698,8 @@ exp_jump_to_top_level (v)
expand_no_split_dollar_star = 0; /* XXX */
expanding_redir = 0;
top_level_cleanup (); /* from sig.c */
jump_to_top_level (v);
}
+8 -2
View File
@@ -1843,11 +1843,17 @@ make_variable_value (var, value, flags)
oval = value_cell (var);
lval = evalexp (oval, &expok); /* ksh93 seems to do this */
if (expok == 0)
jump_to_top_level (DISCARD);
{
top_level_cleanup ();
jump_to_top_level (DISCARD);
}
}
rval = evalexp (value, &expok);
if (expok == 0)
jump_to_top_level (DISCARD);
{
top_level_cleanup ();
jump_to_top_level (DISCARD);
}
if (flags & ASS_APPEND)
rval += lval;
retval = itos (rval);
+1
View File
@@ -515,6 +515,7 @@ initialize_shell_variables (env, privmode)
{
sv_history_control ("HISTCONTROL");
sv_histignore ("HISTIGNORE");
sv_histtimefmt ("HISTTIMEFORMAT");
}
#endif /* HISTORY */