changeset 12787:5fab4848ea1e

maint: Periodic merge of stable to default ahead of Code Sprint.
author Rik <octave@nomad.inbox5.com>
date Fri, 15 Jul 2011 15:15:30 -0700
parents 730d25ef02d1 (current diff) 4e70c4e61c24 (diff)
children 9f4b48b93f6d
files
diffstat 6 files changed, 15 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/build-aux/bootstrap.conf
+++ b/build-aux/bootstrap.conf
@@ -59,6 +59,7 @@
   sys_times
   time
   times
+  tmpfile
   trunc
   truncf
   unistd
--- a/etc/CHECKLIST
+++ b/etc/CHECKLIST
@@ -1,18 +1,13 @@
 Things to do before making a release:
 
-  * Ask testers for the type(s) of machines they are using.
-
-  * Update the version number in src/version.h.
-
-  * Update the version number in doc/refcard/refcard.tex.
-
-  * Add a `Version M.N.P released.' line to the ChangeLog.
+  * Update the version number and release date in configure.ac.
 
   * Update the NEWS file.
 
-  * Check the README file.
+  * Update the NEWS-<VERSION>.html, index.in, news.in, and download.in
+    files for the web site.
 
-  * Run autoconf, autoheader, and configure before making tar files.
+  * Copy tarballs to ftp.gnu.org.
 
-  * Update the NEWS and README.octave files in the anonymous ftp
-    directory.
+  * Post a release announcement to the help@octave.org and
+    info-gnu@gnu.org lists.
--- a/src/DLD-FUNCTIONS/betainc.cc
+++ b/src/DLD-FUNCTIONS/betainc.cc
@@ -57,7 +57,7 @@
 \n\
 @end ifnottex\n\
 \n\
-If x has more than one component, both @var{a} and @var{b} must be\n\
+If @var{x} has more than one component, both @var{a} and @var{b} must be\n\
 scalars.  If @var{x} is a scalar, @var{a} and @var{b} must be of\n\
 compatible dimensions.\n\
 @end deftypefn")
--- a/src/DLD-FUNCTIONS/strfind.cc
+++ b/src/DLD-FUNCTIONS/strfind.cc
@@ -50,7 +50,7 @@
   const char *x = needle.data ();
   octave_idx_type m = needle.numel ();
 
-   for (octave_idx_type i = 0; i < UCHAR_MAX; i++)
+   for (octave_idx_type i = 0; i < TABSIZE; i++)
       table[i] = m + 1;
    for (octave_idx_type i = 0; i < m; i++)
       table[ORD(x[i])] = m - i;
@@ -203,7 +203,7 @@
       if (argpat.is_string ())
         {
           Array<char> needle = argpat.char_array_value ();
-          OCTAVE_LOCAL_BUFFER (octave_idx_type, table, UCHAR_MAX);
+          OCTAVE_LOCAL_BUFFER (octave_idx_type, table, TABSIZE);
           qs_preprocess (needle, table);
 
           if (argstr.is_string ())
@@ -367,7 +367,7 @@
           const Array<char> pat = argpat.char_array_value ();
           const Array<char> rep = argrep.char_array_value ();
 
-          OCTAVE_LOCAL_BUFFER (octave_idx_type, table, UCHAR_MAX);
+          OCTAVE_LOCAL_BUFFER (octave_idx_type, table, TABSIZE);
           qs_preprocess (pat, table);
 
           if (argstr.is_string ())
--- a/src/DLD-FUNCTIONS/time.cc
+++ b/src/DLD-FUNCTIONS/time.cc
@@ -340,13 +340,13 @@
 Literal character fields:\n\
 \n\
 @table @code\n\
-@item %\n\
+@item %%\n\
 % character.\n\
 \n\
-@item n\n\
+@item %n\n\
 Newline character.\n\
 \n\
-@item t\n\
+@item %t\n\
 Tab character.\n\
 @end table\n\
 \n\
--- a/src/file-io.cc
+++ b/src/file-io.cc
@@ -1922,7 +1922,7 @@
 
   if (nargin == 0)
     {
-      FILE *fid = tmpfile ();
+      FILE *fid = gnulib::tmpfile ();
 
       if (fid)
         {