summaryrefslogtreecommitdiff
path: root/shells/bash/files/xpatch-implicitcd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-21 15:29:59 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-21 15:29:59 +0000
commit96a33532bb93c2175d08546087e58024b5025517 (patch)
tree2e9fddd17e3ca1b8803727d91dd7888cdc4f0c81 /shells/bash/files/xpatch-implicitcd
parentchange PATCH_SITES. (diff)
- Update to 3.1.10
PR: ports/91036 Submitted by: Rainer Alves <rainer.alves@gmail.com> Approved by: maintainer timeout (54 days)
Diffstat (limited to 'shells/bash/files/xpatch-implicitcd')
-rw-r--r--shells/bash/files/xpatch-implicitcd32
1 files changed, 16 insertions, 16 deletions
diff --git a/shells/bash/files/xpatch-implicitcd b/shells/bash/files/xpatch-implicitcd
index bbd077cf6217..4d7efb6a00e1 100644
--- a/shells/bash/files/xpatch-implicitcd
+++ b/shells/bash/files/xpatch-implicitcd
@@ -2,8 +2,8 @@
# new shopt `implicitcd'
# http://lists.gnu.org/archive/html/bug-bash/2004-09/msg00024.html
#
---- execute_cmd.c.orig Sun Jul 4 20:12:58 2004
-+++ execute_cmd.c Wed Sep 1 22:28:29 2004
+--- execute_cmd.c.orig Sat Nov 5 17:37:21 2005
++++ execute_cmd.c Wed Dec 28 19:38:09 2005
@@ -190,6 +190,9 @@
/* The line number that the currently executing function starts on. */
static int function_line_number;
@@ -14,7 +14,7 @@
/* Set to 1 if fd 0 was the subject of redirection to a subshell. Global
so that reader_loop can set it to zero before executing a command. */
int stdin_redir;
-@@ -2909,6 +2912,20 @@
+@@ -2913,6 +2916,20 @@
this_command_name = words->word->word;
QUIT;
@@ -35,11 +35,11 @@
/* This command could be a shell builtin or a user-defined function.
We have already found special builtins by this time, so we do not
---- builtins/shopt.def.orig Wed Sep 1 22:32:59 2004
-+++ builtins/shopt.def Wed Sep 1 22:31:27 2004
+--- builtins/shopt.def.orig Sat Feb 19 19:25:03 2005
++++ builtins/shopt.def Wed Dec 28 19:38:09 2005
@@ -66,6 +66,7 @@
extern int check_window_size;
- extern int glob_ignore_case;
+ extern int glob_ignore_case, match_ignore_case;
extern int hup_on_exit;
+extern int implicitcd;
extern int xpg_echo;
@@ -53,7 +53,7 @@
{ "interactive_comments", &interactive_comments, set_shellopts_after_change },
#if defined (HISTORY)
{ "lithist", &literal_history, (shopt_set_func_t *)NULL },
-@@ -252,6 +254,7 @@
+@@ -253,6 +255,7 @@
cdable_vars = mail_warning = 0;
no_exit_on_failed_exec = print_shift_error = 0;
check_hashed_filenames = cdspelling = expand_aliases = check_window_size = 0;
@@ -61,9 +61,9 @@
source_uses_path = promptvars = 1;
---- doc/bash.1.orig Mon Jul 12 17:27:08 2004
-+++ doc/bash.1 Wed Sep 1 22:21:44 2004
-@@ -7970,6 +7970,15 @@
+--- doc/bash.1.orig Wed Oct 12 12:40:52 2005
++++ doc/bash.1 Wed Dec 28 19:38:09 2005
+@@ -8090,6 +8090,15 @@
.B SIGHUP
to all jobs when an interactive login shell exits.
.TP 8
@@ -79,13 +79,12 @@
.B interactive_comments
If set, allow a word beginning with
.B #
---- doc/bashref.texi.orig Wed Sep 1 22:37:32 2004
-+++ doc/bashref.texi Wed Sep 1 22:30:57 2004
-@@ -3661,6 +3661,15 @@
- @item huponexit
+--- doc/bashref.texi.orig Mon Oct 3 16:07:21 2005
++++ doc/bashref.texi Wed Dec 28 19:38:09 2005
+@@ -3697,6 +3697,15 @@
If set, Bash will send @code{SIGHUP} to all jobs when an interactive
login shell exits (@pxref{Signals}).
-+
+
+@item implicitcd
+If this is set, a directory name typed as a command is treated as a
+request to change to that directory.
@@ -94,6 +93,7 @@
+Changing directory takes precedence over executing a like-named
+command, but it is done after alias substitutions.
+Tilde and variable expansions work as expected.
-
++
@item interactive_comments
Allow a word beginning with @samp{#}
+ to cause that word and all remaining characters on that