* Various pre-release cleanups.

This commit is contained in:
Paul Smith 1999-09-11 05:10:27 +00:00
parent 5e9a3e34ac
commit 373dbb43da
6 changed files with 27 additions and 9 deletions

View file

@ -1,5 +1,15 @@
1999-09-07 Eli Zaretskii <eliz@is.elta.co.il>
* job.c (construct_command_argv_internal) [__MSDOS__]: Add "echo"
and "unset" to the list of builtin shell commands.
* configh.DOS.template (MAKE_HOST): Define to "i386-pc-msdosdjgpp"
which is the canonical name of the DJGPP host.
1999-09-05 Paul D. Smith <psmith@gnu.org>
* Version 3.77.95 released.
* make.texinfo (Make Errors): Document some new jobserver error
messages.

View file

@ -49,4 +49,4 @@
#define HAVE_VPRINTF 1
/* Build host information. */
#define MAKE_HOST "DOS (DJGPP)"
#define MAKE_HOST "i386-pc-msdosdjgpp"

View file

@ -1,3 +1,7 @@
1999-09-06 Paul D. Smith <psmith@gnu.org>
* fnmatch.c: Update to latest version from GLIBC.
1999-07-21 Paul D. Smith <psmith@gnu.org>
* glob.c, glob.h, fnmatch.c, fnmatch.h: Update to latest version

View file

@ -132,18 +132,21 @@ extern int errno;
# if !defined HAVE___STRCHRNUL && !defined _LIBC
static char *
__strchrnul (s, c)
register const char *s;
const char *s;
int c;
{
c = (unsigned char)c;
while (*s && *s != c)
++s;
return (char *)s;
char *result = strchr (s, c);
if (result == NULL)
result = strchr (s, '\0');
return result;
}
# endif
/* Match STRING against the filename pattern PATTERN, returning zero if
it matches, nonzero if not. */
static int internal_fnmatch __P ((const char *pattern, const char *string,
int no_leading_period, int flags))
internal_function;
static int
#ifdef _LIBC
internal_function

5
job.c
View file

@ -1932,11 +1932,12 @@ construct_command_argv_internal (line, restp, shell, ifs, batch_filename_ptr)
"vol", ":", 0 };
static char sh_chars_sh[] = "#;\"*?[]&|<>(){}$`^";
static char *sh_cmds_sh[] = { "cd", "eval", "exec", "exit", "login",
static char *sh_cmds_sh[] = { "cd", "echo", "eval", "exec", "exit", "login",
"logout", "set", "umask", "wait", "while",
"for", "case", "if", ":", ".", "break",
"continue", "export", "read", "readonly",
"shift", "times", "trap", "switch", 0 };
"shift", "times", "trap", "switch", "unset",
0 };
char *sh_chars;
char **sh_cmds;