enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support

This commit is contained in:
Chet Ramey
2024-04-26 16:51:04 -04:00
parent 8c8daff1e3
commit 9c430f6bf3
57 changed files with 4179 additions and 3995 deletions
+7 -11
View File
@@ -1,6 +1,6 @@
/* bashversion.c -- Display bash version information. */
/* Copyright (C) 2001-2022,2023 Free Software Foundation, Inc.
/* Copyright (C) 2001-2024 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -18,19 +18,15 @@
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <buildconf.h>
#include "stdc.h"
/* assume C90 compilation environment */
#include <stdio.h>
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
extern int optind;
extern char *optarg;
#endif
#include "bashansi.h"
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
#include "version.h"
#include "conftypes.h"
+3 -6
View File
@@ -6,7 +6,7 @@
chet@po.cwru.edu
*/
/* Copyright (C) 1997-2002,2023 Free Software Foundation, Inc.
/* Copyright (C) 1997-2002,2023-2024 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -24,12 +24,9 @@
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined (HAVE_CONFIG_H)
# include <config.h>
#endif
#include "bashansi.h"
#include <stdio.h> /* puts */
#include <stdlib.h> /* exit */
#include <string.h> /* strncmp */
extern char **environ;
+2 -6
View File
@@ -6,7 +6,7 @@
chet@po.cwru.edu
*/
/* Copyright (C) 2002-2005,2023 Free Software Foundation, Inc.
/* Copyright (C) 2002-2005,2023-2024 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -24,12 +24,8 @@
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined (HAVE_CONFIG_H)
# include <config.h>
#endif
#include "bashansi.h"
#include <stdio.h>
#include <stdlib.h>
void strprint(char *);
+3 -6
View File
@@ -23,14 +23,11 @@
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "bashansi.h"
#include <errno.h>
#include <unistd.h>
#ifndef errno
extern int errno;
+1 -5
View File
@@ -18,12 +18,8 @@
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined (HAVE_CONFIG_H)
# include <config.h>
#endif
#include "bashansi.h"
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char **argv)