Update of /cvsroot/winbash/winbash
In directory usw-pr-cvs1:/tmp/cvs-serv18107
Modified Files:
.build shell.c version.h
Log Message:
non-interactive shells were thinking that they were indeed interactive. i
don't know why we never saw a problem with this before -- probably fixed
something else that was broken during the patching from 1.14.2->1.14.3.
i noticed this when running make (which spawns a lot of sub-shells) - i
kept seeing "exit" get printed out.
Index: .build
===================================================================
RCS file: /cvsroot/winbash/winbash/.build,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- .build 10 Mar 2002 15:54:10 -0000 1.4
+++ .build 10 Mar 2002 20:33:03 -0000 1.5
@@ -1 +1 @@
-1
+2
Index: shell.c
===================================================================
RCS file: /cvsroot/winbash/winbash/shell.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- shell.c 9 Mar 2002 16:05:42 -0000 1.2
+++ shell.c 10 Mar 2002 20:33:03 -0000 1.3
@@ -578,7 +578,7 @@
{
makunbound ("PS1", thr_me->shell_variables);
makunbound ("PS2", thr_me->shell_variables);
- thr_me->interactive = 1;
+ thr_me->interactive = 0;
}
else
Index: version.h
===================================================================
RCS file: /cvsroot/winbash/winbash/version.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- version.h 10 Mar 2002 15:54:10 -0000 1.3
+++ version.h 10 Mar 2002 20:33:03 -0000 1.4
@@ -8,9 +8,9 @@
#define PATCHLEVEL 3
/* The last built version of this shell. */
-#define BUILDVERSION 1
+#define BUILDVERSION 2
/* A version string for use by sccs and the what command. */
-#define SCCSVERSION "@(#)Bash version 1.14.3(1) GNU"
+#define SCCSVERSION "@(#)Bash version 1.14.3(2) GNU"
|