changeset 2939:f2feebf0eb7d

[project @ 1997-05-06 16:36:34 by jwe]
author jwe
date Tue, 06 May 1997 16:36:35 +0000
parents 2e1757f57ce6
children c05d4e1a9bee
files src/data.cc src/defaults.cc src/input.cc src/oct-hist.cc src/sighandlers.h src/sysdep.cc
diffstat 6 files changed, 13 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- 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 <config.h>
 #endif
--- 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 <config.h>
 #endif
--- 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 <config.h>
--- 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.
--- 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 \
     { \
--- 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 <config.h>
 #endif