changeset 3649:3a067b216fd6

[project @ 2000-03-31 06:02:44 by jwe]
author jwe
date Fri, 31 Mar 2000 06:02:45 +0000
parents 3074e565689c
children b3a57a1369f8
files liboctave/MArray-defs.h octMakefile.in scripts/polynomial/polyvalm.m src/ChangeLog src/oct-procbuf.cc
diffstat 5 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/MArray-defs.h	Sat Mar 25 07:52:07 2000 +0000
+++ b/liboctave/MArray-defs.h	Fri Mar 31 06:02:45 2000 +0000
@@ -1,6 +1,4 @@
-// Nothing like a little CPP abuse to brighten everyone's day.  Would
-// have been nice to do this with template functions but as of 2.5.x,
-// g++ seems to fail to resolve them properly.
+// Nothing like a little CPP abuse to brighten everyone's day.
 
 #define DO_VS_OP(r, l, v, OP, s) \
   if (l > 0) \
--- a/octMakefile.in	Sat Mar 25 07:52:07 2000 +0000
+++ b/octMakefile.in	Fri Mar 31 06:02:45 2000 +0000
@@ -65,8 +65,8 @@
 
 DIRS_TO_MAKE = $(bindir) $(libdir) $(octincludedir) $(fcnfiledir) \
   $(octfiledir) $(archlibdir) $(localarchlibdir) \
-  `echo $(localfcnfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'` \
-  `echo $(localoctfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'`
+  `echo $(localfcnfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $$i}'` \
+  `echo $(localoctfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $$i}'`
 
 all: octave-bug mkoctfile src
 .PHONY: all
--- a/scripts/polynomial/polyvalm.m	Sat Mar 25 07:52:07 2000 +0000
+++ b/scripts/polynomial/polyvalm.m	Fri Mar 31 06:02:45 2000 +0000
@@ -28,7 +28,7 @@
 ## The argument @var{x} must be a square matrix.
 ## @end deftypefn
 ## @seealso{polyval, poly, roots, conv, deconv, residue, filter,
-## polyderiv, and polyinteg)
+## polyderiv, and polyinteg}
 
 ## Author: Tony Richardson <arichard@stark.cc.oh.us>
 ## Created: June 1994
--- a/src/ChangeLog	Sat Mar 25 07:52:07 2000 +0000
+++ b/src/ChangeLog	Fri Mar 31 06:02:45 2000 +0000
@@ -1,3 +1,8 @@
+2000-03-30  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* oct-procbuf.cc (octave_procbuf::open): Make output streams line
+	buffered.
+
 2000-03-24  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* sighandlers.cc (my_friendly_exit): Prefix failure messages with
--- a/src/oct-procbuf.cc	Sat Mar 25 07:52:07 2000 +0000
+++ b/src/oct-procbuf.cc	Fri Mar 31 06:02:45 2000 +0000
@@ -128,6 +128,9 @@
 
   f = ::fdopen (parent_end, (mode & std::ios::in) ? "r" : "w");
 
+  if (mode & std::ios::out)
+    ::setvbuf (f, 0, _IOLBF, 0);
+
   open_p = true;
 
   next = octave_procbuf_list;