changeset 4123:da4c69a81137

[project @ 2002-10-24 15:23:59 by jwe]
author jwe
date Thu, 24 Oct 2002 15:24:00 +0000
parents 19a1626b8d57
children 0435429c1050
files liboctave/ChangeLog liboctave/Makefile.in src/ChangeLog src/Makefile.in src/ov-mapper.cc
diffstat 5 files changed, 22 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Wed Oct 23 22:10:54 2002 +0000
+++ b/liboctave/ChangeLog	Thu Oct 24 15:24:00 2002 +0000
@@ -1,3 +1,8 @@
+2002-10-24  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here.
+	(liboctave.$(SHLEXT)): Not here.
+
 2002-10-17  Paul Kienzle <pkienzle@users.sf.net>
 
 	* oct-shlib.cc (octave_w32_shlib): New class to support Windows.
--- a/liboctave/Makefile.in	Wed Oct 23 22:10:54 2002 +0000
+++ b/liboctave/Makefile.in	Thu Oct 24 15:24:00 2002 +0000
@@ -21,7 +21,8 @@
 ifeq ($(INCLUDE_LINK_DEPS), true)
   LINK_DEPS = \
     -L../libcruft -L../kpathsea -L../glob -L. $(RLD_FLAG) \
-    $(LIBCRUFT) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBREADLINE) -lglob $(LIBS)
+    $(LIBCRUFT) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBREADLINE) \
+    -lglob $(LIBS) $(LIBKPATHSEA)
 endif
 
 MATRIX_INC := Array.h Array2.h Array3.h ArrayN.h DiagArray2.h Array-flags.h \
@@ -220,7 +221,7 @@
 
 liboctave.$(SHLEXT): $(LIBOCTAVE_PICOBJ)
 	rm -f $@
-	$(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ $^ $(LINK_DEPS) $(LIBKPATHSEA)
+	$(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ $^ $(LINK_DEPS)
 
 $(LIBOCTAVE_PICOBJ): stmp-pic
 
--- a/src/ChangeLog	Wed Oct 23 22:10:54 2002 +0000
+++ b/src/ChangeLog	Thu Oct 24 15:24:00 2002 +0000
@@ -1,3 +1,11 @@
+2002-10-24  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* ov-mapper.cc (octave_mapper::apply): Don't try real_type case if
+	arg is a string and we have a ch_map_fcn.
+
+	* Makefile.in: Add $(LIBKPATHSEA) to $(OCTAVE_LIBS) if
+	$(INCLUDE_LINK_DEPS) is false, not if $(SHARED_LIBS) is false.
+
 2002-10-23  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* DLD-FUNCTIONS/daspk.cc (daspk): Use set_options, not copy. 
--- a/src/Makefile.in	Wed Oct 23 22:10:54 2002 +0000
+++ b/src/Makefile.in	Thu Oct 24 15:24:00 2002 +0000
@@ -196,7 +196,7 @@
   $(SPECIAL_MATH_LIB) $(LIBCRUFT) \
   $(LIBPLPLOT) $(LIBGLOB) $(LIBDLFCN)
 
-ifneq ($SHARED_LIBS), true)
+ifneq ($INCLUDE_LINK_DEPS), true)
 OCTAVE_LIBS += $(LIBKPATHSEA)
 endif
 
--- a/src/ov-mapper.cc	Wed Oct 23 22:10:54 2002 +0000
+++ b/src/ov-mapper.cc	Thu Oct 24 15:24:00 2002 +0000
@@ -105,7 +105,11 @@
 {
   octave_value retval;
 
-  if (arg.is_real_type ())
+  // XXX FIXME XXX -- is_real_type can return true for strings if
+  // implicit_str_to_num_ok is nonzero.  Should it really work that
+  // way?
+
+  if (arg.is_real_type () && ! (arg.is_string () && ch_map_fcn))
     {
       if (arg.is_scalar_type ())
 	{