aboutsummaryrefslogtreecommitdiffstats
path: root/CWRU/misc
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2002-07-17 14:10:11 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:55 +0000
commit7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (patch)
treeb792f26ecca68813c51ed5ba2e381790758ef31b /CWRU/misc
parentf73dda092b33638d2d5e9c35375f687a607b5403 (diff)
downloadandroid_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.gz
android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.bz2
android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.zip
Imported from ../bash-2.05b.tar.gz.
Diffstat (limited to 'CWRU/misc')
-rwxr-xr-xCWRU/misc/bison19
-rw-r--r--CWRU/misc/errlist.c18
-rw-r--r--CWRU/misc/hpux10-dlfcn.h18
-rw-r--r--CWRU/misc/open-files.c21
-rw-r--r--CWRU/misc/pid.c7
-rw-r--r--CWRU/misc/sigs.c20
-rw-r--r--CWRU/misc/sigstat.c20
7 files changed, 115 insertions, 8 deletions
diff --git a/CWRU/misc/bison b/CWRU/misc/bison
index b819c90..5dcd3a8 100755
--- a/CWRU/misc/bison
+++ b/CWRU/misc/bison
@@ -1,4 +1,23 @@
#! /bin/sh
+#
+# bison -- just call yacc
+#
+
+# Copyright (C) 1996-2002 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
if [ "$1" = '-y' ]; then
shift
diff --git a/CWRU/misc/errlist.c b/CWRU/misc/errlist.c
index 19ca622..3970ba1 100644
--- a/CWRU/misc/errlist.c
+++ b/CWRU/misc/errlist.c
@@ -2,6 +2,24 @@
* If necessary, link with lib/sh/libsh.a
*/
+/* Copyright (C) 1998-2002 Free Software Foundation, Inc.
+
+ This file is part of GNU Bash, the Bourne Again SHell.
+
+ Bash is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
+
+ Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Bash; see the file COPYING. If not, write to the Free Software
+ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
#include <stdio.h>
#include <errno.h>
diff --git a/CWRU/misc/hpux10-dlfcn.h b/CWRU/misc/hpux10-dlfcn.h
index 9014c20..69b626e 100644
--- a/CWRU/misc/hpux10-dlfcn.h
+++ b/CWRU/misc/hpux10-dlfcn.h
@@ -17,6 +17,24 @@
* the -E flag to LOCAL_LDFLAGS.
*/
+/* Copyright (C) 1998-2002 Free Software Foundation, Inc.
+
+ This file is part of GNU Bash, the Bourne Again SHell.
+
+ Bash is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
+
+ Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Bash; see the file COPYING. If not, write to the Free Software
+ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
#if !defined (__HPUX10_DLFCN_H__)
#define __HPUX10_DLFCN_H__
diff --git a/CWRU/misc/open-files.c b/CWRU/misc/open-files.c
index 8f4d18e..aa4ab07 100644
--- a/CWRU/misc/open-files.c
+++ b/CWRU/misc/open-files.c
@@ -1,3 +1,23 @@
+/* open-files -- report files a process has open */
+
+/* Copyright (C) 1989-2002 Free Software Foundation, Inc.
+
+ This file is part of GNU Bash, the Bourne Again SHell.
+
+ Bash is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
+
+ Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Bash; see the file COPYING. If not, write to the Free Software
+ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
#include <sys/types.h>
#include <fcntl.h>
#include <sys/file.h>
@@ -13,4 +33,3 @@ main()
}
exit(0);
}
-
diff --git a/CWRU/misc/pid.c b/CWRU/misc/pid.c
deleted file mode 100644
index 458fde4..0000000
--- a/CWRU/misc/pid.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-main()
-{
- fprintf(stderr, "%d\n", getpid());
- exit(0);
-}
diff --git a/CWRU/misc/sigs.c b/CWRU/misc/sigs.c
index ea9f955..2c16935 100644
--- a/CWRU/misc/sigs.c
+++ b/CWRU/misc/sigs.c
@@ -1,3 +1,23 @@
+/* sigs - print signal dispositions for a process */
+
+/* Copyright (C) 1990-2002 Free Software Foundation, Inc.
+
+ This file is part of GNU Bash, the Bourne Again SHell.
+
+ Bash is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
+
+ Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Bash; see the file COPYING. If not, write to the Free Software
+ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
#include <signal.h>
#include <stdio.h>
diff --git a/CWRU/misc/sigstat.c b/CWRU/misc/sigstat.c
index f1ac557..2252a85 100644
--- a/CWRU/misc/sigstat.c
+++ b/CWRU/misc/sigstat.c
@@ -1,8 +1,28 @@
/*
* sigstat - print out useful information about signal arguments
*
+ * Chet Ramey
+ * chet@po.cwru.edu
*/
+/* Copyright (C) 1991-2002 Free Software Foundation, Inc.
+
+ This file is part of GNU Bash, the Bourne Again SHell.
+
+ Bash is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
+
+ Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Bash; see the file COPYING. If not, write to the Free Software
+ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
#include <sys/types.h>
#include <signal.h>
#include <stdio.h>