Update of /cvsroot/winbash/winbash
In directory usw-pr-cvs1:/tmp/cvs-serv4607
Modified Files:
.patchlevel parse.y subst.c version.h
Log Message:
Applied GNU bash 1.14.7 diffs
Index: .patchlevel
===================================================================
RCS file: /cvsroot/winbash/winbash/.patchlevel,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- .patchlevel 11 Mar 2002 04:50:29 -0000 1.5
+++ .patchlevel 11 Mar 2002 05:12:52 -0000 1.6
@@ -1 +1 @@
-6
+7
Index: parse.y
===================================================================
RCS file: /cvsroot/winbash/winbash/parse.y,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- parse.y 11 Mar 2002 04:50:29 -0000 1.5
+++ parse.y 11 Mar 2002 05:12:52 -0000 1.6
@@ -861,7 +861,7 @@
}
else
{
- int c = current_readline_line[current_readline_line_index++];
+ int c = (unsigned char)current_readline_line[current_readline_line_index++];
return (c);
}
}
@@ -905,7 +905,7 @@
static int
yy_string_get ()
{
- register char *string;
+ register unsigned char *string;
register int c;
string = bash_input.location.string;
@@ -953,9 +953,9 @@
if (bash_input.location.file)
#if defined (NO_READ_RESTART_ON_SIGNAL)
- result = getc_with_restart (bash_input.location.file);
+ result = (unsigned char)getc_with_restart (bash_input.location.file);
#else
- result = getc (bash_input.location.file);
+ result = (unsigned char)getc (bash_input.location.file);
#endif /* !NO_READ_RESTART_ON_SIGNAL */
return (result);
}
Index: subst.c
===================================================================
RCS file: /cvsroot/winbash/winbash/subst.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- subst.c 11 Mar 2002 04:50:29 -0000 1.6
+++ subst.c 11 Mar 2002 05:12:52 -0000 1.7
@@ -974,6 +974,7 @@
}
*p = '\0';
strcpy (string, nstr);
+ free (nstr);
}
/* Perform quoted null character removal on each element of LIST.
Index: version.h
===================================================================
RCS file: /cvsroot/winbash/winbash/version.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- version.h 11 Mar 2002 04:56:11 -0000 1.8
+++ version.h 11 Mar 2002 05:12:52 -0000 1.9
@@ -5,12 +5,12 @@
#define DISTVERSION "1.14"
/* The patch level of this version of the shell. */
-#define PATCHLEVEL 6
+#define PATCHLEVEL 7
/* The last built version of this shell. */
#define BUILDVERSION 1
/* A version string for use by sccs and the what command. */
-#define SCCSVERSION "@(#)Bash version 1.14.6(1) GNU"
+#define SCCSVERSION "@(#)Bash version 1.14.7(1) GNU"
|