[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fast copy of buffer data into a matrix
From: |
John W. Eaton |
Subject: |
Re: Fast copy of buffer data into a matrix |
Date: |
Fri, 9 Feb 2007 17:01:15 -0500 |
On 9-Feb-2007, John Swensen wrote:
| Also, here is a patch for mkoctfile.in. It ended up being a lot easier
| than I thought it would.
|
| John Swensen
| Index: mkoctfile.in
| ===================================================================
| RCS file: /cvs/octave/mkoctfile.in,v
| retrieving revision 1.54
| diff -u -r1.54 mkoctfile.in
| --- mkoctfile.in 29 Nov 2006 01:59:59 -0000 1.54
| +++ mkoctfile.in 9 Feb 2007 19:04:38 -0000
| @@ -120,6 +120,10 @@
| file=$1
| objfiles="$objfiles $file"
| ;;
| + *.a)
| + file=$1
| + objfiles="$objfiles $file"
| + ;;
| -d | --debug | -v | --verbose)
| dbg=echo
| ;;
OK, but I used a new variable, libfiles, instead of objfiles (later in
the script source files that are compiled are appended to the objfiles
list, so I think you could end up with the library ahead of the object
files, and that could cause trouble. I also added .a to the docs and
in the man page.
jwe
- Re: Fast copy of buffer data into a matrix, (continued)