* dbateman <[EMAIL PROTECTED]> [2008-05-21 08:45]:
> Thomas Weber-8 wrote:
> >
> > The hex2num.cc file also contains this num2hex.
> > Maybe a missing autoload()?
>
> Oppps I backported from 3.1 and Octave itself adds the autoloads
> automatically.. Sorry can't patch at the moment, but the fix is easy.
Indeed, here is the patch:
Index: trunk/src/hex2num.cc
===================================================================
--- trunk.orig/src/hex2num.cc 2008-05-21 19:28:30.000000000 +0200
+++ trunk/src/hex2num.cc 2008-05-21 19:28:51.000000000 +0200
@@ -112,7 +112,7 @@
*/
-
+// PKG_ADD: autoload ("num2hex", "hex2num.oct");
DEFUN_DLD (num2hex, args, ,
"-*- texinfo -*-\n\
@deftypefn {Loadable Function} [EMAIL PROTECTED] =} num2hex (@var{n})\n\
As you are at it, please also fix this:
Index: trunk/src/Makefile
===================================================================
--- trunk.orig/src/Makefile 2008-05-21 17:32:55.000000000 +0000
+++ trunk/src/Makefile 2008-05-21 17:33:03.000000000 +0000
@@ -10,7 +10,7 @@
LISTEN=
endif
-TARGETS=waitbar.oct $(LISTEN) xmlread.oct hex2num.cc \
+TARGETS=waitbar.oct $(LISTEN) xmlread.oct hex2num.oct \
csvexplode.oct csv2cell.oct csvconcat.oct cell2csv.oct
all: $(TARGETS)
--
Rafael
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev