# HG changeset patch # User jwe # Date 862936595 0 # Node ID f2feebf0eb7db4ea2ed1e76861db35abb24520cb # Parent 2e1757f57ce6b595780a4bc404a4dd1f50e04775 [project @ 1997-05-06 16:36:34 by jwe] diff --git a/src/data.cc b/src/data.cc --- a/src/data.cc +++ b/src/data.cc @@ -20,14 +20,6 @@ */ -/* - -The function builtin_pwd adapted from a similar function from GNU -Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 Free -Software Foundation, Inc. - -*/ - #ifdef HAVE_CONFIG_H #include #endif diff --git a/src/defaults.cc b/src/defaults.cc --- a/src/defaults.cc +++ b/src/defaults.cc @@ -20,14 +20,6 @@ */ -/* - -The function builtin_pwd adapted from a similar function from GNU -Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 Free -Software Foundation, Inc. - -*/ - #ifdef HAVE_CONFIG_H #include #endif diff --git a/src/input.cc b/src/input.cc --- a/src/input.cc +++ b/src/input.cc @@ -20,17 +20,7 @@ */ -/* - -The 2 functions listed below were adapted from similar functions -from GNU Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 -Free Software Foundation, Inc. - - read_octal decode_prompt_string - -*/ - -// Use the GNU readline library for command line editing and hisory. +// Get command input interactively or from files. #ifdef HAVE_CONFIG_H #include diff --git a/src/oct-hist.cc b/src/oct-hist.cc --- a/src/oct-hist.cc +++ b/src/oct-hist.cc @@ -18,6 +18,10 @@ along with Octave; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +/* + The functions listed below were adapted from similar functions from GNU Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc. diff --git a/src/sighandlers.h b/src/sighandlers.h --- a/src/sighandlers.h +++ b/src/sighandlers.h @@ -20,6 +20,14 @@ */ +/* + +The signal blocking macros defined below were adapted from similar +functions from GNU Bash, the Bourne Again SHell, copyright (C) 1994 +Free Software Foundation, Inc. + +*/ + // This file should always be included after config.h! #if !defined (octave_sighandlers_h) @@ -37,8 +45,6 @@ #define BADSIG (RETSIGTYPE (*)(int))-1 #endif -// The following signal blocking stuff is stolen from bash: - #define BLOCK_SIGNAL(sig, nvar, ovar) \ do \ { \ diff --git a/src/sysdep.cc b/src/sysdep.cc --- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -20,14 +20,6 @@ */ -/* - -The function gethostname was adapted from a similar function from GNU -Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 Free -Software Foundation, Inc. - -*/ - #ifdef HAVE_CONFIG_H #include #endif