From bug-octave-request at bevo dot che dot wisc dot edu Thu Nov 16 11:55:59 2000 Subject: rand problem From: "John W. Eaton" To: bsapp at lanl dot gov Cc: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 16 Nov 2000 11:38:36 -0600 On 14-Nov-2000, Ben Sapp wrote: | Bug report for Octave 2.1.31 configured for Linux | | Description: | ----------- | rand.cc has a problem with a declaration. | | Repeat-By: | --------- | Compiling octave from the CVS source. | | Fix: | --- | Apply this patch: | | Index: DLD-FUNCTIONS/rand.cc | =================================================================== | RCS file: /cvs/octave/src/DLD-FUNCTIONS/rand.cc,v | retrieving revision 1.14 | diff -r1.14 rand.cc | 301c301 | < for (volatile i = 0; i < n; i++) | --- | > for (volatile int i = 0; i < n; i++) Thanks, I made this change. BTW, though I can follow this small patch, using -c or -u to provide context diffs is much better. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------