#! /bin/sh # # To apply this patch, cd to the top level Octave source directory and # run this file through /bin/sh. It will first remove any files that # have been deleted from the source distribution since the last # release and then update the sources with patch(1). # # Diffs for updating *.ps, *.dvi, *.info*, and *.html files are not # included because they can be recreated from the Texinfo files using # TeX, makeinfo, or texi2html. # # Diffs for updating parse.cc and y.tab.h are not included because # they can be recreated from the file parse.y using bison. # # Diffs for updating lex.cc are not included because it can be # recreated from lex.l using flex. # # John W. Eaton # jwe@bevo.che.wisc.edu # University of Wisconsin-Madison # Department of Chemical Engineering if test -f src/octave.cc ; then true else echo '***********************************************************' 1>&2 echo 'You must run this script in the top-level octave directory!' 1>&2 echo '***********************************************************' 1>&2 exit 1 fi ### ### Special commands should go here. ### echo 'patching existing files' patch -p1 << \PATCH_EOF diff -cNr octave-3.4.2/aclocal.m4 octave-3.4.3/aclocal.m4 *** octave-3.4.2/aclocal.m4 2011-06-24 10:38:32.000000000 -0400 --- octave-3.4.3/aclocal.m4 2011-10-10 10:24:08.000000000 -0400 *************** *** 1426,1431 **** --- 1426,1432 ---- m4_include([m4/check-math-lib.m4]) m4_include([m4/chown.m4]) m4_include([m4/close.m4]) + m4_include([m4/closedir.m4]) m4_include([m4/codeset.m4]) m4_include([m4/configmake.m4]) m4_include([m4/d-ino.m4]) *************** *** 1434,1439 **** --- 1435,1441 ---- m4_include([m4/dirfd.m4]) m4_include([m4/dirname.m4]) m4_include([m4/double-slash-root.m4]) + m4_include([m4/dup.m4]) m4_include([m4/dup2.m4]) m4_include([m4/eealloc.m4]) m4_include([m4/errno_h.m4]) *************** *** 1452,1461 **** --- 1454,1465 ---- m4_include([m4/floor.m4]) m4_include([m4/floorf.m4]) m4_include([m4/fnmatch.m4]) + m4_include([m4/fopen.m4]) m4_include([m4/fpurge.m4]) m4_include([m4/freading.m4]) m4_include([m4/fseek.m4]) m4_include([m4/fseeko.m4]) + m4_include([m4/fstat.m4]) m4_include([m4/ftell.m4]) m4_include([m4/ftello.m4]) m4_include([m4/getcwd-abort-bug.m4]) *************** *** 1473,1478 **** --- 1477,1483 ---- m4_include([m4/include_next.m4]) m4_include([m4/intmax_t.m4]) m4_include([m4/inttypes_h.m4]) + m4_include([m4/largefile.m4]) m4_include([m4/lchown.m4]) m4_include([m4/libtool.m4]) m4_include([m4/link.m4]) *************** *** 1505,1518 **** --- 1510,1528 ---- m4_include([m4/mktime.m4]) m4_include([m4/mmap-anon.m4]) m4_include([m4/mode_t.m4]) + m4_include([m4/msvc-inval.m4]) + m4_include([m4/msvc-nothrow.m4]) m4_include([m4/multiarch.m4]) m4_include([m4/nanosleep.m4]) m4_include([m4/nocrash.m4]) m4_include([m4/nproc.m4]) m4_include([m4/open.m4]) m4_include([m4/openat.m4]) + m4_include([m4/opendir.m4]) m4_include([m4/pathmax.m4]) m4_include([m4/printf.m4]) + m4_include([m4/raise.m4]) + m4_include([m4/readdir.m4]) m4_include([m4/readlink.m4]) m4_include([m4/realloc.m4]) m4_include([m4/rename.m4]) *************** *** 1529,1534 **** --- 1539,1545 ---- m4_include([m4/socketlib.m4]) m4_include([m4/sockets.m4]) m4_include([m4/socklen.m4]) + m4_include([m4/ssize_t.m4]) m4_include([m4/st_dm_mode.m4]) m4_include([m4/stat.m4]) m4_include([m4/stdbool.m4]) *************** *** 1537,1546 **** --- 1548,1559 ---- m4_include([m4/stdint_h.m4]) m4_include([m4/stdio_h.m4]) m4_include([m4/stdlib_h.m4]) + m4_include([m4/strcase.m4]) m4_include([m4/strdup.m4]) m4_include([m4/strerror.m4]) m4_include([m4/strftime.m4]) m4_include([m4/string_h.m4]) + m4_include([m4/strings_h.m4]) m4_include([m4/strptime.m4]) m4_include([m4/symlink.m4]) m4_include([m4/sys_select_h.m4]) *************** *** 1548,1559 **** --- 1561,1575 ---- m4_include([m4/sys_stat_h.m4]) m4_include([m4/sys_time_h.m4]) m4_include([m4/sys_times_h.m4]) + m4_include([m4/sys_types_h.m4]) m4_include([m4/sys_uio_h.m4]) m4_include([m4/tempname.m4]) m4_include([m4/time_h.m4]) m4_include([m4/time_r.m4]) m4_include([m4/times.m4]) m4_include([m4/tm_gmtoff.m4]) + m4_include([m4/tmpdir.m4]) + m4_include([m4/tmpfile.m4]) m4_include([m4/trunc.m4]) m4_include([m4/truncf.m4]) m4_include([m4/unistd-safer.m4]) diff -cNr octave-3.4.2/build-aux/arg-nonnull.h octave-3.4.3/build-aux/arg-nonnull.h *** octave-3.4.2/build-aux/arg-nonnull.h 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/build-aux/arg-nonnull.h 1969-12-31 19:00:00.000000000 -0500 *************** *** 1,28 **** - /* -*- buffer-read-only: t -*- vi: set ro: */ - /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ - /* A C macro for declaring that specific arguments must not be NULL. - Copyright (C) 2009-2011 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - - /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools - that the values passed as arguments n, ..., m must be non-NULL pointers. - n = 1 stands for the first argument, n = 2 for the second argument etc. */ - #ifndef _GL_ARG_NONNULL - # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 - # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) - # else - # define _GL_ARG_NONNULL(params) - # endif - #endif --- 0 ---- diff -cNr octave-3.4.2/build-aux/bootstrap.conf octave-3.4.3/build-aux/bootstrap.conf *** octave-3.4.2/build-aux/bootstrap.conf 2011-06-10 13:48:38.000000000 -0400 --- octave-3.4.3/build-aux/bootstrap.conf 2011-09-01 09:38:52.000000000 -0400 *************** *** 21,29 **** --- 21,34 ---- c-strcase copysign crypto/md5 + fclose fcntl filemode fnmatch + fopen + fflush + fseek + ftell getcwd gethostname getopt-gnu *************** *** 51,56 **** --- 56,62 ---- sleep stat stdint + stdio strftime strptime symlink *************** *** 59,64 **** --- 65,71 ---- sys_times time times + tmpfile trunc truncf unistd diff -cNr octave-3.4.2/build-aux/c++defs.h octave-3.4.3/build-aux/c++defs.h *** octave-3.4.2/build-aux/c++defs.h 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/build-aux/c++defs.h 1969-12-31 19:00:00.000000000 -0500 *************** *** 1,273 **** - /* -*- buffer-read-only: t -*- vi: set ro: */ - /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ - /* C++ compatible function declaration macros. - Copyright (C) 2010-2011 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - - #ifndef _GL_CXXDEFS_H - #define _GL_CXXDEFS_H - - /* The three most frequent use cases of these macros are: - - * For providing a substitute for a function that is missing on some - platforms, but is declared and works fine on the platforms on which - it exists: - - #if @GNULIB_FOO@ - # if !@HAVE_FOO@ - _GL_FUNCDECL_SYS (foo, ...); - # endif - _GL_CXXALIAS_SYS (foo, ...); - _GL_CXXALIASWARN (foo); - #elif defined GNULIB_POSIXCHECK - ... - #endif - - * For providing a replacement for a function that exists on all platforms, - but is broken/insufficient and needs to be replaced on some platforms: - - #if @GNULIB_FOO@ - # if @REPLACE_FOO@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) - # undef foo - # define foo rpl_foo - # endif - _GL_FUNCDECL_RPL (foo, ...); - _GL_CXXALIAS_RPL (foo, ...); - # else - _GL_CXXALIAS_SYS (foo, ...); - # endif - _GL_CXXALIASWARN (foo); - #elif defined GNULIB_POSIXCHECK - ... - #endif - - * For providing a replacement for a function that exists on some platforms - but is broken/insufficient and needs to be replaced on some of them and - is additionally either missing or undeclared on some other platforms: - - #if @GNULIB_FOO@ - # if @REPLACE_FOO@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) - # undef foo - # define foo rpl_foo - # endif - _GL_FUNCDECL_RPL (foo, ...); - _GL_CXXALIAS_RPL (foo, ...); - # else - # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ - _GL_FUNCDECL_SYS (foo, ...); - # endif - _GL_CXXALIAS_SYS (foo, ...); - # endif - _GL_CXXALIASWARN (foo); - #elif defined GNULIB_POSIXCHECK - ... - #endif - */ - - /* _GL_EXTERN_C declaration; - performs the declaration with C linkage. */ - #if defined __cplusplus - # define _GL_EXTERN_C extern "C" - #else - # define _GL_EXTERN_C extern - #endif - - /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); - declares a replacement function, named rpl_func, with the given prototype, - consisting of return type, parameters, and attributes. - Example: - _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) - _GL_ARG_NONNULL ((1))); - */ - #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ - _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) - #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ - _GL_EXTERN_C rettype rpl_func parameters_and_attributes - - /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); - declares the system function, named func, with the given prototype, - consisting of return type, parameters, and attributes. - Example: - _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) - _GL_ARG_NONNULL ((1))); - */ - #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ - _GL_EXTERN_C rettype func parameters_and_attributes - - /* _GL_CXXALIAS_RPL (func, rettype, parameters); - declares a C++ alias called GNULIB_NAMESPACE::func - that redirects to rpl_func, if GNULIB_NAMESPACE is defined. - Example: - _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); - */ - #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ - _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) - #if defined __cplusplus && defined GNULIB_NAMESPACE - # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ - namespace GNULIB_NAMESPACE \ - { \ - rettype (*const func) parameters = ::rpl_func; \ - } \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #else - # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); - is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); - except that the C function rpl_func may have a slightly different - declaration. A cast is used to silence the "invalid conversion" error - that would otherwise occur. */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ - namespace GNULIB_NAMESPACE \ - { \ - rettype (*const func) parameters = \ - reinterpret_cast(::rpl_func); \ - } \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #else - # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIAS_SYS (func, rettype, parameters); - declares a C++ alias called GNULIB_NAMESPACE::func - that redirects to the system provided function func, if GNULIB_NAMESPACE - is defined. - Example: - _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); - */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - /* If we were to write - rettype (*const func) parameters = ::func; - like above in _GL_CXXALIAS_RPL_1, the compiler could optimize calls - better (remove an indirection through a 'static' pointer variable), - but then the _GL_CXXALIASWARN macro below would cause a warning not only - for uses of ::func but also for uses of GNULIB_NAMESPACE::func. */ - # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ - namespace GNULIB_NAMESPACE \ - { \ - static rettype (*func) parameters = ::func; \ - } \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #else - # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); - is like _GL_CXXALIAS_SYS (func, rettype, parameters); - except that the C function func may have a slightly different declaration. - A cast is used to silence the "invalid conversion" error that would - otherwise occur. */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ - namespace GNULIB_NAMESPACE \ - { \ - static rettype (*func) parameters = \ - reinterpret_cast(::func); \ - } \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #else - # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); - is like _GL_CXXALIAS_SYS (func, rettype, parameters); - except that the C function is picked among a set of overloaded functions, - namely the one with rettype2 and parameters2. Two consecutive casts - are used to silence the "cannot find a match" and "invalid conversion" - errors that would otherwise occur. */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - /* The outer cast must be a reinterpret_cast. - The inner cast: When the function is defined as a set of overloaded - functions, it works as a static_cast<>, choosing the designated variant. - When the function is defined as a single variant, it works as a - reinterpret_cast<>. The parenthesized cast syntax works both ways. */ - # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ - namespace GNULIB_NAMESPACE \ - { \ - static rettype (*func) parameters = \ - reinterpret_cast( \ - (rettype2(*)parameters2)(::func)); \ - } \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #else - # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIASWARN (func); - causes a warning to be emitted when ::func is used but not when - GNULIB_NAMESPACE::func is used. func must be defined without overloaded - variants. */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - # define _GL_CXXALIASWARN(func) \ - _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) - # define _GL_CXXALIASWARN_1(func,namespace) \ - _GL_CXXALIASWARN_2 (func, namespace) - /* To work around GCC bug , - we enable the warning only when not optimizing. */ - # if !__OPTIMIZE__ - # define _GL_CXXALIASWARN_2(func,namespace) \ - _GL_WARN_ON_USE (func, \ - "The symbol ::" #func " refers to the system function. " \ - "Use " #namespace "::" #func " instead.") - # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING - # define _GL_CXXALIASWARN_2(func,namespace) \ - extern __typeof__ (func) func - # else - # define _GL_CXXALIASWARN_2(func,namespace) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - # endif - #else - # define _GL_CXXALIASWARN(func) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); - causes a warning to be emitted when the given overloaded variant of ::func - is used but not when GNULIB_NAMESPACE::func is used. */ - #if defined __cplusplus && defined GNULIB_NAMESPACE - # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ - _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ - GNULIB_NAMESPACE) - # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ - _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) - /* To work around GCC bug , - we enable the warning only when not optimizing. */ - # if !__OPTIMIZE__ - # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ - _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ - "The symbol ::" #func " refers to the system function. " \ - "Use " #namespace "::" #func " instead.") - # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING - # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ - extern __typeof__ (func) func - # else - # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - # endif - #else - # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ - _GL_EXTERN_C int _gl_cxxalias_dummy - #endif - - #endif /* _GL_CXXDEFS_H */ --- 0 ---- diff -cNr octave-3.4.2/build-aux/config.guess octave-3.4.3/build-aux/config.guess *** octave-3.4.2/build-aux/config.guess 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/build-aux/config.guess 2011-09-29 13:22:08.000000000 -0400 *************** *** 4,10 **** # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. ! timestamp='2011-06-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by --- 4,10 ---- # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. ! timestamp='2011-08-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by *************** *** 792,804 **** echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) ! case ${UNAME_MACHINE} in ! pc98) ! echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) ! echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) --- 792,803 ---- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) ! UNAME_PROCESSOR=`/usr/bin/uname -p` ! case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) ! echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) diff -cNr octave-3.4.2/build-aux/config.sub octave-3.4.3/build-aux/config.sub *** octave-3.4.2/build-aux/config.sub 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/build-aux/config.sub 2011-09-29 13:22:08.000000000 -0400 *************** *** 4,10 **** # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. ! timestamp='2011-06-03' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software --- 4,10 ---- # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. ! timestamp='2011-09-09' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software *************** *** 251,263 **** --- 251,266 ---- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ *************** *** 357,362 **** --- 360,366 ---- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ + | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ *************** *** 365,372 **** --- 369,378 ---- | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ *************** *** 813,818 **** --- 819,828 ---- basic_machine=i370-ibm os=-mvs ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; ncr3000) basic_machine=i486-ncr os=-sysv4 diff -cNr octave-3.4.2/build-aux/ltmain.sh octave-3.4.3/build-aux/ltmain.sh *** octave-3.4.2/build-aux/ltmain.sh 2011-06-24 10:38:19.000000000 -0400 --- octave-3.4.3/build-aux/ltmain.sh 2011-09-29 13:25:47.000000000 -0400 *************** *** 69,75 **** # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) ! # $progname: (GNU libtool) 2.4 Debian-2.4-2 # automake: $automake_version # autoconf: $autoconf_version # --- 69,75 ---- # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) ! # $progname: (GNU libtool) 2.4 Debian-2.4-4 # automake: $automake_version # autoconf: $autoconf_version # *************** *** 79,85 **** PROGRAM=libtool PACKAGE=libtool ! VERSION="2.4 Debian-2.4-2" TIMESTAMP="" package_revision=1.3293 --- 79,85 ---- PROGRAM=libtool PACKAGE=libtool ! VERSION="2.4 Debian-2.4-4" TIMESTAMP="" package_revision=1.3293 diff -cNr octave-3.4.2/build-aux/snippet/arg-nonnull.h octave-3.4.3/build-aux/snippet/arg-nonnull.h *** octave-3.4.2/build-aux/snippet/arg-nonnull.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/build-aux/snippet/arg-nonnull.h 2011-08-03 23:59:50.000000000 -0400 *************** *** 0 **** --- 1,28 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* A C macro for declaring that specific arguments must not be NULL. + Copyright (C) 2009-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools + that the values passed as arguments n, ..., m must be non-NULL pointers. + n = 1 stands for the first argument, n = 2 for the second argument etc. */ + #ifndef _GL_ARG_NONNULL + # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 + # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) + # else + # define _GL_ARG_NONNULL(params) + # endif + #endif diff -cNr octave-3.4.2/build-aux/snippet/c++defs.h octave-3.4.3/build-aux/snippet/c++defs.h *** octave-3.4.2/build-aux/snippet/c++defs.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/build-aux/snippet/c++defs.h 2011-08-03 23:59:50.000000000 -0400 *************** *** 0 **** --- 1,273 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* C++ compatible function declaration macros. + Copyright (C) 2010-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #ifndef _GL_CXXDEFS_H + #define _GL_CXXDEFS_H + + /* The three most frequent use cases of these macros are: + + * For providing a substitute for a function that is missing on some + platforms, but is declared and works fine on the platforms on which + it exists: + + #if @GNULIB_FOO@ + # if !@HAVE_FOO@ + _GL_FUNCDECL_SYS (foo, ...); + # endif + _GL_CXXALIAS_SYS (foo, ...); + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif + + * For providing a replacement for a function that exists on all platforms, + but is broken/insufficient and needs to be replaced on some platforms: + + #if @GNULIB_FOO@ + # if @REPLACE_FOO@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef foo + # define foo rpl_foo + # endif + _GL_FUNCDECL_RPL (foo, ...); + _GL_CXXALIAS_RPL (foo, ...); + # else + _GL_CXXALIAS_SYS (foo, ...); + # endif + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif + + * For providing a replacement for a function that exists on some platforms + but is broken/insufficient and needs to be replaced on some of them and + is additionally either missing or undeclared on some other platforms: + + #if @GNULIB_FOO@ + # if @REPLACE_FOO@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef foo + # define foo rpl_foo + # endif + _GL_FUNCDECL_RPL (foo, ...); + _GL_CXXALIAS_RPL (foo, ...); + # else + # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ + _GL_FUNCDECL_SYS (foo, ...); + # endif + _GL_CXXALIAS_SYS (foo, ...); + # endif + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif + */ + + /* _GL_EXTERN_C declaration; + performs the declaration with C linkage. */ + #if defined __cplusplus + # define _GL_EXTERN_C extern "C" + #else + # define _GL_EXTERN_C extern + #endif + + /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); + declares a replacement function, named rpl_func, with the given prototype, + consisting of return type, parameters, and attributes. + Example: + _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) + _GL_ARG_NONNULL ((1))); + */ + #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ + _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) + #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C rettype rpl_func parameters_and_attributes + + /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. + Example: + _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) + _GL_ARG_NONNULL ((1))); + */ + #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C rettype func parameters_and_attributes + + /* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func + that redirects to rpl_func, if GNULIB_NAMESPACE is defined. + Example: + _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); + */ + #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ + _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) + #if defined __cplusplus && defined GNULIB_NAMESPACE + # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + rettype (*const func) parameters = ::rpl_func; \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #else + # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); + is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); + except that the C function rpl_func may have a slightly different + declaration. A cast is used to silence the "invalid conversion" error + that would otherwise occur. */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + rettype (*const func) parameters = \ + reinterpret_cast(::rpl_func); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #else + # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIAS_SYS (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func + that redirects to the system provided function func, if GNULIB_NAMESPACE + is defined. + Example: + _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); + */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + /* If we were to write + rettype (*const func) parameters = ::func; + like above in _GL_CXXALIAS_RPL_1, the compiler could optimize calls + better (remove an indirection through a 'static' pointer variable), + but then the _GL_CXXALIASWARN macro below would cause a warning not only + for uses of ::func but also for uses of GNULIB_NAMESPACE::func. */ + # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = ::func; \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #else + # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); + is like _GL_CXXALIAS_SYS (func, rettype, parameters); + except that the C function func may have a slightly different declaration. + A cast is used to silence the "invalid conversion" error that would + otherwise occur. */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = \ + reinterpret_cast(::func); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #else + # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); + is like _GL_CXXALIAS_SYS (func, rettype, parameters); + except that the C function is picked among a set of overloaded functions, + namely the one with rettype2 and parameters2. Two consecutive casts + are used to silence the "cannot find a match" and "invalid conversion" + errors that would otherwise occur. */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + /* The outer cast must be a reinterpret_cast. + The inner cast: When the function is defined as a set of overloaded + functions, it works as a static_cast<>, choosing the designated variant. + When the function is defined as a single variant, it works as a + reinterpret_cast<>. The parenthesized cast syntax works both ways. */ + # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = \ + reinterpret_cast( \ + (rettype2(*)parameters2)(::func)); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #else + # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIASWARN (func); + causes a warning to be emitted when ::func is used but not when + GNULIB_NAMESPACE::func is used. func must be defined without overloaded + variants. */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + # define _GL_CXXALIASWARN(func) \ + _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) + # define _GL_CXXALIASWARN_1(func,namespace) \ + _GL_CXXALIASWARN_2 (func, namespace) + /* To work around GCC bug , + we enable the warning only when not optimizing. */ + # if !__OPTIMIZE__ + # define _GL_CXXALIASWARN_2(func,namespace) \ + _GL_WARN_ON_USE (func, \ + "The symbol ::" #func " refers to the system function. " \ + "Use " #namespace "::" #func " instead.") + # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING + # define _GL_CXXALIASWARN_2(func,namespace) \ + extern __typeof__ (func) func + # else + # define _GL_CXXALIASWARN_2(func,namespace) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + # endif + #else + # define _GL_CXXALIASWARN(func) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); + causes a warning to be emitted when the given overloaded variant of ::func + is used but not when GNULIB_NAMESPACE::func is used. */ + #if defined __cplusplus && defined GNULIB_NAMESPACE + # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ + _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ + GNULIB_NAMESPACE) + # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ + _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) + /* To work around GCC bug , + we enable the warning only when not optimizing. */ + # if !__OPTIMIZE__ + # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ + "The symbol ::" #func " refers to the system function. " \ + "Use " #namespace "::" #func " instead.") + # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING + # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + extern __typeof__ (func) func + # else + # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + # endif + #else + # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C int _gl_cxxalias_dummy + #endif + + #endif /* _GL_CXXDEFS_H */ diff -cNr octave-3.4.2/build-aux/snippet/_Noreturn.h octave-3.4.3/build-aux/snippet/_Noreturn.h *** octave-3.4.2/build-aux/snippet/_Noreturn.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/build-aux/snippet/_Noreturn.h 2011-08-03 23:54:53.000000000 -0400 *************** *** 0 **** --- 1,10 ---- + #ifndef _Noreturn + # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ + || 0x5110 <= __SUNPRO_C) + # define _Noreturn __attribute__ ((__noreturn__)) + # elif 1200 <= _MSC_VER + # define _Noreturn __declspec (noreturn) + # else + # define _Noreturn + # endif + #endif diff -cNr octave-3.4.2/build-aux/snippet/warn-on-use.h octave-3.4.3/build-aux/snippet/warn-on-use.h *** octave-3.4.2/build-aux/snippet/warn-on-use.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/build-aux/snippet/warn-on-use.h 2011-08-03 23:59:50.000000000 -0400 *************** *** 0 **** --- 1,111 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* A C macro for emitting warnings if a function is used. + Copyright (C) 2010-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* _GL_WARN_ON_USE (function, "literal string") issues a declaration + for FUNCTION which will then trigger a compiler warning containing + the text of "literal string" anywhere that function is called, if + supported by the compiler. If the compiler does not support this + feature, the macro expands to an unused extern declaration. + + This macro is useful for marking a function as a potential + portability trap, with the intent that "literal string" include + instructions on the replacement function that should be used + instead. However, one of the reasons that a function is a + portability trap is if it has the wrong signature. Declaring + FUNCTION with a different signature in C is a compilation error, so + this macro must use the same type as any existing declaration so + that programs that avoid the problematic FUNCTION do not fail to + compile merely because they included a header that poisoned the + function. But this implies that _GL_WARN_ON_USE is only safe to + use if FUNCTION is known to already have a declaration. Use of + this macro implies that there must not be any other macro hiding + the declaration of FUNCTION; but undefining FUNCTION first is part + of the poisoning process anyway (although for symbols that are + provided only via a macro, the result is a compilation error rather + than a warning containing "literal string"). Also note that in + C++, it is only safe to use if FUNCTION has no overloads. + + For an example, it is possible to poison 'getline' by: + - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], + [getline]) in configure.ac, which potentially defines + HAVE_RAW_DECL_GETLINE + - adding this code to a header that wraps the system : + #undef getline + #if HAVE_RAW_DECL_GETLINE + _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" + "not universally present; use the gnulib module getline"); + #endif + + It is not possible to directly poison global variables. But it is + possible to write a wrapper accessor function, and poison that + (less common usage, like &environ, will cause a compilation error + rather than issue the nice warning, but the end result of informing + the developer about their portability problem is still achieved): + #if HAVE_RAW_DECL_ENVIRON + static inline char ***rpl_environ (void) { return &environ; } + _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); + # undef environ + # define environ (*rpl_environ ()) + #endif + */ + #ifndef _GL_WARN_ON_USE + + # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) + /* A compiler attribute is available in gcc versions 4.3.0 and later. */ + # define _GL_WARN_ON_USE(function, message) \ + extern __typeof__ (function) function __attribute__ ((__warning__ (message))) + # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING + /* Verify the existence of the function. */ + # define _GL_WARN_ON_USE(function, message) \ + extern __typeof__ (function) function + # else /* Unsupported. */ + # define _GL_WARN_ON_USE(function, message) \ + _GL_WARN_EXTERN_C int _gl_warn_on_use + # endif + #endif + + /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") + is like _GL_WARN_ON_USE (function, "string"), except that the function is + declared with the given prototype, consisting of return type, parameters, + and attributes. + This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does + not work in this case. */ + #ifndef _GL_WARN_ON_USE_CXX + # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) + # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ + extern rettype function parameters_and_attributes \ + __attribute__ ((__warning__ (msg))) + # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING + /* Verify the existence of the function. */ + # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ + extern rettype function parameters_and_attributes + # else /* Unsupported. */ + # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ + _GL_WARN_EXTERN_C int _gl_warn_on_use + # endif + #endif + + /* _GL_WARN_EXTERN_C declaration; + performs the declaration with C linkage. */ + #ifndef _GL_WARN_EXTERN_C + # if defined __cplusplus + # define _GL_WARN_EXTERN_C extern "C" + # else + # define _GL_WARN_EXTERN_C extern + # endif + #endif diff -cNr octave-3.4.2/build-aux/texinfo.tex octave-3.4.3/build-aux/texinfo.tex *** octave-3.4.2/build-aux/texinfo.tex 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/build-aux/texinfo.tex 2011-09-29 13:22:08.000000000 -0400 *************** *** 3,9 **** % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % ! \def\texinfoversion{2011-05-23.16} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, --- 3,9 ---- % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % ! \def\texinfoversion{2011-09-23.09} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, *************** *** 3955,3967 **** % If so, set to same dimension as multitablelinespace. \ifdim\multitableparskip>\multitablelinespace \global\multitableparskip=\multitablelinespace ! \global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller ! %% than skip between lines in the table. \fi% \ifdim\multitableparskip=0pt \global\multitableparskip=\multitablelinespace ! \global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller ! %% than skip between lines in the table. \fi} --- 3955,3967 ---- % If so, set to same dimension as multitablelinespace. \ifdim\multitableparskip>\multitablelinespace \global\multitableparskip=\multitablelinespace ! \global\advance\multitableparskip-7pt % to keep parskip somewhat smaller ! % than skip between lines in the table. \fi% \ifdim\multitableparskip=0pt \global\multitableparskip=\multitablelinespace ! \global\advance\multitableparskip-7pt % to keep parskip somewhat smaller ! % than skip between lines in the table. \fi} *************** *** 5855,5861 **** % This is purely so the last item on the list is a known \penalty > % 10000. This is so \startdefun can avoid allowing breakpoints after % section headings. Otherwise, it would insert a valid breakpoint between: - % % @section sec-whatever % @deffn def-whatever \penalty 10001 --- 5855,5860 ---- *************** *** 6273,6278 **** --- 6272,6283 ---- \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip % Flag to tell @lisp, etc., not to narrow margin. \let\nonarrowing = t% + % + % If this cartouche directly follows a sectioning command, we need the + % \parskip glue (backspaced over by default) or the cartouche can + % collide with the section heading. + \ifnum\lastpenalty>10000 \vskip\parskip \fi + % \vbox\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop *************** *** 6286,6292 **** \lineskip=\normlskip \parskip=\normpskip \vskip -\parskip ! \comment % For explanation, see the end of \def\group. } \def\Ecartouche{% \ifhmode\par\fi --- 6291,6297 ---- \lineskip=\normlskip \parskip=\normpskip \vskip -\parskip ! \comment % For explanation, see the end of def\group. } \def\Ecartouche{% \ifhmode\par\fi *************** *** 7242,7250 **** \def\macroxxx#1{% \getargs{#1}% now \macname is the macname and \argl the arglist \ifx\argl\empty % no arguments ! \paramno=0 \else \expandafter\parsemargdef \argl;% \fi \if1\csname ismacro.\the\macname\endcsname \message{Warning: redefining \the\macname}% --- 7247,7261 ---- \def\macroxxx#1{% \getargs{#1}% now \macname is the macname and \argl the arglist \ifx\argl\empty % no arguments ! \paramno=0\relax \else \expandafter\parsemargdef \argl;% + \if\paramno>256\relax + \ifx\eTeXversion\thisisundefined + \errhelp = \EMsimple + \errmessage{You need eTeX to compile a file with macros with more than 256 arguments} + \fi + \fi \fi \if1\csname ismacro.\the\macname\endcsname \message{Warning: redefining \the\macname}% *************** *** 7294,7302 **** \def\getmacname#1 #2\relax{\macname={#1}} \def\getmacargs#1{\def\argl{#1}} % Parse the optional {params} list. Set up \paramno and \paramlist ! % so \defmacro knows what to do. Define \macarg.blah for each blah ! % in the params list to be ##N where N is the position in that list. % That gets used by \mbodybackslash (above). % % We need to get `macro parameter char #' into several definitions. --- 7305,7321 ---- \def\getmacname#1 #2\relax{\macname={#1}} \def\getmacargs#1{\def\argl{#1}} + % For macro processing make @ a letter so that we can make Texinfo private macro names. + \edef\texiatcatcode{\the\catcode`\@} + \catcode `@=11\relax + % Parse the optional {params} list. Set up \paramno and \paramlist ! % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH ! % in the params list to some hook where the argument si to be expanded. If ! % there are less than 10 arguments that hook is to be replaced by ##N where N ! % is the position in that list, that is to say the macro arguments are to be ! % defined `a la TeX in the macro body. ! % % That gets used by \mbodybackslash (above). % % We need to get `macro parameter char #' into several definitions. *************** *** 7306,7317 **** % % The same technique is used to protect \eatspaces till just before % the macro is used. ! \def\parsemargdef#1;{% \paramno=0\def\paramlist{}% \let\hash\relax \let\xeatspaces\relax \parsemargdefxxx#1,;,% } \def\parsemargdefxxx#1,{% \if#1;\let\next=\relax --- 7325,7357 ---- % % The same technique is used to protect \eatspaces till just before % the macro is used. ! % ! % If there are 10 or more arguments, a different technique is used, where the ! % hook remains in the body, and when macro is to be expanded the body is ! % processed again to replace the arguments. ! % ! % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the ! % argument N value and then \edef the body (nothing else will expand because of ! % the catcode regime underwhich the body was input). ! % ! % If you compile with TeX (not eTeX), and you have macros with 10 or more ! % arguments, you need that no macro has more than 256 arguments, otherwise an ! % error is produced. \def\parsemargdef#1;{% \paramno=0\def\paramlist{}% \let\hash\relax \let\xeatspaces\relax \parsemargdefxxx#1,;,% + % In case that there are 10 or more arguments we parse again the arguments + % list to set new definitions for the \macarg.BLAH macros corresponding to + % each BLAH argument. It was anyhow needed to parse already once this list + % in order to count the arguments, and as macros with at most 9 arguments + % are by far more frequent than macro with 10 or more arguments, defining + % twice the \macarg.BLAH macros does not cost too much processing power. + \ifnum\paramno<10\relax\else + \paramno0\relax + \parsemmanyargdef@@#1,;,% 10 or more arguments + \fi } \def\parsemargdefxxx#1,{% \if#1;\let\next=\relax *************** *** 7322,7337 **** \edef\paramlist{\paramlist\hash\the\paramno,}% \fi\next} % These two commands read recursive and nonrecursive macro bodies. % (They're different since rec and nonrec macros end differently.) % \long\def\parsemacbody#1@end macro% {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% \long\def\parsermacbody#1@end rmacro% {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% ! % This defines the macro itself. There are six cases: recursive and ! % nonrecursive macros of zero, one, and many arguments. % Much magic with \expandafter here. % \xdef is used so that macro definitions will survive the file % they're defined in; @include reads the file inside a group. --- 7362,7566 ---- \edef\paramlist{\paramlist\hash\the\paramno,}% \fi\next} + \def\parsemmanyargdef@@#1,{% + \if#1;\let\next=\relax + \else + \let\next=\parsemmanyargdef@@ + \edef\tempb{\eatspaces{#1}}% + \expandafter\def\expandafter\tempa + \expandafter{\csname macarg.\tempb\endcsname}% + % Note that we need some extra \noexpand\noexpand, this is because we + % don't want \the to be expanded in the \parsermacbody as it uses an + % \xdef . + \expandafter\edef\tempa + {\noexpand\noexpand\noexpand\the\toks\the\paramno}% + \advance\paramno by 1\relax + \fi\next} + % These two commands read recursive and nonrecursive macro bodies. % (They're different since rec and nonrec macros end differently.) % + + \catcode `\@\texiatcatcode \long\def\parsemacbody#1@end macro% {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% \long\def\parsermacbody#1@end rmacro% {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% + \catcode `\@=11\relax + + \let\endargs@\relax + \let\nil@\relax + \def\nilm@{\nil@}% + \long\def\nillm@{\nil@}% + + % This macro is expanded during the Texinfo macro expansion, not during its + % definition. It gets all the arguments values and assigns them to macros + % macarg.ARGNAME + % + % #1 is the macro name + % #2 is the list of argument names + % #3 is the list of argument values + \def\getargvals@#1#2#3{% + \def\macargdeflist@{}% + \def\saveparamlist@{#2}% Need to keep a copy for parameter expansion. + \def\paramlist{#2,\nil@}% + \def\macroname{#1}% + \begingroup + \macroargctxt + \def\argvaluelist{#3,\nil@}% + \def\@tempa{#3}% + \ifx\@tempa\empty + \setemptyargvalues@ + \else + \getargvals@@ + \fi + } + + % + \def\getargvals@@{% + \ifx\paramlist\nilm@ + % Some sanity check needed here that \argvaluelist is also empty. + \ifx\argvaluelist\nillm@ + \else + \errhelp = \EMsimple + \errmessage{Too many arguments in macro `\macroname'!}% + \fi + \let\next\macargexpandinbody@ + \else + \ifx\argvaluelist\nillm@ + % No more arguments values passed to macro. Set remaining named-arg + % macros to empty. + \let\next\setemptyargvalues@ + \else + % pop current arg name into \@tempb + \def\@tempa##1{\pop@{\@tempb}{\paramlist}##1\endargs@}% + \expandafter\@tempa\expandafter{\paramlist}% + % pop current argument value into \@tempc + \def\@tempa##1{\longpop@{\@tempc}{\argvaluelist}##1\endargs@}% + \expandafter\@tempa\expandafter{\argvaluelist}% + % Here \@tempb is the current arg name and \@tempc is the current arg value. + % First place the new argument macro definition into \@tempd + \expandafter\macname\expandafter{\@tempc}% + \expandafter\let\csname macarg.\@tempb\endcsname\relax + \expandafter\def\expandafter\@tempe\expandafter{% + \csname macarg.\@tempb\endcsname}% + \edef\@tempd{\long\def\@tempe{\the\macname}}% + \push@\@tempd\macargdeflist@ + \let\next\getargvals@@ + \fi + \fi + \next + } + + \def\push@#1#2{% + \expandafter\expandafter\expandafter\def + \expandafter\expandafter\expandafter#2% + \expandafter\expandafter\expandafter{% + \expandafter#1#2}% + } + + % Replace arguments by their values in the macro body, and place the result + % in macro \@tempa + \def\macvalstoargs@{% + % To do this we use the property that token registers that are \the'ed + % within an \edef expand only once. So we are going to place all argument + % values into respective token registers. + % + % First we save the token context, and initialize argument numbering. + \begingroup + \paramno0\relax + % Then, for each argument number #N, we place the corresponding argument + % value into a new token list register \toks#N + \expandafter\putargsintokens@\saveparamlist@,;,% + % Then, we expand the body so that argument are replaced by their + % values. The trick for values not to be expanded themselves is that they + % are within tokens and that tokens expand only once in an \edef . + \edef\@tempc{\csname mac.\macroname .body\endcsname}% + % Now we restore the token stack pointer to free the token list registers + % which we have used, but we make sure that expanded body is saved after + % group. + \expandafter + \endgroup + \expandafter\def\expandafter\@tempa\expandafter{\@tempc}% + } + + \def\macargexpandinbody@{% + %% Define the named-macro outside of this group and then close this group. + \expandafter + \endgroup + \macargdeflist@ + % First the replace in body the macro arguments by their values, the result + % is in \@tempa . + \macvalstoargs@ + % Then we point at the \norecurse or \gobble (for recursive) macro value + % with \@tempb . + \expandafter\let\expandafter\@tempb\csname mac.\macroname .recurse\endcsname + % Depending on whether it is recursive or not, we need some tailing + % \egroup . + \ifx\@tempb\gobble + \let\@tempc\relax + \else + \let\@tempc\egroup + \fi + % And now we do the real job: + \edef\@tempd{\noexpand\@tempb{\macroname}\noexpand\scanmacro{\@tempa}\@tempc}% + \@tempd + } + + \def\putargsintokens@#1,{% + \if#1;\let\next\relax + \else + \let\next\putargsintokens@ + % First we allocate the new token list register, and give it a temporary + % alias \@tempb . + \toksdef\@tempb\the\paramno + % Then we place the argument value into that token list register. + \expandafter\let\expandafter\@tempa\csname macarg.#1\endcsname + \expandafter\@tempb\expandafter{\@tempa}% + \advance\paramno by 1\relax + \fi + \next + } + + % Save the token stack pointer into macro #1 + \def\texisavetoksstackpoint#1{\edef#1{\the\@cclvi}} + % Restore the token stack pointer from number in macro #1 + \def\texirestoretoksstackpoint#1{\expandafter\mathchardef\expandafter\@cclvi#1\relax} + % newtoks that can be used non \outer . + \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi} + + % Tailing missing arguments are set to empty + \def\setemptyargvalues@{% + \ifx\paramlist\nilm@ + \let\next\macargexpandinbody@ + \else + \expandafter\setemptyargvaluesparser@\paramlist\endargs@ + \let\next\setemptyargvalues@ + \fi + \next + } + + \def\setemptyargvaluesparser@#1,#2\endargs@{% + \expandafter\def\expandafter\@tempa\expandafter{% + \expandafter\def\csname macarg.#1\endcsname{}}% + \push@\@tempa\macargdeflist@ + \def\paramlist{#2}% + } + + % #1 is the element target macro + % #2 is the list macro + % #3,#4\endargs@ is the list value + \def\pop@#1#2#3,#4\endargs@{% + \def#1{#3}% + \def#2{#4}% + } + \long\def\longpop@#1#2#3,#4\endargs@{% + \long\def#1{#3}% + \long\def#2{#4}% + } ! % This defines a Texinfo @macro. There are eight cases: recursive and ! % nonrecursive macros of zero, one, up to nine, and many arguments. % Much magic with \expandafter here. % \xdef is used so that macro definitions will survive the file % they're defined in; @include reads the file inside a group. *************** *** 7350,7366 **** \expandafter\noexpand\csname\the\macname xxx\endcsname}% \expandafter\xdef\csname\the\macname xxx\endcsname##1{% \egroup\noexpand\scanmacro{\temp}}% ! \else % many ! \expandafter\xdef\csname\the\macname\endcsname{% ! \bgroup\noexpand\macroargctxt ! \noexpand\csname\the\macname xx\endcsname}% ! \expandafter\xdef\csname\the\macname xx\endcsname##1{% ! \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% ! \expandafter\expandafter ! \expandafter\xdef ! \expandafter\expandafter ! \csname\the\macname xxx\endcsname ! \paramlist{\egroup\noexpand\scanmacro{\temp}}% \fi \else \ifcase\paramno --- 7579,7603 ---- \expandafter\noexpand\csname\the\macname xxx\endcsname}% \expandafter\xdef\csname\the\macname xxx\endcsname##1{% \egroup\noexpand\scanmacro{\temp}}% ! \else ! \ifnum\paramno<10\relax % at most 9 ! \expandafter\xdef\csname\the\macname\endcsname{% ! \bgroup\noexpand\macroargctxt ! \noexpand\csname\the\macname xx\endcsname}% ! \expandafter\xdef\csname\the\macname xx\endcsname##1{% ! \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% ! \expandafter\expandafter ! \expandafter\xdef ! \expandafter\expandafter ! \csname\the\macname xxx\endcsname ! \paramlist{\egroup\noexpand\scanmacro{\temp}}% ! \else % 10 or more ! \expandafter\xdef\csname\the\macname\endcsname{% ! \noexpand\getargvals@{\the\macname}{\argl}% ! }% ! \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp ! \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble ! \fi \fi \else \ifcase\paramno *************** *** 7377,7399 **** \egroup \noexpand\norecurse{\the\macname}% \noexpand\scanmacro{\temp}\egroup}% ! \else % many ! \expandafter\xdef\csname\the\macname\endcsname{% ! \bgroup\noexpand\macroargctxt ! \expandafter\noexpand\csname\the\macname xx\endcsname}% ! \expandafter\xdef\csname\the\macname xx\endcsname##1{% ! \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% ! \expandafter\expandafter ! \expandafter\xdef ! \expandafter\expandafter ! \csname\the\macname xxx\endcsname ! \paramlist{% ! \egroup ! \noexpand\norecurse{\the\macname}% ! \noexpand\scanmacro{\temp}\egroup}% \fi \fi} \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} % \braceorline decides whether the next nonwhitespace character is a --- 7614,7646 ---- \egroup \noexpand\norecurse{\the\macname}% \noexpand\scanmacro{\temp}\egroup}% ! \else % at most 9 ! \ifnum\paramno<10\relax ! \expandafter\xdef\csname\the\macname\endcsname{% ! \bgroup\noexpand\macroargctxt ! \expandafter\noexpand\csname\the\macname xx\endcsname}% ! \expandafter\xdef\csname\the\macname xx\endcsname##1{% ! \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% ! \expandafter\expandafter ! \expandafter\xdef ! \expandafter\expandafter ! \csname\the\macname xxx\endcsname ! \paramlist{% ! \egroup ! \noexpand\norecurse{\the\macname}% ! \noexpand\scanmacro{\temp}\egroup}% ! \else % 10 or more: ! \expandafter\xdef\csname\the\macname\endcsname{% ! \noexpand\getargvals@{\the\macname}{\argl}% ! }% ! \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp ! \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\norecurse ! \fi \fi \fi} + \catcode `\@\texiatcatcode\relax + \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} % \braceorline decides whether the next nonwhitespace character is a diff -cNr octave-3.4.2/build-aux/warn-on-use.h octave-3.4.3/build-aux/warn-on-use.h *** octave-3.4.2/build-aux/warn-on-use.h 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/build-aux/warn-on-use.h 1969-12-31 19:00:00.000000000 -0500 *************** *** 1,111 **** - /* -*- buffer-read-only: t -*- vi: set ro: */ - /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ - /* A C macro for emitting warnings if a function is used. - Copyright (C) 2010-2011 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - - /* _GL_WARN_ON_USE (function, "literal string") issues a declaration - for FUNCTION which will then trigger a compiler warning containing - the text of "literal string" anywhere that function is called, if - supported by the compiler. If the compiler does not support this - feature, the macro expands to an unused extern declaration. - - This macro is useful for marking a function as a potential - portability trap, with the intent that "literal string" include - instructions on the replacement function that should be used - instead. However, one of the reasons that a function is a - portability trap is if it has the wrong signature. Declaring - FUNCTION with a different signature in C is a compilation error, so - this macro must use the same type as any existing declaration so - that programs that avoid the problematic FUNCTION do not fail to - compile merely because they included a header that poisoned the - function. But this implies that _GL_WARN_ON_USE is only safe to - use if FUNCTION is known to already have a declaration. Use of - this macro implies that there must not be any other macro hiding - the declaration of FUNCTION; but undefining FUNCTION first is part - of the poisoning process anyway (although for symbols that are - provided only via a macro, the result is a compilation error rather - than a warning containing "literal string"). Also note that in - C++, it is only safe to use if FUNCTION has no overloads. - - For an example, it is possible to poison 'getline' by: - - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], - [getline]) in configure.ac, which potentially defines - HAVE_RAW_DECL_GETLINE - - adding this code to a header that wraps the system : - #undef getline - #if HAVE_RAW_DECL_GETLINE - _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" - "not universally present; use the gnulib module getline"); - #endif - - It is not possible to directly poison global variables. But it is - possible to write a wrapper accessor function, and poison that - (less common usage, like &environ, will cause a compilation error - rather than issue the nice warning, but the end result of informing - the developer about their portability problem is still achieved): - #if HAVE_RAW_DECL_ENVIRON - static inline char ***rpl_environ (void) { return &environ; } - _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); - # undef environ - # define environ (*rpl_environ ()) - #endif - */ - #ifndef _GL_WARN_ON_USE - - # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) - /* A compiler attribute is available in gcc versions 4.3.0 and later. */ - # define _GL_WARN_ON_USE(function, message) \ - extern __typeof__ (function) function __attribute__ ((__warning__ (message))) - # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING - /* Verify the existence of the function. */ - # define _GL_WARN_ON_USE(function, message) \ - extern __typeof__ (function) function - # else /* Unsupported. */ - # define _GL_WARN_ON_USE(function, message) \ - _GL_WARN_EXTERN_C int _gl_warn_on_use - # endif - #endif - - /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") - is like _GL_WARN_ON_USE (function, "string"), except that the function is - declared with the given prototype, consisting of return type, parameters, - and attributes. - This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does - not work in this case. */ - #ifndef _GL_WARN_ON_USE_CXX - # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) - # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ - extern rettype function parameters_and_attributes \ - __attribute__ ((__warning__ (msg))) - # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING - /* Verify the existence of the function. */ - # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ - extern rettype function parameters_and_attributes - # else /* Unsupported. */ - # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ - _GL_WARN_EXTERN_C int _gl_warn_on_use - # endif - #endif - - /* _GL_WARN_EXTERN_C declaration; - performs the declaration with C linkage. */ - #ifndef _GL_WARN_EXTERN_C - # if defined __cplusplus - # define _GL_WARN_EXTERN_C extern "C" - # else - # define _GL_WARN_EXTERN_C extern - # endif - #endif --- 0 ---- diff -cNr octave-3.4.2/ChangeLog octave-3.4.3/ChangeLog *** octave-3.4.2/ChangeLog 2011-06-24 10:50:20.000000000 -0400 --- octave-3.4.3/ChangeLog 2011-10-10 10:59:48.000000000 -0400 *************** *** 1,5 **** --- 1,645 ---- + 2011-10-10 John W. Eaton + + Version 3.4.3 released. + + * configure.ac (AC_INIT): Version number is now 3.4.3. + (OCTAVE_RELEASE_DATE): Update to 2011-10-10. + + Files: configure.ac + + 2011-09-29 Jordi Gutiérrez Hermoso + + Fix version numbers in NEWS + + Files: NEWS + + 2011-09-29 John W. Eaton + + 3.4.3 release candidate 0 + + * configure.ac (AC_INIT): Set version to 3.4.3-rc0. + (OCTAVE_RELEASE_DATE): Update. + * NEWS: Update for release. + + Files: NEWS configure.ac + + 2011-09-29 Rik + + Validate inputs to line() to prevent corrupting graphic toolkit (Bug #32345) + + * __line__.m: Validate number of X, Y, and Z points are equal before passing + to plotting toolkit. + + Files: scripts/plot/private/__line__.m + + 2011-09-28 Jordi Gutiérrez Hermoso + + Explain a bit more the src/ directory in HACKING file + + Files: etc/HACKING + + 2011-09-26 Rik + + fftshift.m: Better explain operation in docstring (Bug #33581). + + * fftshift.m: Improve docstring. Validate dimension input is truly a positive integer. + + Files: scripts/signal/fftshift.m + + __getlegenddata__.m: Fix bad subscript index error (Bug #33774). + + * __getlegenddata__.m: Switch to for loop to avoid difficult indexing scheme + which occasionally underindexes to 0. + + Files: scripts/plot/private/__getlegenddata__.m + + 2011-09-25 Rik + + Add support for additional argument "real" to schur() (Bug #34012). + + * schur.cc: Adjust input validation to accept "real" argument. + Improve docstring. + + Files: src/DLD-FUNCTIONS/schur.cc + + errorbar plots can now accept a legend key (Bug #33580). + + __errplot__.m: Borrow code from __plt__ for putting legend on plot + when it is included in linespec. + + Files: scripts/plot/private/__errplot__.m + + 2011-09-24 Jordi Gutiérrez Hermoso + + Reword sqp's docstring + + Files: scripts/optimization/sqp.m + + 2011-09-20 John W. Eaton + + maint: use specific endif, endfor tokens instead of simple end + + * gmres.m, getappdata.m, setappdata.m, axis.m: + Use specific endif, endfor tokens instead of simple end. + + Files: scripts/linear-algebra/gmres.m scripts/miscellaneous/getappdata.m + scripts/miscellaneous/setappdata.m scripts/plot/axis.m + + 2011-09-20 Rik + + doc: Quiet Texinfo warning in accumarray.m + + * accumarray.m: Use @pxref for cross-reference inside parentheses + + Files: scripts/general/accumarray.m + + 2011-09-20 Jordi Gutiérrez Hermoso + + Fix incorrect newline in weekday.m (bug #34347) + + Files: scripts/time/weekday.m + + 2011-09-20 John W. Eaton + + doc: tweak log guidelines in contrib.txi + + Files: doc/interpreter/contrib.txi + + 2011-09-19 Jordi Gutiérrez Hermoso + + Update guidelines on how to write commit messages and changelogs + + Files: doc/interpreter/contrib.txi + + 2011-09-19 Ben Abbott + + Fix bug #34015. Allow for sequential images. + + * scripts/plot/__go_draw_axes__.m: Fix for sequential images. + * scripts/plot/image.m: Add demos. + + Files: scripts/image/image.m scripts/plot/__go_draw_axes__.m + + scripts/general/interpn.m: fix(m)==m is faster than round(m)==m + + Files: scripts/general/interpn.m + + 2011-09-19 Jordi Gutiérrez Hermoso + + Define missing real double -> float complex assignment operators + + * op-fcm-fcm.cc: Define new dbl_assign matrix operator, rename old to + dbl_clx_assign. (install_fcm_fcm_ops): Install it. + * op-m-s.cc: Define new clx_sgl_assign scalar operator. + (install_m_s_ops): Install it. + + Files: src/OPERATORS/op-fcm-fcm.cc src/OPERATORS/op-m-s.cc + + 2011-09-18 Ben Abbott + + Fix bug #34282. Fill holes in contours with the background colour + + * scripts/plot/private/__contour__.m: Properly fill holes in contours. + * scripts/plot/contour.m: Add demo. + + Files: scripts/plot/contour.m scripts/plot/private/__contour__.m + + Fix bug #33204. Use latex markeup for log tick labels. + + * scripts/plot/__go_draw_axes__.m: Modify do_tics & do_tics_1 to use latex + markup for log-scale tick labels for gnuplot terminals supporting latex. + + Files: scripts/plot/__go_draw_axes__.m + + 2011-09-18 Marco Caliari + + Fix bug #33606. + + * scripts/plot/axis.m: tight axis limits for log plots. + Start all demos with clf() for repeatable results. + + Files: scripts/plot/axis.m + + 2011-09-17 Jordi Gutiérrez Hermoso + + Improve accumarray's docstring: one more example, mention vals can be scalar + + Files: scripts/general/accumarray.m + + 2011-09-17 Ben Abbott + + Fix bug #30295. + + * scripts/general/interp3.m: Improve input checks, and add tests. + * scripts/general/interpn.m: Ditto. Grid the implicit inputs. + + Files: scripts/general/interp3.m scripts/general/interpn.m + + scripts/general/interp3.m: Fix bug #30295. + Trivial fix to properly pass input args to interpn(). + + Files: scripts/general/interp3.m + + scripts/general/interp2.m: Fix bug #30295. + Add default for interleaved interpolation. + Apply meshgrid to inputs when it is implied to do so. + Use bicubic and remove FIXME. Add tests. + + Files: scripts/general/interp2.m + + 2011-09-14 Jordi Gutiérrez Hermoso + + Mention roundb in round's docstring + + Files: src/mappers.cc + + 2011-09-11 Jordi Gutiérrez Hermoso + + Add test f for bug #34266 + + Files: scripts/polynomial/residue.m + + Update residue.m's docstring to more modern form, all calling forms on top + + Files: scripts/polynomial/residue.m + + 2011-09-06 Ben Abbott + + src/graphics.cc: Fix mistake in changeset c7512d0d52e8. + + Files: src/graphics.cc + + src/graphics.cc: Ensure tick separation is in factors of 10 for log plots. + Bug #34207. + + Files: src/graphics.cc + + 2011-09-04 Rik + + logm.m: Return real matrix when all eigenvalues are real (Bug #32121). + + * logm.m: Remove complex numbers of order eps() which may have entered + return value through numeric roundoff. + + Files: scripts/linear-algebra/logm.m + + 2011-09-02 Michael Goffioul + + Make more symbols for export. + + * liboctave/randgamma.h: Add OCTAVE_API modifier to oct_randg and + oct_fill_randg + * liboctave/randmtzig.h: Add OCTAVE_API modifier to oct_init_by_int, + oct_init_by_array, oct_init_by_entropy, oct_get_state, oct_set_state, + oct_randu, oct_randn, oct_rande, oct_fill_randu, oct_fill_randn and + oct_fill_rande. + * liboctave/randpoisson.h: Add OCTAVE_API modifier to oct_randp and + oct_fill_randp. + * src/xpow.h: Add OCTINTERP_API modifier to xpow and elem_xpow (all variants). + + Files: liboctave/randgamma.h liboctave/randmtzig.h liboctave/randpoisson.h + src/xpow.h + + Add LAPACK_LIBS to link command. + + * src/mkoctfile.cc.in: Add $LAPACK_LIBS to link command. + + Files: src/mkoctfile.cc.in + + 2011-09-02 Matthias Jüschke + + plot/private/__axis_limits__.m: Check lower axis limit come first. + Bug #34158. + + Files: scripts/plot/private/__axes_limits__.m + + 2011-09-01 Rik + + doc: Improve strnum() docstring + + str2num.m: Correctly refer to output X, not N. More emphatically recommend + using str2double a replacement. Adjust example to use Octave coding standards + for spacing. + + Files: scripts/strings/str2num.m + + 2011-09-01 Ben Abbott + + doc/interpreter/stmt.txi: Correct typo. Bug #34187. + + Files: doc/interpreter/stmt.txi + + plotyy.m: Always restore current axes when done. + + Files: scripts/plot/plotyy.m + + 2011-08-31 Ben Abbott + + Fix for bug #34158. + + * plot/axis.m: Check that lower axis limits are less han upper limits. + + Files: scripts/plot/axis.m + + 2011-08-30 John W. Eaton + + doc: fix typo in ndims doc string + + * data.cc (Fndims): Fix typo in doc string. + + Files: src/data.cc + + 2011-08-29 Carlo de Falco + + Fix ambigous call to int pow (int, unsigned int&) + + * __magick_read__.cc: Use bitshift rather than pow + to compute integer powers of two. + + Files: src/DLD-FUNCTIONS/__magick_read__.cc + + 2011-08-28 Rik + + doc: Fix warnings and errors in Texinfo required for building docs on stable branch. + + oct-parse.yy: Fix warning by shifting @xref to @pxref. + + matrix.txi, numbers.txi: Correct capitalization of @ref so that it + refers to a known Texinfo node. + + Files: doc/interpreter/matrix.txi doc/interpreter/numbers.txi src/oct- + parse.yy + + 2011-08-28 Ben Abbott + + __print_parse_opts__.m: Properly convert from cm to pts (bug #34152). + + Files: scripts/plot/__print_parse_opts__.m + + 2011-08-27 Jordi Gutiérrez Hermoso + + doc: Add cross references to "status of variables" in sections for predicates + + * matrix.txi: Cross reference to Status of Variables + * numbers.txi: Ditto. + + Files: doc/interpreter/matrix.txi doc/interpreter/numbers.txi + + 2011-08-25 Ben Abbott + + dMatrix.cc: Increase tolerance for another test which fails on MinGW. + Tests were introduced by changeset f217edac2c71. + + Files: liboctave/dMatrix.cc + + 2011-08-24 Ben Abbott + + dMatrix.cc: Increase tolerance for tests which fail on MinGW. + Tests were introduced by changeset f217edac2c71. + + Files: liboctave/dMatrix.cc + + 2011-08-23 Marco atzeri + + dMatrix.cc: Fix tests introduced by changeset f217edac2c71. Declare variables + Mt and rvt as shared, and increase tolerance for tests which fail on cygwin. + + Files: liboctave/dMatrix.cc + + 2011-08-24 John W. Eaton + + sscanf: correctly set output position when reading stops at end of string + + * file-io.cc (Fsscanf): Set POS output to string length if reading + stops at end of string. + + Files: src/file-io.cc + + 2011-08-24 Pascal Dupuis + + fix scanf problem with reading I (bug #33722) + + * oct-stream.cc (octave_scan<> (std::istream&, const + scanf_format_elt&, double*)): Put characters back on input stream when + Inf is not found. + + Files: src/oct-stream.cc + + 2011-08-24 John W. Eaton + + doc: update sscanf doc string to match current behavior + + * file-io.cc (Fsscanf): Document POS output. + + Files: src/file-io.cc + + 2011-08-22 John W. Eaton + + fix dimension check for A'\B (bug #33997) + + * xdiv.cc (mx_leftdiv_conform): New arg, blas_trans. + Change all callers. + * dMatrix.cc: New tests. + + Files: liboctave/dMatrix.cc src/xdiv.cc + + correctly resize scanf output for %c formats (bug #34037) + + * oct-stream.cc (BEGIN_C_CONVERSION): Resize tmp buffer to number of + characters read. + + Files: src/oct-stream.cc test/test_io.m + + 2011-07-13 Rik + + urlwrite.cc: Remove obsolete #include curl/types.h (Bug #33697). + + * urlwrite.cc: Remove obsolete #include curl/types.h statement. + + Files: src/DLD-FUNCTIONS/urlwrite.cc + + 2011-08-15 John W. Eaton + + undo previous unintended change to oct-stream.cc + + Files: src/oct-stream.cc + + 2011-08-12 John W. Eaton + + maint: fix missing line continuation in src/Makefile.am + + * src/Makefile.am (OCTAVE_LIBS): Fix missing line continuation + for !AMCOND_ENABLE_DYNAMIC_LINKING case. + + Files: src/Makefile.am src/oct-stream.cc + + 2011-08-11 Orion Poplawski + + __xzip__: Fix regression about moving compressed files (bug #33993) + + Files: scripts/miscellaneous/private/__xzip__.m + + 2011-08-11 Jordi Gutiérrez Hermoso + + oop.txi: Fix incorrect names for power and mpower operators + + Files: doc/interpreter/oop.txi + + tar.m: Fix validation of inputs (bug #33988) + + Files: scripts/miscellaneous/tar.m + + octave-parse.yy (feval): Update docstring to refer to function handles. + + Files: src/oct-parse.yy + + 2011-08-10 Ben Abbott + + str2num.m: Add second output indicating state of the conversion. + + Files: scripts/strings/str2num.m + + 2011-08-09 John W. Eaton + + use gnulib::fseek and gnulib::fopen + + * file-io.cc (do_stream_open): Use gnulib::fopen instead of fopen. + * input.cc (get_input_from_file): Likewise. + * c-file-ptr-stream.h (c_file_ptr_buf::seek): + Use gnulib::fseek instead of fseek. + * bootstrap.conf (gnulib_modules): + Include fopen, fflush, fseek, and ftell in the list. + + Files: build-aux/bootstrap.conf src/c-file-ptr-stream.cc src/file-io.cc + src/input.cc + + 2011-08-08 Rik + + svds.m: Revert cset 12934:5d79384e3a1d. Use 42 for random number initialization. + + * svds.m: Use 42 for rand and randn initialization for tests. + + Files: scripts/sparse/svds.m + + 2011-08-07 Rik + + svds.m: Use initialization seed of 43 to have working tests on Cygwin platform. + + * svds.m: Use initialization seed of 43 for tests. + + Files: scripts/sparse/svds.m + + 2011-08-05 John W. Eaton + + maint: undo part of previous gnulib changes + + * c-file-ptr-stream.cc (c_file_ptr_buf::seek): + Move here from c-file-ptr-stream.h. Don't call gnulib::fseek. + * c-file-ptr-stream.cc (c_file_ptr_buf::tell): + Move here from c-file-ptr-stream.h. + + Files: src/c-file-ptr-stream.cc src/c-file-ptr-stream.h + + 2011-08-05 Jordi Gutiérrez Hermoso + + Clarify what indices can be for numel + + Files: src/data.cc + + Fix incorrect example output for concatenating cs-lists from cells + + Files: doc/interpreter/container.txi + + 2011-08-04 John W. Eaton + + use gnulib:: qualifiers for more stdio functions + + * oct-parse.yy (text_getc): Use gnulib::getc instead of getc. + (looking_at_classdef_keyword, looking_at_funciton_keyword): + Use gnulib::ftell, gnulib::fseek, and gnulib::fgets instead of + ftell, fseek, and fgets. + * file-io.cc (Fmkstemp): Use gnulib::mkstemp instead of mkstemp. + * lo-utils.cc (octave_fgets): Use gnulib::fgets instead of fgets. + * c-file-ptr-stream.h (c_file_ptr_buf::seek): + Use gnulib::fseek instead of fseek. + (c_file_ptr_buf::tell): Use gnulib::ftell instead of ftell. + + Files: liboctave/lo-utils.cc src/c-file-ptr-stream.h src/file-io.cc src + /oct-parse.yy + + 2011-08-03 John W. Eaton + + use gnulib:: qualifiers for more stdio functions + + * input.cc (gnu_readline): Use gnulib::fflush instead of fflush. + * sparse-util.cc (SparseCholPrint): Likewise. + * kpse.cc (DEBUGF_END, hash_lookup, kpse_element_dirs): Likewise. + * cmd-edit.cc (default_command_editor::do_readline): Likewise. + * c-file-ptr-stream.cc (c_file_ptr_buf::flush): Likewise. + (c_file_ptr_buf::xsgetn): Use gnulib::fread instead of fread. + (c_file_ptr_buf::underflow_common): Use gnulib::fgetc instead of + fgetc. + + Files: liboctave/cmd-edit.cc liboctave/kpse.cc liboctave/sparse-util.cc + src/c-file-ptr-stream.cc src/input.cc + + 2011-07-28 John W. Eaton + + maint: include fclose and stdio in bootstrap.conf module list + + * bootstrap.conf (gnulib_modules): Include fclose and stdio + in the list. + + Files: build-aux/bootstrap.conf + + 2011-07-27 Rik + + Correctly allow single string input form of fopen() (Bug #33535). + + * file-io.cc (fopen): Correct nargout check when distinguishing between + input filename and special input keyword "all". + + Files: src/file-io.cc + + maint: Rollback changeset 67bf9b30f3f9. + Do not error when numeric input given to toupper. + + * mappers.cc (toupper, tolower, toascii): Do not emit an error when + given numeric input. + + Files: src/mappers.cc + + 2011-07-27 Marco Caliari + + legendre.m: Allow ND-array inputs (Bug #33526). + + * legendre.m: Allow ND-array inputs (Bug #33526). + + Files: scripts/specfun/legendre.m + + 2011-07-27 Rik + + Error when given non-string input to tolower, toupper, toascii (Bug #33537). + + * mappers.cc (tolower, toupper, toascii): Raise error when given + non-string input. + + Files: src/mappers.cc + + 2011-07-26 Jordi Gutiérrez Hermoso + + Fix incorrect loop (bug #32683) + + Files: liboctave/Array.cc + + 2011-07-25 Rik + + assert.m: Correctly compare empty structures. + + * assert.m: Correctly compare empty structures. Add tests for behavior. + + Files: scripts/testfun/assert.m + + 2011-07-23 Rik + + strtrim.m: Make behavior same for cell arrays as for char arrays. + Add new tests and clarify documentation about whitespace. + + strtrim.m: Add vertical tab (\v) and nuls (\0) to regexprep + expression for cell arrays. Add more tests. Mention whitespace, + not just blanks, in documentation. + + Files: scripts/strings/strtrim.m + + 2011-07-22 Rik + + strtrim.m: Replace cellfun with regexprep call for 15X speedup + + * strtrim.m: Replace cellfun with regexprep call for 15X speedup. + + Files: scripts/strings/strtrim.m + + 2011-07-16 Kai Habel + + codesprint: add demo for surf.m and surfc.m + + Files: scripts/plot/surf.m scripts/plot/surfc.m + + 2011-07-14 Rik + + strfind.cc: Fix infinite loop when pattern contains 255 (Bug #33670). + + strfind.cc: Increase match table size by 1 to account for possible + UCHAR_MAX of 255. + + Files: src/DLD-FUNCTIONS/strfind.cc + + 2011-06-29 Rik + + doc: small documentation fixes for strftime, betainc + + betainc.cc: Place variable x inside @var macro + strftime.cc: Place '%' escape character before '%','n','t' commands. + + Files: src/DLD-FUNCTIONS/betainc.cc src/DLD-FUNCTIONS/time.cc + + 2011-06-28 John W. Eaton + + use gnulib tmpfile module + + * bootstrap.conf (gnulib_modules): Include tmpfile in the list. + * file-io.cc (Ftmpfile): Call gnulib::tmpfile here. + + Files: build-aux/bootstrap.conf src/file-io.cc + 2011-06-24 John W. Eaton + maint: update etc/CHECKLIST file + + * etc/CHECKLIST: Update for current release procedure. + + Files: etc/CHECKLIST + Added tag release-3-4-2 for changeset 3666e8e6f96e Files: .hgtags *************** *** 698,704 **** Files: scripts/io/textread.m scripts/io/textscan.m ! 2011-05-15 David Fix integer overflow when using text() with large x,y values (bug #33059) --- 1338,1344 ---- Files: scripts/io/textread.m scripts/io/textscan.m ! 2011-05-15 David Finkel david finkel Fix integer overflow when using text() with large x,y values (bug #33059) *************** *** 824,830 **** Files: doc/interpreter/contributors.in ! 2011-05-04 Marco Fix unfilled contourf when lvl = [0,0] (bug #33177). --- 1464,1470 ---- Files: doc/interpreter/contributors.in ! 2011-05-04 Marco Caliari marco caliari Fix unfilled contourf when lvl = [0,0] (bug #33177). diff -cNr octave-3.4.2/config.h.in octave-3.4.3/config.h.in *** octave-3.4.2/config.h.in 2011-06-24 10:38:36.000000000 -0400 --- octave-3.4.3/config.h.in 2011-10-10 10:25:59.000000000 -0400 *************** *** 104,109 **** --- 104,115 ---- /* Define to volatile if you need truncating intermediate FP results */ #undef FLOAT_TRUNCATE + /* Define to 1 if fopen() fails to recognize a trailing slash. */ + #undef FOPEN_TRAILING_SLASH_BUG + + /* Define to 1 if fstatat (..., 0) does not work, as in AIX 7.1. */ + #undef FSTATAT_ZERO_FLAG_BROKEN + /* Define to 1 if the system's ftello function has the Solaris bug. */ #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE *************** *** 139,144 **** --- 145,154 ---- #undef GNULIB_GETCWD /* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module openat shall be considered present. */ + #undef GNULIB_OPENAT + + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror shall be considered present. */ #undef GNULIB_STRERROR *************** *** 146,151 **** --- 156,164 ---- */ #undef GNULIB_TEST_CANONICALIZE_FILE_NAME + /* Define to 1 when the gnulib module chdir should be tested. */ + #undef GNULIB_TEST_CHDIR + /* Define to 1 when the gnulib module chown should be tested. */ #undef GNULIB_TEST_CHOWN *************** *** 155,163 **** --- 168,182 ---- /* Define to 1 when the gnulib module close should be tested. */ #undef GNULIB_TEST_CLOSE + /* Define to 1 when the gnulib module closedir should be tested. */ + #undef GNULIB_TEST_CLOSEDIR + /* Define to 1 when the gnulib module dirfd should be tested. */ #undef GNULIB_TEST_DIRFD + /* Define to 1 when the gnulib module dup should be tested. */ + #undef GNULIB_TEST_DUP + /* Define to 1 when the gnulib module dup2 should be tested. */ #undef GNULIB_TEST_DUP2 *************** *** 179,184 **** --- 198,206 ---- /* Define to 1 when the gnulib module floor should be tested. */ #undef GNULIB_TEST_FLOOR + /* Define to 1 when the gnulib module fopen should be tested. */ + #undef GNULIB_TEST_FOPEN + /* Define to 1 when the gnulib module fpurge should be tested. */ #undef GNULIB_TEST_FPURGE *************** *** 188,193 **** --- 210,218 ---- /* Define to 1 when the gnulib module fseeko should be tested. */ #undef GNULIB_TEST_FSEEKO + /* Define to 1 when the gnulib module fstat should be tested. */ + #undef GNULIB_TEST_FSTAT + /* Define to 1 when the gnulib module ftell should be tested. */ #undef GNULIB_TEST_FTELL *************** *** 260,265 **** --- 285,299 ---- /* Define to 1 when the gnulib module open should be tested. */ #undef GNULIB_TEST_OPEN + /* Define to 1 when the gnulib module opendir should be tested. */ + #undef GNULIB_TEST_OPENDIR + + /* Define to 1 when the gnulib module raise should be tested. */ + #undef GNULIB_TEST_RAISE + + /* Define to 1 when the gnulib module readdir should be tested. */ + #undef GNULIB_TEST_READDIR + /* Define to 1 when the gnulib module readlink should be tested. */ #undef GNULIB_TEST_READLINK *************** *** 311,316 **** --- 345,353 ---- /* Define to 1 when the gnulib module time_r should be tested. */ #undef GNULIB_TEST_TIME_R + /* Define to 1 when the gnulib module tmpfile should be tested. */ + #undef GNULIB_TEST_TMPFILE + /* Define to 1 when the gnulib module trunc should be tested. */ #undef GNULIB_TEST_TRUNC *************** *** 423,428 **** --- 460,468 ---- /* Define to 1 if you have the `chown' function. */ #undef HAVE_CHOWN + /* Define to 1 if you have the `closedir' function. */ + #undef HAVE_CLOSEDIR + /* Define if provides isfinite */ #undef HAVE_CMATH_ISFINITE *************** *** 536,541 **** --- 576,593 ---- don't. */ #undef HAVE_DECL_LOCALTIME_R + /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you + don't. */ + #undef HAVE_DECL_MBRTOWC + + /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you + don't. */ + #undef HAVE_DECL_MBSINIT + + /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you + don't. */ + #undef HAVE_DECL_MBSRTOWCS + /* Define to 1 if you have the declaration of `memrchr', and to 0 if you don't. */ #undef HAVE_DECL_MEMRCHR *************** *** 576,581 **** --- 628,637 ---- don't. */ #undef HAVE_DECL_STRMODE + /* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you + don't. */ + #undef HAVE_DECL_STRNCASECMP + /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you don't. */ #undef HAVE_DECL_SYS_SIGLIST *************** *** 584,589 **** --- 640,649 ---- */ #undef HAVE_DECL_TGAMMA + /* Define to 1 if you have the declaration of `towlower', and to 0 if you + don't. */ + #undef HAVE_DECL_TOWLOWER + /* Define to 1 if you have the declaration of `trunc', and to 0 if you don't. */ #undef HAVE_DECL_TRUNC *************** *** 992,997 **** --- 1052,1061 ---- /* Define to 1 if you have the `mprotect' function. */ #undef HAVE_MPROTECT + /* Define to 1 on MSVC platforms that have the "invalid parameter handler" + concept. */ + #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER + /* Define to 1 if you have the header file. */ #undef HAVE_NCURSES_H *************** *** 1004,1009 **** --- 1068,1076 ---- /* Define to 1 if you have the `openat' function. */ #undef HAVE_OPENAT + /* Define to 1 if you have the `opendir' function. */ + #undef HAVE_OPENDIR + /* Define if OpenGL is available */ #undef HAVE_OPENGL *************** *** 1020,1028 **** setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ #undef HAVE_PARTLY_WORKING_GETCWD - /* Define to 1 if you have the `pathconf' function. */ - #undef HAVE_PATHCONF - /* Define to 1 if you have the `pcre_compile' function. */ #undef HAVE_PCRE_COMPILE --- 1087,1092 ---- *************** *** 1062,1067 **** --- 1126,1134 ---- /* Define if qrupdate supports LU updates */ #undef HAVE_QRUPDATE_LUU + /* Define to 1 if you have the `raise' function. */ + #undef HAVE_RAISE + /* Define to 1 if accept is declared even after undefining macros. */ #undef HAVE_RAW_DECL_ACCEPT *************** *** 1099,1107 **** --- 1166,1180 ---- /* Define to 1 if ceill is declared even after undefining macros. */ #undef HAVE_RAW_DECL_CEILL + /* Define to 1 if chdir is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_CHDIR + /* Define to 1 if chown is declared even after undefining macros. */ #undef HAVE_RAW_DECL_CHOWN + /* Define to 1 if closedir is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_CLOSEDIR + /* Define to 1 if connect is declared even after undefining macros. */ #undef HAVE_RAW_DECL_CONNECT *************** *** 1114,1119 **** --- 1187,1195 ---- /* Define to 1 if dprintf is declared even after undefining macros. */ #undef HAVE_RAW_DECL_DPRINTF + /* Define to 1 if dup is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_DUP + /* Define to 1 if dup2 is declared even after undefining macros. */ #undef HAVE_RAW_DECL_DUP2 *************** *** 1147,1155 **** --- 1223,1243 ---- /* Define to 1 if fcntl is declared even after undefining macros. */ #undef HAVE_RAW_DECL_FCNTL + /* Define to 1 if fdatasync is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_FDATASYNC + /* Define to 1 if fdopendir is declared even after undefining macros. */ #undef HAVE_RAW_DECL_FDOPENDIR + /* Define to 1 if ffs is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_FFS + + /* Define to 1 if ffsl is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_FFSL + + /* Define to 1 if ffsll is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_FFSLL + /* Define to 1 if floorf is declared even after undefining macros. */ #undef HAVE_RAW_DECL_FLOORF *************** *** 1165,1170 **** --- 1253,1261 ---- /* Define to 1 if fseeko is declared even after undefining macros. */ #undef HAVE_RAW_DECL_FSEEKO + /* Define to 1 if fstat is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_FSTAT + /* Define to 1 if fstatat is declared even after undefining macros. */ #undef HAVE_RAW_DECL_FSTATAT *************** *** 1330,1335 **** --- 1421,1432 ---- /* Define to 1 if openat is declared even after undefining macros. */ #undef HAVE_RAW_DECL_OPENAT + /* Define to 1 if opendir is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_OPENDIR + + /* Define to 1 if pclose is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_PCLOSE + /* Define to 1 if pipe is declared even after undefining macros. */ #undef HAVE_RAW_DECL_PIPE *************** *** 1342,1347 **** --- 1439,1450 ---- /* Define to 1 if pread is declared even after undefining macros. */ #undef HAVE_RAW_DECL_PREAD + /* Define to 1 if pselect is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_PSELECT + + /* Define to 1 if pthread_sigmask is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_PTHREAD_SIGMASK + /* Define to 1 if ptsname is declared even after undefining macros. */ #undef HAVE_RAW_DECL_PTSNAME *************** *** 1354,1359 **** --- 1457,1465 ---- /* Define to 1 if rawmemchr is declared even after undefining macros. */ #undef HAVE_RAW_DECL_RAWMEMCHR + /* Define to 1 if readdir is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_READDIR + /* Define to 1 if readlink is declared even after undefining macros. */ #undef HAVE_RAW_DECL_READLINK *************** *** 1372,1377 **** --- 1478,1486 ---- /* Define to 1 if renameat is declared even after undefining macros. */ #undef HAVE_RAW_DECL_RENAMEAT + /* Define to 1 if rewinddir is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_REWINDDIR + /* Define to 1 if rmdir is declared even after undefining macros. */ #undef HAVE_RAW_DECL_RMDIR *************** *** 1465,1470 **** --- 1574,1582 ---- /* Define to 1 if stpncpy is declared even after undefining macros. */ #undef HAVE_RAW_DECL_STPNCPY + /* Define to 1 if strcasecmp is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_STRCASECMP + /* Define to 1 if strcasestr is declared even after undefining macros. */ #undef HAVE_RAW_DECL_STRCASESTR *************** *** 1477,1482 **** --- 1589,1597 ---- /* Define to 1 if strerror_r is declared even after undefining macros. */ #undef HAVE_RAW_DECL_STRERROR_R + /* Define to 1 if strncasecmp is declared even after undefining macros. */ + #undef HAVE_RAW_DECL_STRNCASECMP + /* Define to 1 if strncat is declared even after undefining macros. */ #undef HAVE_RAW_DECL_STRNCAT *************** *** 1672,1677 **** --- 1787,1795 ---- /* Define to 1 if _Exit is declared even after undefining macros. */ #undef HAVE_RAW_DECL__EXIT + /* Define to 1 if you have the `readdir' function. */ + #undef HAVE_READDIR + /* Define to 1 if you have the `readlink' function. */ #undef HAVE_READLINK *************** *** 1783,1788 **** --- 1901,1909 ---- /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H + /* Define to 1 if you have the `strcasecmp' function. */ + #undef HAVE_STRCASECMP + /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP *************** *** 1795,1800 **** --- 1916,1924 ---- /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H + /* Define to 1 if you have the `strncasecmp' function. */ + #undef HAVE_STRNCASECMP + /* Define to 1 if you have the `strnlen' function. */ #undef HAVE_STRNLEN *************** *** 1970,1975 **** --- 2094,2102 ---- `HAVE_STRUCT_TM_TM_ZONE' instead. */ #undef HAVE_TM_ZONE + /* Define to 1 if you have the `towlower' function. */ + #undef HAVE_TOWLOWER + /* Define to 1 if you don't have `tm_zone' but do have the external array `tzname'. */ #undef HAVE_TZNAME *************** *** 2112,2117 **** --- 2239,2247 ---- /* Define to 1 if you have the `_kbhit' function. */ #undef HAVE__KBHIT + /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ + #undef HAVE__SET_INVALID_PARAMETER_HANDLER + /* Define to 1 if you have the `_utime32' function. */ #undef HAVE__UTIME32 *************** *** 2121,2126 **** --- 2251,2259 ---- /* Define to 1 if you have the `__freading' function. */ #undef HAVE___FREADING + /* Define to 1 if you have the `__secure_getenv' function. */ + #undef HAVE___SECURE_GETENV + /* Define HOST_NAME_MAX when does not define it. */ #undef HOST_NAME_MAX *************** *** 2241,2246 **** --- 2374,2382 ---- */ #undef REPLACE_OPEN_DIRECTORY + /* Define to 1 if strerror(0) does not return a message implying success. */ + #undef REPLACE_STRERROR_0 + /* Define if vasnprintf exists but is overridden by gnulib. */ #undef REPLACE_VASNPRINTF *************** *** 2292,2300 **** /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. ! STACK_DIRECTION > 0 => grows toward higher addresses ! STACK_DIRECTION < 0 => grows toward lower addresses ! STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if the `S_IS*' macros in do not work properly. */ --- 2428,2436 ---- /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. ! STACK_DIRECTION > 0 => grows toward higher addresses ! STACK_DIRECTION < 0 => grows toward lower addresses ! STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if the `S_IS*' macros in do not work properly. */ *************** *** 2374,2379 **** --- 2510,2520 ---- #endif + /* Enable large inode numbers on Mac OS X. */ + #ifndef _DARWIN_USE_64_BIT_INODE + # define _DARWIN_USE_64_BIT_INODE 1 + #endif + /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS *************** *** 2389,2394 **** --- 2530,2548 ---- /* Define to 1 if on MINIX. */ #undef _MINIX + /* The _Noreturn keyword of draft C1X. */ + #ifndef _Noreturn + # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ + || 0x5110 <= __SUNPRO_C) + # define _Noreturn __attribute__ ((__noreturn__)) + # elif 1200 <= _MSC_VER + # define _Noreturn __declspec (noreturn) + # else + # define _Noreturn + # endif + #endif + + /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE *************** *** 2413,2418 **** --- 2567,2576 ---- #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif + /* Enable general extensions on MacOS X. */ + #ifndef _DARWIN_C_SOURCE + # undef _DARWIN_C_SOURCE + #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE *************** *** 2512,2517 **** --- 2670,2678 ---- /* type to use in place of socklen_t if not defined */ #undef socklen_t + /* Define as a signed type of the same size as size_t. */ + #undef ssize_t + /* Define to `int' if doesn't define. */ #undef uid_t diff -cNr octave-3.4.2/configure octave-3.4.3/configure *** octave-3.4.2/configure 2011-06-24 10:38:35.000000000 -0400 --- octave-3.4.3/configure 2011-10-10 10:24:17.000000000 -0400 *************** *** 1,7 **** #! /bin/sh # From configure.ac Revision: 1.603 . # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.68 for GNU Octave 3.4.2. # # Report bugs to . # --- 1,7 ---- #! /bin/sh # From configure.ac Revision: 1.603 . # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.68 for GNU Octave 3.4.3. # # Report bugs to . # *************** *** 571,578 **** # Identity of this package. PACKAGE_NAME='GNU Octave' PACKAGE_TARNAME='octave' ! PACKAGE_VERSION='3.4.2' ! PACKAGE_STRING='GNU Octave 3.4.2' PACKAGE_BUGREPORT='http://octave.org/bugs.html' PACKAGE_URL='http://www.gnu.org/software/octave/' --- 571,578 ---- # Identity of this package. PACKAGE_NAME='GNU Octave' PACKAGE_TARNAME='octave' ! PACKAGE_VERSION='3.4.3' ! PACKAGE_STRING='GNU Octave 3.4.3' PACKAGE_BUGREPORT='http://octave.org/bugs.html' PACKAGE_URL='http://www.gnu.org/software/octave/' *************** *** 749,756 **** OBJDUMP DLLTOOL AS - ARFLAGS - AR GRAPHICS_LIBS GRAPHICS_CFLAGS FLTK_CONFIG --- 749,754 ---- *************** *** 828,833 **** --- 826,832 ---- INCLUDE_DEPS CC_VERSION gltests_WITNESS + REPLACE_TOWLOWER REPLACE_ISWCNTRL HAVE_WCTYPE_H NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H *************** *** 859,864 **** --- 858,865 ---- HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H + NEXT_SYS_TYPES_H HAVE_SYS_TIMES_H NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H NEXT_SYS_TIMES_H *************** *** 867,874 **** --- 868,905 ---- GNULIB_TIMES NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H NEXT_SYS_STAT_H + HAVE_WS2TCPIP_H + HAVE_SYS_SOCKET_H + NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H + NEXT_SYS_SOCKET_H + HAVE_ACCEPT4 + HAVE_SA_FAMILY_T + HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY + HAVE_STRUCT_SOCKADDR_STORAGE + GNULIB_ACCEPT4 + GNULIB_SHUTDOWN + GNULIB_SETSOCKOPT + GNULIB_SENDTO + GNULIB_RECVFROM + GNULIB_SEND + GNULIB_RECV + GNULIB_LISTEN + GNULIB_GETSOCKOPT + GNULIB_GETSOCKNAME + GNULIB_GETPEERNAME + GNULIB_BIND + GNULIB_ACCEPT + GNULIB_CONNECT + GNULIB_SOCKET + HAVE_STRINGS_H + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H + NEXT_STRINGS_H NEXT_AS_FIRST_DIRECTIVE_STRING_H NEXT_STRING_H + HAVE_DECL_STRNCASECMP + HAVE_STRCASECMP + HAVE_FFS + GNULIB_FFS NEXT_AS_FIRST_DIRECTIVE_STDLIB_H NEXT_STDLIB_H NEXT_AS_FIRST_DIRECTIVE_STDIO_H *************** *** 912,959 **** STDBOOL_H NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H NEXT_SIGNAL_H HAVE_SIGHANDLER_T HAVE_TYPE_VOLATILE_SIG_ATOMIC_T HAVE_STRUCT_SIGACTION_SA_SIGACTION HAVE_SIGACTION HAVE_SIGINFO_T HAVE_SIGSET_T HAVE_POSIX_SIGNALBLOCKING GNULIB_SIGACTION GNULIB_SIGPROCMASK GNULIB_SIGNAL_H_SIGPIPE ! ROUNDF_LIBM ! ROUND_LIBM LIB_NANOSLEEP LIBSOCKET HAVE_SYS_SELECT_H NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H NEXT_SYS_SELECT_H REPLACE_SELECT GNULIB_SELECT ! HAVE_WS2TCPIP_H ! HAVE_SYS_SOCKET_H ! NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H ! NEXT_SYS_SOCKET_H ! HAVE_ACCEPT4 ! HAVE_SA_FAMILY_T ! HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY ! HAVE_STRUCT_SOCKADDR_STORAGE ! GNULIB_ACCEPT4 ! GNULIB_SHUTDOWN ! GNULIB_SETSOCKOPT ! GNULIB_SENDTO ! GNULIB_RECVFROM ! GNULIB_SEND ! GNULIB_RECV ! GNULIB_LISTEN ! GNULIB_GETSOCKOPT ! GNULIB_GETSOCKNAME ! GNULIB_GETPEERNAME ! GNULIB_BIND ! GNULIB_ACCEPT ! GNULIB_CONNECT ! GNULIB_SOCKET APPLE_UNIVERSAL_BUILD REPLACE_TIMEGM REPLACE_NANOSLEEP --- 943,977 ---- STDBOOL_H NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H NEXT_SIGNAL_H + ROUNDF_LIBM + ROUND_LIBM + REPLACE_RAISE + REPLACE_PTHREAD_SIGMASK HAVE_SIGHANDLER_T HAVE_TYPE_VOLATILE_SIG_ATOMIC_T HAVE_STRUCT_SIGACTION_SA_SIGACTION HAVE_SIGACTION HAVE_SIGINFO_T HAVE_SIGSET_T + HAVE_RAISE + HAVE_PTHREAD_SIGMASK HAVE_POSIX_SIGNALBLOCKING GNULIB_SIGACTION GNULIB_SIGPROCMASK GNULIB_SIGNAL_H_SIGPIPE ! GNULIB_RAISE ! GNULIB_PTHREAD_SIGMASK LIB_NANOSLEEP + LIB_SELECT LIBSOCKET HAVE_SYS_SELECT_H NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H NEXT_SYS_SELECT_H REPLACE_SELECT + REPLACE_PSELECT + HAVE_PSELECT GNULIB_SELECT ! GNULIB_PSELECT APPLE_UNIVERSAL_BUILD REPLACE_TIMEGM REPLACE_NANOSLEEP *************** *** 1001,1006 **** --- 1019,1026 ---- HAVE_MEMPCPY HAVE_DECL_MEMMEM HAVE_MEMCHR + HAVE_FFSLL + HAVE_FFSL HAVE_MBSLEN GNULIB_STRVERSCMP GNULIB_STRSIGNAL *************** *** 1037,1042 **** --- 1057,1064 ---- GNULIB_MEMPCPY GNULIB_MEMMEM GNULIB_MEMCHR + GNULIB_FFSLL + GNULIB_FFSL LOCALE_FR LOCALE_FR_UTF8 LOCALE_ZH_CN *************** *** 1154,1159 **** --- 1176,1214 ---- NEXT_AS_FIRST_DIRECTIVE_GETOPT_H NEXT_GETOPT_H GETHOSTNAME_LIB + REPLACE_UTIMENSAT + REPLACE_STAT + REPLACE_MKNOD + REPLACE_MKFIFO + REPLACE_MKDIR + REPLACE_LSTAT + REPLACE_FUTIMENS + REPLACE_FSTATAT + REPLACE_FSTAT + HAVE_UTIMENSAT + HAVE_MKNODAT + HAVE_MKNOD + HAVE_MKFIFOAT + HAVE_MKFIFO + HAVE_MKDIRAT + HAVE_LSTAT + HAVE_LCHMOD + HAVE_FUTIMENS + HAVE_FSTATAT + HAVE_FCHMODAT + GNULIB_UTIMENSAT + GNULIB_STAT + GNULIB_MKNODAT + GNULIB_MKNOD + GNULIB_MKFIFOAT + GNULIB_MKFIFO + GNULIB_MKDIRAT + GNULIB_LSTAT + GNULIB_LCHMOD + GNULIB_FUTIMENS + GNULIB_FSTATAT + GNULIB_FSTAT + GNULIB_FCHMODAT GL_GENERATE_FNMATCH_H_FALSE GL_GENERATE_FNMATCH_H_TRUE FNMATCH_H *************** *** 1262,1332 **** GNULIB_OPEN GNULIB_NONBLOCKING GNULIB_FCNTL - REPLACE_UTIMENSAT - REPLACE_STAT - REPLACE_MKNOD - REPLACE_MKFIFO - REPLACE_MKDIR - REPLACE_LSTAT - REPLACE_FUTIMENS - REPLACE_FSTATAT - REPLACE_FSTAT - HAVE_UTIMENSAT - HAVE_MKNODAT - HAVE_MKNOD - HAVE_MKFIFOAT - HAVE_MKFIFO - HAVE_MKDIRAT - HAVE_LSTAT - HAVE_LCHMOD - HAVE_FUTIMENS - HAVE_FSTATAT - HAVE_FCHMODAT - GNULIB_UTIMENSAT - GNULIB_STAT - GNULIB_MKNODAT - GNULIB_MKNOD - GNULIB_MKFIFOAT - GNULIB_MKFIFO - GNULIB_MKDIRAT - GNULIB_LSTAT - GNULIB_LCHMOD - GNULIB_FUTIMENS - GNULIB_FSTATAT - GNULIB_FCHMODAT - EOVERFLOW_VALUE - EOVERFLOW_HIDDEN - ENOLINK_VALUE - ENOLINK_HIDDEN - EMULTIHOP_VALUE - EMULTIHOP_HIDDEN - GL_GENERATE_ERRNO_H_FALSE - GL_GENERATE_ERRNO_H_TRUE - ERRNO_H - NEXT_AS_FIRST_DIRECTIVE_ERRNO_H - NEXT_ERRNO_H - NEXT_AS_FIRST_DIRECTIVE_DIRENT_H - NEXT_DIRENT_H - PRAGMA_COLUMNS - PRAGMA_SYSTEM_HEADER - INCLUDE_NEXT_AS_FIRST_DIRECTIVE - INCLUDE_NEXT - REPLACE_OPENDIR - REPLACE_FDOPENDIR - REPLACE_DIRFD - REPLACE_CLOSEDIR - HAVE_ALPHASORT - HAVE_SCANDIR - HAVE_FDOPENDIR - HAVE_DECL_FDOPENDIR - HAVE_DECL_DIRFD - GNULIB_ALPHASORT - GNULIB_SCANDIR - GNULIB_FDOPENDIR - GNULIB_DIRFD - COPYSIGN_LIBM - pkglibexecdir - lispdir REPLACE_VSPRINTF REPLACE_VSNPRINTF REPLACE_VPRINTF --- 1317,1322 ---- *************** *** 1356,1366 **** --- 1346,1359 ---- REPLACE_FPRINTF REPLACE_FOPEN REPLACE_FFLUSH + REPLACE_FDOPEN REPLACE_FCLOSE REPLACE_DPRINTF HAVE_VDPRINTF HAVE_VASPRINTF HAVE_RENAMEAT + HAVE_POPEN + HAVE_PCLOSE HAVE_FTELLO HAVE_FSEEKO HAVE_DPRINTF *************** *** 1398,1403 **** --- 1391,1397 ---- GNULIB_PRINTF GNULIB_POPEN GNULIB_PERROR + GNULIB_PCLOSE GNULIB_OBSTACK_PRINTF_POSIX GNULIB_OBSTACK_PRINTF GNULIB_GETS *************** *** 1422,1430 **** --- 1416,1468 ---- GNULIB_FGETS GNULIB_FGETC GNULIB_FFLUSH + GNULIB_FDOPEN GNULIB_FCLOSE GNULIB_DPRINTF + EOVERFLOW_VALUE + EOVERFLOW_HIDDEN + ENOLINK_VALUE + ENOLINK_HIDDEN + EMULTIHOP_VALUE + EMULTIHOP_HIDDEN + GL_GENERATE_ERRNO_H_FALSE + GL_GENERATE_ERRNO_H_TRUE + ERRNO_H + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H + NEXT_ERRNO_H + HAVE_DIRENT_H + NEXT_AS_FIRST_DIRECTIVE_DIRENT_H + NEXT_DIRENT_H + PRAGMA_COLUMNS + PRAGMA_SYSTEM_HEADER + INCLUDE_NEXT_AS_FIRST_DIRECTIVE + INCLUDE_NEXT + COPYSIGN_LIBM + pkglibexecdir + lispdir + REPLACE_FDOPENDIR + REPLACE_DIRFD + REPLACE_CLOSEDIR + REPLACE_OPENDIR + HAVE_ALPHASORT + HAVE_SCANDIR + HAVE_FDOPENDIR + HAVE_DECL_FDOPENDIR + HAVE_DECL_DIRFD + HAVE_CLOSEDIR + HAVE_REWINDDIR + HAVE_READDIR + HAVE_OPENDIR + GNULIB_ALPHASORT + GNULIB_SCANDIR + GNULIB_FDOPENDIR + GNULIB_DIRFD + GNULIB_CLOSEDIR + GNULIB_REWINDDIR + GNULIB_READDIR + GNULIB_OPENDIR HAVE_WINSOCK2_H + HAVE_MSVC_INVALID_PARAMETER_HANDLER UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS UNISTD_H_HAVE_WINSOCK2_H REPLACE_WRITE *************** *** 1460,1465 **** --- 1498,1504 ---- HAVE_DECL_GETPAGESIZE HAVE_DECL_GETLOGIN_R HAVE_DECL_GETDOMAINNAME + HAVE_DECL_FDATASYNC HAVE_DECL_FCHDIR HAVE_DECL_ENVIRON HAVE_USLEEP *************** *** 1484,1489 **** --- 1523,1529 ---- HAVE_GETDTABLESIZE HAVE_FTRUNCATE HAVE_FSYNC + HAVE_FDATASYNC HAVE_FCHOWNAT HAVE_FCHDIR HAVE_FACCESSAT *************** *** 1526,1531 **** --- 1566,1572 ---- GNULIB_GETCWD GNULIB_FTRUNCATE GNULIB_FSYNC + GNULIB_FDATASYNC GNULIB_FCHOWNAT GNULIB_FCHDIR GNULIB_FACCESSAT *************** *** 1533,1540 **** --- 1574,1583 ---- GNULIB_ENVIRON GNULIB_DUP3 GNULIB_DUP2 + GNULIB_DUP GNULIB_CLOSE GNULIB_CHOWN + GNULIB_CHDIR REPLACE_WCTOMB REPLACE_UNSETENV REPLACE_STRTOD *************** *** 1608,1613 **** --- 1651,1658 ---- GL_COND_LIBTOOL_FALSE GL_COND_LIBTOOL_TRUE RANLIB + ARFLAGS + AR CXX_VERSION CXXCPP am__fastdepCXX_FALSE *************** *** 2388,2394 **** # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF ! \`configure' configures GNU Octave 3.4.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... --- 2433,2439 ---- # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF ! \`configure' configures GNU Octave 3.4.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... *************** *** 2462,2468 **** if test -n "$ac_init_help"; then case $ac_init_help in ! short | recursive ) echo "Configuration of GNU Octave 3.4.2:";; esac cat <<\_ACEOF --- 2507,2513 ---- if test -n "$ac_init_help"; then case $ac_init_help in ! short | recursive ) echo "Configuration of GNU Octave 3.4.3:";; esac cat <<\_ACEOF *************** *** 2706,2712 **** test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF ! GNU Octave configure 3.4.2 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. --- 2751,2757 ---- test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF ! GNU Octave configure 3.4.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. *************** *** 3919,3925 **** This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. ! It was created by GNU Octave $as_me 3.4.2, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ --- 3964,3970 ---- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. ! It was created by GNU Octave $as_me 3.4.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ *************** *** 4204,4216 **** as_fn_append ac_func_list " readlink" as_fn_append ac_func_list " realpath" as_fn_append ac_header_list " sys/param.h" as_fn_append ac_func_list " chown" as_fn_append ac_func_list " fchown" as_fn_append ac_header_list " sys/socket.h" as_fn_append ac_header_list " dirent.h" as_fn_append ac_func_list " fcntl" ! as_fn_append ac_func_list " dup2" ! as_fn_append ac_func_list " fchdir" as_fn_append ac_func_list " fdopendir" as_fn_append ac_func_list " mempcpy" as_fn_append ac_func_list " btowc" --- 4249,4263 ---- as_fn_append ac_func_list " readlink" as_fn_append ac_func_list " realpath" as_fn_append ac_header_list " sys/param.h" + as_fn_append ac_header_list " unistd.h" as_fn_append ac_func_list " chown" as_fn_append ac_func_list " fchown" + as_fn_append ac_func_list " _set_invalid_parameter_handler" as_fn_append ac_header_list " sys/socket.h" + as_fn_append ac_func_list " fchdir" as_fn_append ac_header_list " dirent.h" as_fn_append ac_func_list " fcntl" ! as_fn_append ac_func_list " symlink" as_fn_append ac_func_list " fdopendir" as_fn_append ac_func_list " mempcpy" as_fn_append ac_func_list " btowc" *************** *** 4232,4238 **** as_fn_append ac_header_list " sys/time.h" as_fn_append ac_func_list " gettimeofday" as_fn_append ac_header_list " sys/cdefs.h" - as_fn_append ac_header_list " unistd.h" as_fn_append ac_func_list " fstatat" as_fn_append ac_func_list " getpwnam_r" as_fn_append ac_func_list " lchmod" --- 4279,4284 ---- *************** *** 4247,4253 **** as_fn_append ac_func_list " mkstemp" as_fn_append ac_func_list " alarm" as_fn_append ac_header_list " sys/select.h" ! as_fn_append ac_func_list " pathconf" as_fn_append ac_func_list " sigaction" as_fn_append ac_func_list " sigaltstack" as_fn_append ac_func_list " siginterrupt" --- 4293,4302 ---- as_fn_append ac_func_list " mkstemp" as_fn_append ac_func_list " alarm" as_fn_append ac_header_list " sys/select.h" ! as_fn_append ac_func_list " fchmodat" ! as_fn_append ac_func_list " mkdirat" ! as_fn_append ac_func_list " openat" ! as_fn_append ac_func_list " unlinkat" as_fn_append ac_func_list " sigaction" as_fn_append ac_func_list " sigaltstack" as_fn_append ac_func_list " siginterrupt" *************** *** 4256,4263 **** as_fn_append ac_header_list " stdint.h" as_fn_append ac_func_list " strdup" as_fn_append ac_func_list " tzset" as_fn_append ac_func_list " strptime" - as_fn_append ac_func_list " symlink" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_header_list " sys/times.h" as_fn_append ac_header_list " sys/uio.h" --- 4305,4312 ---- as_fn_append ac_header_list " stdint.h" as_fn_append ac_func_list " strdup" as_fn_append ac_func_list " tzset" + as_fn_append ac_header_list " strings.h" as_fn_append ac_func_list " strptime" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_header_list " sys/times.h" as_fn_append ac_header_list " sys/uio.h" *************** *** 4266,4271 **** --- 4315,4321 ---- as_fn_append ac_func_list " pipe" as_fn_append ac_func_list " vasnprintf" as_fn_append ac_header_list " features.h" + as_fn_append ac_func_list " snprintf" as_fn_append ac_func_list " iswcntrl" # Check that the precious variables saved in the cache have kept the same # value. *************** *** 4339,4345 **** OCTAVE_VERSION="$PACKAGE_VERSION" OCTAVE_API_VERSION_NUMBER="45" OCTAVE_API_VERSION="api-v$OCTAVE_API_VERSION_NUMBER+" ! OCTAVE_RELEASE_DATE="2011-06-24" OCTAVE_COPYRIGHT="Copyright (C) 2011 John W. Eaton and others." --- 4389,4395 ---- OCTAVE_VERSION="$PACKAGE_VERSION" OCTAVE_API_VERSION_NUMBER="45" OCTAVE_API_VERSION="api-v$OCTAVE_API_VERSION_NUMBER+" ! OCTAVE_RELEASE_DATE="2011-10-10" OCTAVE_COPYRIGHT="Copyright (C) 2011 John W. Eaton and others." *************** *** 4822,4828 **** # Define the identity of the package. PACKAGE='octave' ! VERSION='3.4.2' cat >>confdefs.h <<_ACEOF --- 4872,4878 ---- # Define the identity of the package. PACKAGE='octave' ! VERSION='3.4.3' cat >>confdefs.h <<_ACEOF *************** *** 6489,6494 **** --- 6539,6546 ---- $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h *************** *** 8526,8532 **** ### gnulib ! if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 --- 8578,8726 ---- ### gnulib ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 ! $as_echo_n "checking for Minix Amsterdam compiler... " >&6; } ! if ${gl_cv_c_amsterdam_compiler+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! #ifdef __ACK__ ! Amsterdam ! #endif ! ! _ACEOF ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "Amsterdam" >/dev/null 2>&1; then : ! gl_cv_c_amsterdam_compiler=yes ! else ! gl_cv_c_amsterdam_compiler=no ! fi ! rm -f conftest* ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 ! $as_echo "$gl_cv_c_amsterdam_compiler" >&6; } ! if test -z "$AR"; then ! if test $gl_cv_c_amsterdam_compiler = yes; then ! AR='cc -c.a' ! if test -z "$ARFLAGS"; then ! ARFLAGS='-o' ! fi ! else ! if test -n "$ac_tool_prefix"; then ! # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. ! set dummy ${ac_tool_prefix}ar; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if ${ac_cv_prog_AR+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! if test -n "$AR"; then ! ac_cv_prog_AR="$AR" # Let the user override the test. ! else ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_AR="${ac_tool_prefix}ar" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 ! fi ! done ! done ! IFS=$as_save_IFS ! ! fi ! fi ! AR=$ac_cv_prog_AR ! if test -n "$AR"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ! $as_echo "$AR" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi ! ! ! fi ! if test -z "$ac_cv_prog_AR"; then ! ac_ct_AR=$AR ! # Extract the first word of "ar", so it can be a program name with args. ! set dummy ar; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if ${ac_cv_prog_ac_ct_AR+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! if test -n "$ac_ct_AR"; then ! ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ! else ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_ac_ct_AR="ar" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 ! fi ! done ! done ! IFS=$as_save_IFS ! ! fi ! fi ! ac_ct_AR=$ac_cv_prog_ac_ct_AR ! if test -n "$ac_ct_AR"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 ! $as_echo "$ac_ct_AR" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi ! ! if test "x$ac_ct_AR" = x; then ! AR="ar" ! else ! case $cross_compiling:$ac_tool_warned in ! yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ! $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ! ac_tool_warned=yes ;; ! esac ! AR=$ac_ct_AR ! fi ! else ! AR="$ac_cv_prog_AR" ! fi ! ! if test -z "$ARFLAGS"; then ! ARFLAGS='cru' ! fi ! fi ! else ! if test -z "$ARFLAGS"; then ! ARFLAGS='cru' ! fi ! fi ! ! ! if test -z "$RANLIB"; then ! if test $gl_cv_c_amsterdam_compiler = yes; then ! RANLIB=':' ! else ! if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 *************** *** 8618,8623 **** --- 8812,8821 ---- RANLIB="$ac_cv_prog_RANLIB" fi + fi + fi + + *************** *** 8692,8711 **** fi # Code from module alignof: # Code from module alloca: # Code from module alloca-opt: - # Code from module arg-nonnull: - # Code from module c++defs: # Code from module c-ctype: # Code from module c-strcase: # Code from module canonicalize-lgpl: # Code from module chdir-long: # Code from module chown: # Code from module cloexec: # Code from module close: # Code from module configmake: # Code from module copysign: # Code from module crypto/md5: --- 8890,9109 ---- fi + # Check whether --enable-largefile was given. + if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; + fi + + if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 + $as_echo_n "checking for special C compiler options needed for large files... " >&6; } + if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; + int + main () + { + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break + fi + rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break + fi + rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 + $as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } + if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 + else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; + int + main () + { + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _FILE_OFFSET_BITS 64 + #include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; + int + main () + { + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break + done + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 + $as_echo "$ac_cv_sys_file_offset_bits" >&6; } + case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) + cat >>confdefs.h <<_ACEOF + #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits + _ACEOF + ;; + esac + rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 + $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } + if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 + else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; + int + main () + { + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _LARGE_FILES 1 + #include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; + int + main () + { + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break + done + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 + $as_echo "$ac_cv_sys_large_files" >&6; } + case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) + cat >>confdefs.h <<_ACEOF + #define _LARGE_FILES $ac_cv_sys_large_files + _ACEOF + ;; + esac + rm -rf conftest* + fi + + + fi + # Code from module alignof: # Code from module alloca: # Code from module alloca-opt: # Code from module c-ctype: # Code from module c-strcase: # Code from module canonicalize-lgpl: + # Code from module chdir: # Code from module chdir-long: # Code from module chown: # Code from module cloexec: # Code from module close: + # Code from module closedir: # Code from module configmake: # Code from module copysign: # Code from module crypto/md5: *************** *** 8716,8721 **** --- 9114,9120 ---- # Code from module dirname-lgpl: # Code from module dosname: # Code from module double-slash-root: + # Code from module dup: # Code from module dup2: # Code from module errno: # Code from module error: *************** *** 8731,8745 **** --- 9130,9147 ---- # Code from module fflush: # Code from module filemode: + # Code from module filename: # Code from module filenamecat-lgpl: # Code from module float: # Code from module floor: # Code from module fnmatch: + # Code from module fopen: # Code from module fpurge: # Code from module freading: # Code from module fseek: # Code from module fseeko: + # Code from module fstat: # Code from module ftell: # Code from module ftello: *************** *** 8755,8760 **** --- 9157,9164 ---- # Code from module glob: # Code from module include_next: # Code from module intprops: + # Code from module largefile: + # Code from module lchown: # Code from module link: # Code from module localcharset: *************** *** 8773,8778 **** --- 9177,9184 ---- # Code from module mkfifo: # Code from module mkstemp: # Code from module mktime: + # Code from module msvc-inval: + # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nocrash: *************** *** 8780,8787 **** --- 9186,9196 ---- # Code from module open: # Code from module openat: # Code from module openat-die: + # Code from module opendir: # Code from module pathmax: # Code from module progname: + # Code from module raise: + # Code from module readdir: # Code from module readlink: # Code from module realloc-posix: # Code from module rename: *************** *** 8793,8816 **** --- 9202,9233 ---- # Code from module select: # Code from module sigaction: # Code from module signal: + # Code from module signal-h: # Code from module sigprocmask: # Code from module size_max: # Code from module sleep: + # Code from module snippet/_Noreturn: + # Code from module snippet/arg-nonnull: + # Code from module snippet/c++defs: + # Code from module snippet/warn-on-use: # Code from module socketlib: # Code from module sockets: # Code from module socklen: + # Code from module ssize_t: # Code from module stat: # Code from module stdbool: # Code from module stddef: # Code from module stdint: # Code from module stdio: # Code from module stdlib: + # Code from module strcase: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module strftime: # Code from module string: + # Code from module strings: # Code from module strnlen1: # Code from module strptime: # Code from module symlink: *************** *** 8819,8829 **** --- 9236,9249 ---- # Code from module sys_stat: # Code from module sys_time: # Code from module sys_times: + # Code from module sys_types: # Code from module sys_uio: # Code from module tempname: # Code from module time: # Code from module time_r: # Code from module times: + # Code from module tmpdir: + # Code from module tmpfile: # Code from module trunc: # Code from module truncf: # Code from module unistd: *************** *** 8832,8838 **** # Code from module vasnprintf: # Code from module verify: # Code from module vsnprintf: - # Code from module warn-on-use: # Code from module wchar: # Code from module wctype-h: # Code from module xsize: --- 9252,9257 ---- *************** *** 8841,8846 **** --- 9260,9266 ---- + LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ *************** *** 9255,9260 **** --- 9675,9708 ---- } } } + #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + /* Avoid a crash on native Windows. */ + #define WIN32_LEAN_AND_MEAN + #include + #include + static LONG WINAPI + exception_filter (EXCEPTION_POINTERS *ExceptionInfo) + { + switch (ExceptionInfo->ExceptionRecord->ExceptionCode) + { + case EXCEPTION_ACCESS_VIOLATION: + case EXCEPTION_IN_PAGE_ERROR: + case EXCEPTION_STACK_OVERFLOW: + case EXCEPTION_GUARD_PAGE: + case EXCEPTION_PRIV_INSTRUCTION: + case EXCEPTION_ILLEGAL_INSTRUCTION: + case EXCEPTION_DATATYPE_MISALIGNMENT: + case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: + case EXCEPTION_NONCONTINUABLE_EXCEPTION: + exit (1); + } + return EXCEPTION_CONTINUE_SEARCH; + } + static void + nocrash_init (void) + { + SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); + } #else /* Avoid a crash on POSIX systems. */ #include *************** *** 9358,9408 **** - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 - $as_echo_n "checking for inline... " >&6; } - if ${ac_cv_c_inline+:} false; then : - $as_echo_n "(cached) " >&6 - else - ac_cv_c_inline=no - for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #ifndef __cplusplus - typedef int foo_t; - static $ac_kw foo_t static_foo () {return 0; } - $ac_kw foo_t foo () {return 0; } - #endif - - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break - done - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 - $as_echo "$ac_cv_c_inline" >&6; } - - case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF - #ifndef __cplusplus - #define inline $ac_val - #endif - _ACEOF - ;; - esac - GNULIB_CHOWN=0; GNULIB_CLOSE=0; GNULIB_DUP2=0; GNULIB_DUP3=0; GNULIB_ENVIRON=0; --- 9806,9816 ---- + GNULIB_CHDIR=0; GNULIB_CHOWN=0; GNULIB_CLOSE=0; + GNULIB_DUP=0; GNULIB_DUP2=0; GNULIB_DUP3=0; GNULIB_ENVIRON=0; *************** *** 9410,9415 **** --- 9818,9824 ---- GNULIB_FACCESSAT=0; GNULIB_FCHDIR=0; GNULIB_FCHOWNAT=0; + GNULIB_FDATASYNC=0; GNULIB_FSYNC=0; GNULIB_FTRUNCATE=0; GNULIB_GETCWD=0; *************** *** 9452,9457 **** --- 9861,9867 ---- HAVE_FACCESSAT=1; HAVE_FCHDIR=1; HAVE_FCHOWNAT=1; + HAVE_FDATASYNC=1; HAVE_FSYNC=1; HAVE_FTRUNCATE=1; HAVE_GETDTABLESIZE=1; *************** *** 9476,9481 **** --- 9886,9892 ---- HAVE_USLEEP=1; HAVE_DECL_ENVIRON=1; HAVE_DECL_FCHDIR=1; + HAVE_DECL_FDATASYNC=1; HAVE_DECL_GETDOMAINNAME=1; HAVE_DECL_GETLOGIN_R=1; HAVE_DECL_GETPAGESIZE=1; *************** *** 9513,9518 **** --- 9924,9976 ---- UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 + $as_echo_n "checking for inline... " >&6; } + if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifndef __cplusplus + typedef int foo_t; + static $ac_kw foo_t static_foo () {return 0; } + $ac_kw foo_t foo () {return 0; } + #endif + + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break + done + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 + $as_echo "$ac_cv_c_inline" >&6; } + + case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF + #ifndef __cplusplus + #define inline $ac_val + #endif + _ACEOF + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } if ${ac_cv_type_uid_t+:} false; then : *************** *** 9794,9896 **** ! GNULIB_DPRINTF=0; ! GNULIB_FCLOSE=0; ! GNULIB_FFLUSH=0; ! GNULIB_FGETC=0; ! GNULIB_FGETS=0; ! GNULIB_FOPEN=0; ! GNULIB_FPRINTF=0; ! GNULIB_FPRINTF_POSIX=0; ! GNULIB_FPURGE=0; ! GNULIB_FPUTC=0; ! GNULIB_FPUTS=0; ! GNULIB_FREAD=0; ! GNULIB_FREOPEN=0; ! GNULIB_FSCANF=0; ! GNULIB_FSEEK=0; ! GNULIB_FSEEKO=0; ! GNULIB_FTELL=0; ! GNULIB_FTELLO=0; ! GNULIB_FWRITE=0; ! GNULIB_GETC=0; ! GNULIB_GETCHAR=0; ! GNULIB_GETDELIM=0; ! GNULIB_GETLINE=0; ! GNULIB_GETS=0; ! GNULIB_OBSTACK_PRINTF=0; ! GNULIB_OBSTACK_PRINTF_POSIX=0; ! GNULIB_PERROR=0; ! GNULIB_POPEN=0; ! GNULIB_PRINTF=0; ! GNULIB_PRINTF_POSIX=0; ! GNULIB_PUTC=0; ! GNULIB_PUTCHAR=0; ! GNULIB_PUTS=0; ! GNULIB_REMOVE=0; ! GNULIB_RENAME=0; ! GNULIB_RENAMEAT=0; ! GNULIB_SCANF=0; ! GNULIB_SNPRINTF=0; ! GNULIB_SPRINTF_POSIX=0; ! GNULIB_STDIO_H_NONBLOCKING=0; ! GNULIB_STDIO_H_SIGPIPE=0; ! GNULIB_TMPFILE=0; ! GNULIB_VASPRINTF=0; ! GNULIB_VFSCANF=0; ! GNULIB_VSCANF=0; ! GNULIB_VDPRINTF=0; ! GNULIB_VFPRINTF=0; ! GNULIB_VFPRINTF_POSIX=0; ! GNULIB_VPRINTF=0; ! GNULIB_VPRINTF_POSIX=0; ! GNULIB_VSNPRINTF=0; ! GNULIB_VSPRINTF_POSIX=0; ! HAVE_DECL_FPURGE=1; ! HAVE_DECL_FSEEKO=1; ! HAVE_DECL_FTELLO=1; ! HAVE_DECL_GETDELIM=1; ! HAVE_DECL_GETLINE=1; ! HAVE_DECL_OBSTACK_PRINTF=1; ! HAVE_DECL_SNPRINTF=1; ! HAVE_DECL_VSNPRINTF=1; ! HAVE_DPRINTF=1; ! HAVE_FSEEKO=1; ! HAVE_FTELLO=1; ! HAVE_RENAMEAT=1; ! HAVE_VASPRINTF=1; ! HAVE_VDPRINTF=1; ! REPLACE_DPRINTF=0; ! REPLACE_FCLOSE=0; ! REPLACE_FFLUSH=0; ! REPLACE_FOPEN=0; ! REPLACE_FPRINTF=0; ! REPLACE_FPURGE=0; ! REPLACE_FREOPEN=0; ! REPLACE_FSEEK=0; ! REPLACE_FSEEKO=0; ! REPLACE_FTELL=0; ! REPLACE_FTELLO=0; ! REPLACE_GETDELIM=0; ! REPLACE_GETLINE=0; ! REPLACE_OBSTACK_PRINTF=0; ! REPLACE_PERROR=0; ! REPLACE_POPEN=0; ! REPLACE_PRINTF=0; ! REPLACE_REMOVE=0; ! REPLACE_RENAME=0; ! REPLACE_RENAMEAT=0; ! REPLACE_SNPRINTF=0; ! REPLACE_SPRINTF=0; ! REPLACE_STDIO_READ_FUNCS=0; ! REPLACE_STDIO_WRITE_FUNCS=0; ! REPLACE_TMPFILE=0; ! REPLACE_VASPRINTF=0; ! REPLACE_VDPRINTF=0; ! REPLACE_VFPRINTF=0; ! REPLACE_VPRINTF=0; ! REPLACE_VSNPRINTF=0; ! REPLACE_VSPRINTF=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 --- 10252,10294 ---- ! ! if test $ac_cv_func__set_invalid_parameter_handler = yes; then ! HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 ! ! $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h ! ! else ! HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 ! fi ! ! ! ! ! ! ! ! GNULIB_OPENDIR=0; ! GNULIB_READDIR=0; ! GNULIB_REWINDDIR=0; ! GNULIB_CLOSEDIR=0; ! GNULIB_DIRFD=0; ! GNULIB_FDOPENDIR=0; ! GNULIB_SCANDIR=0; ! GNULIB_ALPHASORT=0; ! HAVE_OPENDIR=1; ! HAVE_READDIR=1; ! HAVE_REWINDDIR=1; ! HAVE_CLOSEDIR=1; ! HAVE_DECL_DIRFD=1; ! HAVE_DECL_FDOPENDIR=1; ! HAVE_FDOPENDIR=1; ! HAVE_SCANDIR=1; ! HAVE_ALPHASORT=1; ! REPLACE_OPENDIR=0; ! REPLACE_CLOSEDIR=0; ! REPLACE_DIRFD=0; ! REPLACE_FDOPENDIR=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 *************** *** 10119,10139 **** - GNULIB_DIRFD=0; - GNULIB_FDOPENDIR=0; - GNULIB_SCANDIR=0; - GNULIB_ALPHASORT=0; - HAVE_DECL_DIRFD=1; - HAVE_DECL_FDOPENDIR=1; - HAVE_FDOPENDIR=1; - HAVE_SCANDIR=1; - HAVE_ALPHASORT=1; - REPLACE_CLOSEDIR=0; - REPLACE_DIRFD=0; - REPLACE_FDOPENDIR=0; - REPLACE_OPENDIR=0; - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } --- 10517,10522 ---- *************** *** 10251,10260 **** - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 $as_echo_n "checking for complete errno.h... " >&6; } if ${gl_cv_header_errno_h_complete+:} false; then : --- 10634,10639 ---- *************** *** 10289,10294 **** --- 10668,10679 ---- #if !defined ENOTSUP booboo #endif + #if !defined ENETRESET + booboo + #endif + #if !defined ECONNABORTED + booboo + #endif #if !defined ESTALE booboo #endif *************** *** 10341,10353 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/errno.h#{ ! s#.*"\(.*/errno.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 10726,10749 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'errno.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'errno.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 10688,10727 **** XGETTEXT_EXTRA_OPTIONS= - - GNULIB_FCHMODAT=0; - GNULIB_FSTATAT=0; - GNULIB_FUTIMENS=0; - GNULIB_LCHMOD=0; - GNULIB_LSTAT=0; - GNULIB_MKDIRAT=0; - GNULIB_MKFIFO=0; - GNULIB_MKFIFOAT=0; - GNULIB_MKNOD=0; - GNULIB_MKNODAT=0; - GNULIB_STAT=0; - GNULIB_UTIMENSAT=0; - HAVE_FCHMODAT=1; - HAVE_FSTATAT=1; - HAVE_FUTIMENS=1; - HAVE_LCHMOD=1; - HAVE_LSTAT=1; - HAVE_MKDIRAT=1; - HAVE_MKFIFO=1; - HAVE_MKFIFOAT=1; - HAVE_MKNOD=1; - HAVE_MKNODAT=1; - HAVE_UTIMENSAT=1; - REPLACE_FSTAT=0; - REPLACE_FSTATAT=0; - REPLACE_FUTIMENS=0; - REPLACE_LSTAT=0; - REPLACE_MKDIR=0; - REPLACE_MKFIFO=0; - REPLACE_MKNOD=0; - REPLACE_STAT=0; - REPLACE_UTIMENSAT=0; - ac_fn_c_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default" if test "x$ac_cv_have_decl_fchdir" = xyes; then : ac_have_decl=1 --- 11084,11089 ---- *************** *** 10734,10739 **** --- 11096,11203 ---- _ACEOF + GNULIB_DPRINTF=0; + GNULIB_FCLOSE=0; + GNULIB_FDOPEN=0; + GNULIB_FFLUSH=0; + GNULIB_FGETC=0; + GNULIB_FGETS=0; + GNULIB_FOPEN=0; + GNULIB_FPRINTF=0; + GNULIB_FPRINTF_POSIX=0; + GNULIB_FPURGE=0; + GNULIB_FPUTC=0; + GNULIB_FPUTS=0; + GNULIB_FREAD=0; + GNULIB_FREOPEN=0; + GNULIB_FSCANF=0; + GNULIB_FSEEK=0; + GNULIB_FSEEKO=0; + GNULIB_FTELL=0; + GNULIB_FTELLO=0; + GNULIB_FWRITE=0; + GNULIB_GETC=0; + GNULIB_GETCHAR=0; + GNULIB_GETDELIM=0; + GNULIB_GETLINE=0; + GNULIB_GETS=0; + GNULIB_OBSTACK_PRINTF=0; + GNULIB_OBSTACK_PRINTF_POSIX=0; + GNULIB_PCLOSE=0; + GNULIB_PERROR=0; + GNULIB_POPEN=0; + GNULIB_PRINTF=0; + GNULIB_PRINTF_POSIX=0; + GNULIB_PUTC=0; + GNULIB_PUTCHAR=0; + GNULIB_PUTS=0; + GNULIB_REMOVE=0; + GNULIB_RENAME=0; + GNULIB_RENAMEAT=0; + GNULIB_SCANF=0; + GNULIB_SNPRINTF=0; + GNULIB_SPRINTF_POSIX=0; + GNULIB_STDIO_H_NONBLOCKING=0; + GNULIB_STDIO_H_SIGPIPE=0; + GNULIB_TMPFILE=0; + GNULIB_VASPRINTF=0; + GNULIB_VFSCANF=0; + GNULIB_VSCANF=0; + GNULIB_VDPRINTF=0; + GNULIB_VFPRINTF=0; + GNULIB_VFPRINTF_POSIX=0; + GNULIB_VPRINTF=0; + GNULIB_VPRINTF_POSIX=0; + GNULIB_VSNPRINTF=0; + GNULIB_VSPRINTF_POSIX=0; + HAVE_DECL_FPURGE=1; + HAVE_DECL_FSEEKO=1; + HAVE_DECL_FTELLO=1; + HAVE_DECL_GETDELIM=1; + HAVE_DECL_GETLINE=1; + HAVE_DECL_OBSTACK_PRINTF=1; + HAVE_DECL_SNPRINTF=1; + HAVE_DECL_VSNPRINTF=1; + HAVE_DPRINTF=1; + HAVE_FSEEKO=1; + HAVE_FTELLO=1; + HAVE_PCLOSE=1; + HAVE_POPEN=1; + HAVE_RENAMEAT=1; + HAVE_VASPRINTF=1; + HAVE_VDPRINTF=1; + REPLACE_DPRINTF=0; + REPLACE_FCLOSE=0; + REPLACE_FDOPEN=0; + REPLACE_FFLUSH=0; + REPLACE_FOPEN=0; + REPLACE_FPRINTF=0; + REPLACE_FPURGE=0; + REPLACE_FREOPEN=0; + REPLACE_FSEEK=0; + REPLACE_FSEEKO=0; + REPLACE_FTELL=0; + REPLACE_FTELLO=0; + REPLACE_GETDELIM=0; + REPLACE_GETLINE=0; + REPLACE_OBSTACK_PRINTF=0; + REPLACE_PERROR=0; + REPLACE_POPEN=0; + REPLACE_PRINTF=0; + REPLACE_REMOVE=0; + REPLACE_RENAME=0; + REPLACE_RENAMEAT=0; + REPLACE_SNPRINTF=0; + REPLACE_SPRINTF=0; + REPLACE_STDIO_READ_FUNCS=0; + REPLACE_STDIO_WRITE_FUNCS=0; + REPLACE_TMPFILE=0; + REPLACE_VASPRINTF=0; + REPLACE_VDPRINTF=0; + REPLACE_VFPRINTF=0; + REPLACE_VPRINTF=0; + REPLACE_VSNPRINTF=0; + REPLACE_VSPRINTF=0; GNULIB_FCNTL=0; *************** *** 10746,10795 **** REPLACE_OPEN=0; REPLACE_OPENAT=0; - ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" - if test "x$ac_cv_type_mode_t" = xyes; then : - - else - - cat >>confdefs.h <<_ACEOF - #define mode_t int - _ACEOF - - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 - $as_echo_n "checking for promoted mode_t type... " >&6; } - if ${gl_cv_promoted_mode_t+:} false; then : - $as_echo_n "(cached) " >&6 - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - int - main () - { - typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - gl_cv_promoted_mode_t='int' - else - gl_cv_promoted_mode_t='mode_t' - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 - $as_echo "$gl_cv_promoted_mode_t" >&6; } - cat >>confdefs.h <<_ACEOF - #define PROMOTED_MODE_T $gl_cv_promoted_mode_t - _ACEOF --- 11210,11220 ---- *************** *** 10806,10812 **** /* end confdefs.h. */ #include #include ! #include #include #ifndef O_NOATIME #define O_NOATIME 0 --- 11231,11243 ---- /* end confdefs.h. */ #include #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! # include ! # defined sleep(n) _sleep ((n) * 1000) ! #endif #include #ifndef O_NOATIME #define O_NOATIME 0 *************** *** 10825,10830 **** --- 11256,11262 ---- { int result = !constants; + #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink (".", sym) != 0) *************** *** 10840,10845 **** --- 11272,11278 ---- } unlink (sym); } + #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); *************** *** 10916,10921 **** --- 11349,11376 ---- _ACEOF + ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" + if test "x$ac_cv_type_pid_t" = xyes; then : + + else + + cat >>confdefs.h <<_ACEOF + #define pid_t int + _ACEOF + + fi + + ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" + if test "x$ac_cv_type_mode_t" = xyes; then : + + else + + cat >>confdefs.h <<_ACEOF + #define mode_t int + _ACEOF + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5 *************** *** 11220,11225 **** --- 11675,11681 ---- fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : *************** *** 11233,11239 **** /* end confdefs.h. */ #include ! #include int main () --- 11689,11699 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif int main () *************** *** 11299,11304 **** --- 11759,11799 ---- fi + + GNULIB_FCHMODAT=0; + GNULIB_FSTAT=0; + GNULIB_FSTATAT=0; + GNULIB_FUTIMENS=0; + GNULIB_LCHMOD=0; + GNULIB_LSTAT=0; + GNULIB_MKDIRAT=0; + GNULIB_MKFIFO=0; + GNULIB_MKFIFOAT=0; + GNULIB_MKNOD=0; + GNULIB_MKNODAT=0; + GNULIB_STAT=0; + GNULIB_UTIMENSAT=0; + HAVE_FCHMODAT=1; + HAVE_FSTATAT=1; + HAVE_FUTIMENS=1; + HAVE_LCHMOD=1; + HAVE_LSTAT=1; + HAVE_MKDIRAT=1; + HAVE_MKFIFO=1; + HAVE_MKFIFOAT=1; + HAVE_MKNOD=1; + HAVE_MKNODAT=1; + HAVE_UTIMENSAT=1; + REPLACE_FSTAT=0; + REPLACE_FSTATAT=0; + REPLACE_FUTIMENS=0; + REPLACE_LSTAT=0; + REPLACE_MKDIR=0; + REPLACE_MKFIFO=0; + REPLACE_MKNOD=0; + REPLACE_STAT=0; + REPLACE_UTIMENSAT=0; + ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" if test "x$ac_cv_have_decl_ftello" = xyes; then : ac_have_decl=1 *************** *** 11459,11465 **** fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } if ${gl_cv_func_getcwd_null+:} false; then : $as_echo_n "(cached) " >&6 --- 11954,11961 ---- fi ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } if ${gl_cv_func_getcwd_null+:} false; then : $as_echo_n "(cached) " >&6 *************** *** 11479,11485 **** cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! # include # ifndef getcwd char *getcwd (); # endif --- 11975,11985 ---- cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! # if HAVE_UNISTD_H ! # include ! # else /* on Windows with MSVC */ ! # include ! # endif # ifndef getcwd char *getcwd (); # endif *************** *** 11506,11514 **** return 0; } #endif - /* If size is non-zero, allocation must fail if size is too small */ - if (getcwd (NULL, 1)) - return 5; ; return 0; --- 12006,12011 ---- *************** *** 11527,11532 **** --- 12024,12063 ---- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5 $as_echo "$gl_cv_func_getcwd_null" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5 + $as_echo_n "checking for getcwd with POSIX signature... " >&6; } + if ${gl_cv_func_getcwd_posix_signature+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int + main () + { + extern + #ifdef __cplusplus + "C" + #endif + char *getcwd (char *, size_t); + + ; + return 0; + } + + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_getcwd_posix_signature=yes + else + gl_cv_func_getcwd_posix_signature=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5 + $as_echo "$gl_cv_func_getcwd_posix_signature" >&6; } + ac_fn_c_check_decl "$LINENO" "getcwd" "ac_cv_have_decl_getcwd" "$ac_includes_default" if test "x$ac_cv_have_decl_getcwd" = xyes; then : ac_have_decl=1 *************** *** 11602,11614 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/getopt.h#{ ! s#.*"\(.*/getopt.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_getopt_h='<'getopt.h'>' fi --- 12133,12156 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'getopt.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'getopt.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_getopt_h='<'getopt.h'>' fi *************** *** 11692,11698 **** return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : gl_optind_min=1 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext --- 12234,12240 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : gl_optind_min=1 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext *************** *** 11713,11719 **** fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext gl_save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" --- 12255,12262 ---- fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext gl_save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" *************** *** 11736,11757 **** main () { { ! int argc = 0; ! char *argv[10]; int c; - argv[argc++] = "program"; - argv[argc++] = "-a"; - argv[argc++] = "foo"; - argv[argc++] = "bar"; - argv[argc] = NULL; optind = OPTIND_MIN; opterr = 0; ! c = getopt (argc, argv, "ab"); if (!(c == 'a')) return 1; ! c = getopt (argc, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) --- 12279,12298 ---- main () { { ! static char program[] = "program"; ! static char a[] = "-a"; ! static char foo[] = "foo"; ! static char bar[] = "bar"; ! char *argv[] = { program, a, foo, bar, NULL }; int c; optind = OPTIND_MIN; opterr = 0; ! c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; ! c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) *************** *** 11759,11780 **** } /* Some internal state exists at this point. */ { ! int argc = 0; ! char *argv[10]; int c; - argv[argc++] = "program"; - argv[argc++] = "donald"; - argv[argc++] = "-p"; - argv[argc++] = "billy"; - argv[argc++] = "duck"; - argv[argc++] = "-a"; - argv[argc++] = "bar"; - argv[argc] = NULL; optind = OPTIND_MIN; opterr = 0; ! c = getopt (argc, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) --- 12300,12319 ---- } /* Some internal state exists at this point. */ { ! static char program[] = "program"; ! static char donald[] = "donald"; ! static char p[] = "-p"; ! static char billy[] = "billy"; ! static char duck[] = "duck"; ! static char a[] = "-a"; ! static char bar[] = "bar"; ! char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; optind = OPTIND_MIN; opterr = 0; ! c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) *************** *** 11796,11802 **** } /* Detect MacOS 10.5, AIX 7.1 bug. */ { ! char *argv[3] = { "program", "-ab", NULL }; optind = OPTIND_MIN; opterr = 0; if (getopt (2, argv, "ab:") != 'a') --- 12335,12343 ---- } /* Detect MacOS 10.5, AIX 7.1 bug. */ { ! static char program[] = "program"; ! static char ab[] = "-ab"; ! char *argv[3] = { program, ab, NULL }; optind = OPTIND_MIN; opterr = 0; if (getopt (2, argv, "ab:") != 'a') *************** *** 11866,11893 **** #include #include ! int ! main () { ! ! int result = 0; ! /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, ! and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, ! OSF/1 5.1, Solaris 10. */ { ! char *myargv[3]; ! myargv[0] = "conftest"; ! myargv[1] = "-+"; ! myargv[2] = 0; opterr = 0; ! if (getopt (2, myargv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { ! char *argv[] = { "program", "-p", "foo", "bar", NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') --- 12407,12553 ---- #include #include ! #include ! #if defined __MACH__ && defined __APPLE__ ! /* Avoid a crash on MacOS X. */ ! #include ! #include ! #include ! #include ! #include ! #include ! /* The exception port on which our thread listens. */ ! static mach_port_t our_exception_port; ! /* The main function of the thread listening for exceptions of type ! EXC_BAD_ACCESS. */ ! static void * ! mach_exception_thread (void *arg) { ! /* Buffer for a message to be received. */ ! struct { ! mach_msg_header_t head; ! mach_msg_body_t msgh_body; ! char data[1024]; ! } msg; ! mach_msg_return_t retval; ! /* Wait for a message on the exception port. */ ! retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ! our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ! if (retval != MACH_MSG_SUCCESS) ! abort (); ! exit (1); ! } ! static void ! nocrash_init (void) ! { ! mach_port_t self = mach_task_self (); ! /* Allocate a port on which the thread shall listen for exceptions. */ ! if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ! == KERN_SUCCESS) { ! /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ! if (mach_port_insert_right (self, our_exception_port, our_exception_port, ! MACH_MSG_TYPE_MAKE_SEND) ! == KERN_SUCCESS) { ! /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ! for us. */ ! exception_mask_t mask = EXC_MASK_BAD_ACCESS; ! /* Create the thread listening on the exception port. */ ! pthread_attr_t attr; ! pthread_t thread; ! if (pthread_attr_init (&attr) == 0 ! && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ! && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ! pthread_attr_destroy (&attr); ! /* Replace the exception port info for these exceptions with our own. ! Note that we replace the exception port for the entire task, not only ! for a particular thread. This has the effect that when our exception ! port gets the message, the thread specific exception port has already ! been asked, and we don't need to bother about it. ! See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ! task_set_exception_ports (self, mask, our_exception_port, ! EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ! } ! } ! } ! } ! #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ! /* Avoid a crash on native Windows. */ ! #define WIN32_LEAN_AND_MEAN ! #include ! #include ! static LONG WINAPI ! exception_filter (EXCEPTION_POINTERS *ExceptionInfo) ! { ! switch (ExceptionInfo->ExceptionRecord->ExceptionCode) ! { ! case EXCEPTION_ACCESS_VIOLATION: ! case EXCEPTION_IN_PAGE_ERROR: ! case EXCEPTION_STACK_OVERFLOW: ! case EXCEPTION_GUARD_PAGE: ! case EXCEPTION_PRIV_INSTRUCTION: ! case EXCEPTION_ILLEGAL_INSTRUCTION: ! case EXCEPTION_DATATYPE_MISALIGNMENT: ! case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: ! case EXCEPTION_NONCONTINUABLE_EXCEPTION: ! exit (1); ! } ! return EXCEPTION_CONTINUE_SEARCH; ! } ! static void ! nocrash_init (void) ! { ! SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); ! } ! #else ! /* Avoid a crash on POSIX systems. */ ! #include ! /* A POSIX signal handler. */ ! static void ! exception_handler (int sig) ! { ! exit (1); ! } ! static void ! nocrash_init (void) ! { ! #ifdef SIGSEGV ! signal (SIGSEGV, exception_handler); ! #endif ! #ifdef SIGBUS ! signal (SIGBUS, exception_handler); ! #endif ! } ! #endif ! ! ! int ! main () ! { ! ! int result = 0; ! ! nocrash_init(); ! ! /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, ! and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, ! OSF/1 5.1, Solaris 10. */ { ! static char conftest[] = "conftest"; ! static char plus[] = "-+"; ! char *argv[3] = { conftest, plus, NULL }; opterr = 0; ! if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { ! static char program[] = "program"; ! static char p[] = "-p"; ! static char foo[] = "foo"; ! static char bar[] = "bar"; ! char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') *************** *** 11901,11907 **** } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { ! char *argv[] = { "program", "foo", "-p", NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; --- 12561,12570 ---- } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { ! static char program[] = "program"; ! static char foo[] = "foo"; ! static char p[] = "-p"; ! char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; *************** *** 11910,11922 **** } /* This code fails on glibc 2.11. */ { ! char *argv[] = { "program", "-b", "-a", NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 64; else if (getopt (3, argv, "+:a:b") != ':') result |= 64; } return result; ; --- 12573,12598 ---- } /* This code fails on glibc 2.11. */ { ! static char program[] = "program"; ! static char b[] = "-b"; ! static char a[] = "-a"; ! char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 64; else if (getopt (3, argv, "+:a:b") != ':') result |= 64; } + /* This code dumps core on glibc 2.14. */ + { + static char program[] = "program"; + static char w[] = "-W"; + static char dummy[] = "dummy"; + char *argv[] = { program, w, dummy, NULL }; + optind = opterr = 1; + if (getopt (3, argv, "W;") != 'W') + result |= 128; + } return result; ; *************** *** 12071,12083 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/time.h#{ ! s#.*"\(.*/sys/time.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_time_h='<'sys/time.h'>' fi --- 12747,12770 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/time.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/time.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_time_h='<'sys/time.h'>' fi *************** *** 12106,12111 **** --- 12793,12825 ---- HAVE_SYS_TIME_H=0 fi + + + + + if test $ac_cv_header_sys_socket_h != yes; then + for ac_header in winsock2.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" + if test "x$ac_cv_header_winsock2_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_WINSOCK2_H 1 + _ACEOF + + fi + + done + + fi + if test "$ac_cv_header_winsock2_h" = yes; then + HAVE_WINSOCK2_H=1 + UNISTD_H_HAVE_WINSOCK2_H=1 + SYS_IOCTL_H_HAVE_WINSOCK2_H=1 + else + HAVE_WINSOCK2_H=0 + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 $as_echo_n "checking for struct timeval... " >&6; } if ${gl_cv_sys_struct_timeval+:} false; then : *************** *** 12117,12122 **** --- 12831,12839 ---- #include #endif #include + #if HAVE_WINSOCK2_H + # include + #endif int main () *************** *** 12174,12180 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 12891,12897 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 12200,12207 **** - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } if ${am_cv_langinfo_codeset+:} false; then : --- 12917,12922 ---- *************** *** 13187,13192 **** --- 13902,13909 ---- + GNULIB_FFSL=0; + GNULIB_FFSLL=0; GNULIB_MEMCHR=0; GNULIB_MEMMEM=0; GNULIB_MEMPCPY=0; *************** *** 13223,13229 **** GNULIB_STRSIGNAL=0; GNULIB_STRVERSCMP=0; HAVE_MBSLEN=0; ! HAVE_MEMCHR=1; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_DECL_MEMRCHR=1; --- 13940,13948 ---- GNULIB_STRSIGNAL=0; GNULIB_STRVERSCMP=0; HAVE_MBSLEN=0; ! HAVE_FFSL=1; ! HAVE_FFSLL=1; ! HAVE_MEMCHR=1; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_DECL_MEMRCHR=1; *************** *** 13282,13293 **** #include #ifdef MAP_ANONYMOUS ! I cant identify this map. #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "I cant identify this map." >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* --- 14001,14012 ---- #include #ifdef MAP_ANONYMOUS ! I cant identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "I cant identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* *************** *** 13298,13309 **** #include #ifdef MAP_ANON ! I cant identify this map. #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "I cant identify this map." >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h --- 14017,14028 ---- #include #ifdef MAP_ANON ! I cant identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "I cant identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h *************** *** 13427,13630 **** - # Check whether --enable-largefile was given. - if test "${enable_largefile+set}" = set; then : - enableval=$enable_largefile; - fi - - if test "$enable_largefile" != no; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 - $as_echo_n "checking for special C compiler options needed for large files... " >&6; } - if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 - else - ac_cv_sys_largefile_CC=no - if test "$GCC" != yes; then - ac_save_CC=$CC - while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ - #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; - int - main () - { - - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - break - fi - rm -f core conftest.err conftest.$ac_objext - CC="$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_largefile_CC=' -n32'; break - fi - rm -f core conftest.err conftest.$ac_objext - break - done - CC=$ac_save_CC - rm -f conftest.$ac_ext - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 - $as_echo "$ac_cv_sys_largefile_CC" >&6; } - if test "$ac_cv_sys_largefile_CC" != no; then - CC=$CC$ac_cv_sys_largefile_CC - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 - $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } - if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 - else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ - #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; - int - main () - { - - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=no; break - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #define _FILE_OFFSET_BITS 64 - #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ - #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; - int - main () - { - - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=64; break - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_file_offset_bits=unknown - break - done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 - $as_echo "$ac_cv_sys_file_offset_bits" >&6; } - case $ac_cv_sys_file_offset_bits in #( - no | unknown) ;; - *) - cat >>confdefs.h <<_ACEOF - #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits - _ACEOF - ;; - esac - rm -rf conftest* - if test $ac_cv_sys_file_offset_bits = unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 - $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } - if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 - else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ - #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; - int - main () - { - - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=no; break - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #define _LARGE_FILES 1 - #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ - #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; - int - main () - { - - ; - return 0; - } - _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=1; break - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_large_files=unknown - break - done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 - $as_echo "$ac_cv_sys_large_files" >&6; } - case $ac_cv_sys_large_files in #( - no | unknown) ;; - *) - cat >>confdefs.h <<_ACEOF - #define _LARGE_FILES $ac_cv_sys_large_files - _ACEOF - ;; - esac - rm -rf conftest* - fi - fi - --- 14146,14151 ---- *************** *** 13687,14041 **** ! GNULIB_SOCKET=0; ! GNULIB_CONNECT=0; ! GNULIB_ACCEPT=0; ! GNULIB_BIND=0; ! GNULIB_GETPEERNAME=0; ! GNULIB_GETSOCKNAME=0; ! GNULIB_GETSOCKOPT=0; ! GNULIB_LISTEN=0; ! GNULIB_RECV=0; ! GNULIB_SEND=0; ! GNULIB_RECVFROM=0; ! GNULIB_SENDTO=0; ! GNULIB_SETSOCKOPT=0; ! GNULIB_SHUTDOWN=0; ! GNULIB_ACCEPT4=0; ! HAVE_STRUCT_SOCKADDR_STORAGE=1; ! HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; ! ! HAVE_SA_FAMILY_T=1; ! HAVE_ACCEPT4=1; ! ! ! if test $ac_cv_header_sys_socket_h = no; then ! for ac_header in ws2tcpip.h ! do : ! ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ! if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : ! cat >>confdefs.h <<_ACEOF ! #define HAVE_WS2TCPIP_H 1 ! _ACEOF ! ! fi ! ! done ! ! fi ! ! ! ! ! ! ! case "$host_os" in ! osf*) ! ! $as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h ! ! ;; ! esac ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ! $as_echo_n "checking whether is self-contained... " >&6; } ! if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! int ! main () ! { ! ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! gl_cv_header_sys_socket_h_selfcontained=yes ! else ! gl_cv_header_sys_socket_h_selfcontained=no ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ! $as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ! if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ! for ac_func in shutdown ! do : ! ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ! if test "x$ac_cv_func_shutdown" = xyes; then : ! cat >>confdefs.h <<_ACEOF ! #define HAVE_SHUTDOWN 1 ! _ACEOF ! ! fi ! done ! ! if test $ac_cv_func_shutdown = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 ! $as_echo_n "checking whether defines the SHUT_* macros... " >&6; } ! if ${gl_cv_header_sys_socket_h_shut+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! int ! main () ! { ! int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! gl_cv_header_sys_socket_h_shut=yes ! else ! gl_cv_header_sys_socket_h_shut=no ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 ! $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } ! if test $gl_cv_header_sys_socket_h_shut = no; then ! SYS_SOCKET_H='sys/socket.h' ! fi ! fi ! fi ! # We need to check for ws2tcpip.h now. ! ! ! ! ! ! ! ! ! ! ! ! if test $gl_cv_have_include_next = yes; then ! gl_cv_next_sys_socket_h='<'sys/socket.h'>' ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ! $as_echo_n "checking absolute name of ... " >&6; } ! if ${gl_cv_next_sys_socket_h+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! if test $ac_cv_header_sys_socket_h = yes; then ! ! ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! ! _ACEOF ! case "$host_os" in ! aix*) gl_absname_cpp="$ac_cpp -C" ;; ! *) gl_absname_cpp="$ac_cpp" ;; ! esac ! gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/socket.h#{ ! s#.*"\(.*/sys/socket.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' ! else ! gl_cv_next_sys_socket_h='<'sys/socket.h'>' ! fi ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 ! $as_echo "$gl_cv_next_sys_socket_h" >&6; } ! fi ! NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h ! ! if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ! # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ! gl_next_as_first_directive='<'sys/socket.h'>' ! else ! # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ! gl_next_as_first_directive=$gl_cv_next_sys_socket_h ! fi ! NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive ! ! ! ! ! if test $ac_cv_header_sys_socket_h = yes; then ! HAVE_SYS_SOCKET_H=1 ! HAVE_WS2TCPIP_H=0 ! else ! HAVE_SYS_SOCKET_H=0 ! if test $ac_cv_header_ws2tcpip_h = yes; then ! HAVE_WS2TCPIP_H=1 ! else ! HAVE_WS2TCPIP_H=0 ! fi ! fi ! ! ! ! ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " ! /* sys/types.h is not needed according to POSIX, but the ! sys/socket.h in i386-unknown-freebsd4.10 and ! powerpc-apple-darwin5.5 required it. */ ! #include ! #ifdef HAVE_SYS_SOCKET_H ! #include ! #endif ! #ifdef HAVE_WS2TCPIP_H ! #include ! #endif ! ! " ! if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : ! ! cat >>confdefs.h <<_ACEOF ! #define HAVE_STRUCT_SOCKADDR_STORAGE 1 ! _ACEOF ! ! ! fi ! ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " ! /* sys/types.h is not needed according to POSIX, but the ! sys/socket.h in i386-unknown-freebsd4.10 and ! powerpc-apple-darwin5.5 required it. */ ! #include ! #ifdef HAVE_SYS_SOCKET_H ! #include ! #endif ! #ifdef HAVE_WS2TCPIP_H ! #include ! #endif ! ! " ! if test "x$ac_cv_type_sa_family_t" = xyes; then : ! ! cat >>confdefs.h <<_ACEOF ! #define HAVE_SA_FAMILY_T 1 ! _ACEOF ! ! ! fi ! ! if test $ac_cv_type_struct_sockaddr_storage = no; then ! HAVE_STRUCT_SOCKADDR_STORAGE=0 ! fi ! if test $ac_cv_type_sa_family_t = no; then ! HAVE_SA_FAMILY_T=0 ! fi ! if test $ac_cv_type_struct_sockaddr_storage != no; then ! ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include ! #ifdef HAVE_SYS_SOCKET_H ! #include ! #endif ! #ifdef HAVE_WS2TCPIP_H ! #include ! #endif ! ! " ! if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then : ! ! cat >>confdefs.h <<_ACEOF ! #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 ! _ACEOF ! ! ! else ! HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 ! fi ! ! fi ! if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ ! || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then ! SYS_SOCKET_H='sys/socket.h' ! fi ! ! ! ! ! if test $ac_cv_header_sys_socket_h != yes; then ! for ac_header in winsock2.h ! do : ! ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ! if test "x$ac_cv_header_winsock2_h" = xyes; then : ! cat >>confdefs.h <<_ACEOF ! #define HAVE_WINSOCK2_H 1 ! _ACEOF ! ! fi ! ! done ! ! fi ! if test "$ac_cv_header_winsock2_h" = yes; then ! HAVE_WINSOCK2_H=1 ! UNISTD_H_HAVE_WINSOCK2_H=1 ! SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ! else ! HAVE_WINSOCK2_H=0 ! fi ! ! ! ! ! for gl_func in socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4; do ! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 ! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } ! if eval \${$as_gl_Symbol+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! /* Some systems require prerequisite headers. */ ! #include ! #include ! ! int ! main () ! { ! #undef $gl_func ! (void) $gl_func; ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! eval "$as_gl_Symbol=yes" ! else ! eval "$as_gl_Symbol=no" ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! eval ac_res=\$$as_gl_Symbol ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : ! cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 ! _ACEOF ! ! eval ac_cv_have_decl_$gl_func=yes ! fi ! done ! ! ! GNULIB_SELECT=0; ! REPLACE_SELECT=0; --- 14208,14218 ---- ! GNULIB_PSELECT=0; GNULIB_SELECT=0; ! HAVE_PSELECT=1; ! REPLACE_PSELECT=0; ! REPLACE_SELECT=0; *************** *** 14088,14097 **** #undef memset #define memset nonexistent_memset ! extern void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); --- 14265,14282 ---- #undef memset #define memset nonexistent_memset ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); *************** *** 14145,14157 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/select.h#{ ! s#.*"\(.*/sys/select.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi --- 14330,14353 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/select.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/select.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi *************** *** 14210,14216 **** ! for gl_func in select; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 14406,14412 ---- ! for gl_func in pselect select; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 14246,14252 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 14442,14448 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 14471,14510 **** esac else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ #include ! #include ! #if HAVE_SYS_SELECT_H ! #include ! #endif ! int main () { ! struct timeval timeout; ! timeout.tv_sec = 0; ! timeout.tv_usec = 5; ! return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! gl_cv_func_select_supports0=yes else ! gl_cv_func_select_supports0=no fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 - $as_echo "$gl_cv_func_select_supports0" >&6; } - case "$gl_cv_func_select_supports0" in - *yes) ;; - *) REPLACE_SELECT=1 ;; - esac - fi --- 14667,14778 ---- esac else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! #include ! #include ! #if HAVE_SYS_SELECT_H ! #include ! #endif ! int main () ! { ! struct timeval timeout; ! timeout.tv_sec = 0; ! timeout.tv_usec = 5; ! return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; ! } ! _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! gl_cv_func_select_supports0=yes ! else ! gl_cv_func_select_supports0=no ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 ! $as_echo "$gl_cv_func_select_supports0" >&6; } ! case "$gl_cv_func_select_supports0" in ! *yes) ;; ! *) REPLACE_SELECT=1 ;; ! esac ! fi ! ! LIB_SELECT="$LIBSOCKET" ! if test $REPLACE_SELECT = 1; then ! case "$host_os" in ! mingw*) ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! #define WIN32_LEAN_AND_MEAN ! #include ! int ! main () ! { ! MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! ! else ! LIB_SELECT="$LIB_SELECT -luser32" ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! ;; ! esac ! fi ! ! ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 ! $as_echo_n "checking for promoted mode_t type... " >&6; } ! if ${gl_cv_promoted_mode_t+:} false; then : ! $as_echo_n "(cached) " >&6 ! else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ #include ! int ! main () { ! typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ! ; ! return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! gl_cv_promoted_mode_t='int' else ! gl_cv_promoted_mode_t='mode_t' fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 + $as_echo "$gl_cv_promoted_mode_t" >&6; } + + cat >>confdefs.h <<_ACEOF + #define PROMOTED_MODE_T $gl_cv_promoted_mode_t + _ACEOF + + + + + + + + *************** *** 14524,14530 **** else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include #include int --- 14792,14802 ---- else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif #include int *************** *** 14592,14598 **** /* end confdefs.h. */ #include ! #include int main () { int result = 0; --- 14864,14875 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! # include ! #endif int main () { int result = 0; *************** *** 14644,14655 **** fi ! ! GNULIB_SIGNAL_H_SIGPIPE=0; GNULIB_SIGPROCMASK=0; GNULIB_SIGACTION=0; HAVE_POSIX_SIGNALBLOCKING=1; HAVE_SIGSET_T=1; HAVE_SIGINFO_T=1; HAVE_SIGACTION=1; --- 14921,14934 ---- fi ! GNULIB_PTHREAD_SIGMASK=0; ! GNULIB_RAISE=0; GNULIB_SIGNAL_H_SIGPIPE=0; GNULIB_SIGPROCMASK=0; GNULIB_SIGACTION=0; HAVE_POSIX_SIGNALBLOCKING=1; + HAVE_PTHREAD_SIGMASK=1; + HAVE_RAISE=1; HAVE_SIGSET_T=1; HAVE_SIGINFO_T=1; HAVE_SIGACTION=1; *************** *** 14658,14664 **** --- 14937,14966 ---- HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; HAVE_SIGHANDLER_T=1; + REPLACE_PTHREAD_SIGMASK=0; + REPLACE_RAISE=0; + + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " + #include + /* Mingw defines sigset_t not in , but in . */ + #include + + " + if test "x$ac_cv_type_sigset_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SIGSET_T 1 + _ACEOF + + gl_cv_type_sigset_t=yes + else + gl_cv_type_sigset_t=no + fi + + if test $gl_cv_type_sigset_t != yes; then + HAVE_SIGSET_T=0 + fi *************** *** 14667,14672 **** --- 14969,14991 ---- + + + if test $ac_cv_header_sys_socket_h = no; then + for ac_header in ws2tcpip.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" + if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_WS2TCPIP_H 1 + _ACEOF + + fi + + done + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if ${ac_cv_header_stdbool_h+:} false; then : *************** *** 14864,14876 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/stdint.h#{ ! s#.*"\(.*/stdint.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_stdint_h='<'stdint.h'>' fi --- 15183,15206 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdint.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'stdint.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_stdint_h='<'stdint.h'>' fi *************** *** 15494,15499 **** --- 15824,15833 ---- + if test $BITSIZEOF_WINT_T -lt 32; then + BITSIZEOF_WINT_T=32 + fi + STDINT_H=stdint.h fi *************** *** 15507,15512 **** --- 15841,15852 ---- + GNULIB_FFS=0; + HAVE_FFS=1; + HAVE_STRCASECMP=1; + HAVE_DECL_STRNCASECMP=1; + + ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" if test "x$ac_cv_have_decl_strdup" = xyes; then : *************** *** 15519,15524 **** --- 15859,15915 ---- #define HAVE_DECL_STRDUP $ac_have_decl _ACEOF + + REPLACE_STRERROR_0=0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 + $as_echo_n "checking whether strerror(0) succeeds... " >&6; } + if ${gl_cv_func_strerror_0_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : + gl_cv_func_strerror_0_works="guessing no" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include + + int + main () + { + int result = 0; + char *str; + errno = 0; + str = strerror (0); + if (!*str) result |= 1; + if (errno) result |= 2; + if (strstr (str, "nknown") || strstr (str, "ndefined")) + result |= 4; + return result; + ; + return 0; + } + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_strerror_0_works=yes + else + gl_cv_func_strerror_0_works=no + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 + $as_echo "$gl_cv_func_strerror_0_works" >&6; } + if test "$gl_cv_func_strerror_0_works" != yes; then + REPLACE_STRERROR_0=1 + + $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } if ${ac_cv_struct_tm+:} false; then : *************** *** 15662,15674 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/string.h#{ ! s#.*"\(.*/string.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 16053,16076 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'string.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'string.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 15691,15697 **** ! for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 16093,16099 ---- ! for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 15721,15727 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 16123,16257 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : ! cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 ! _ACEOF ! ! eval ac_cv_have_decl_$gl_func=yes ! fi ! done ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! if test $gl_cv_have_include_next = yes; then ! gl_cv_next_strings_h='<'strings.h'>' ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ! $as_echo_n "checking absolute name of ... " >&6; } ! if ${gl_cv_next_strings_h+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! if test $ac_cv_header_strings_h = yes; then ! ! ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! ! _ACEOF ! case "$host_os" in ! aix*) gl_absname_cpp="$ac_cpp -C" ;; ! *) gl_absname_cpp="$ac_cpp" ;; ! esac ! ! case "$host_os" in ! mingw*) ! gl_dirsep_regex='[/\\]' ! ;; ! *) ! gl_dirsep_regex='/' ! ;; ! esac ! ! gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'strings.h|{ ! s|.*"\(.*'"${gl_dirsep_regex}"'strings.h\)".*|\1| ! s|^/[^/]|//&| ! p ! q ! }' ! gl_cv_next_strings_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' ! else ! gl_cv_next_strings_h='<'strings.h'>' ! fi ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 ! $as_echo "$gl_cv_next_strings_h" >&6; } ! fi ! NEXT_STRINGS_H=$gl_cv_next_strings_h ! ! if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ! # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ! gl_next_as_first_directive='<'strings.h'>' ! else ! # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ! gl_next_as_first_directive=$gl_cv_next_strings_h ! fi ! NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive ! ! ! ! ! if test $ac_cv_header_strings_h = yes; then ! HAVE_STRINGS_H=1 ! else ! HAVE_STRINGS_H=0 ! fi ! ! ! ! for gl_func in ffs strcasecmp strncasecmp; do ! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 ! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } ! if eval \${$as_gl_Symbol+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! /* Minix 3.1.8 has a bug: must be included before ! . */ ! #include ! #include ! ! int ! main () ! { ! #undef $gl_func ! (void) $gl_func; ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! eval "$as_gl_Symbol=yes" ! else ! eval "$as_gl_Symbol=no" ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! eval ac_res=\$$as_gl_Symbol ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 15734,15739 **** --- 16264,16289 ---- + GNULIB_SOCKET=0; + GNULIB_CONNECT=0; + GNULIB_ACCEPT=0; + GNULIB_BIND=0; + GNULIB_GETPEERNAME=0; + GNULIB_GETSOCKNAME=0; + GNULIB_GETSOCKOPT=0; + GNULIB_LISTEN=0; + GNULIB_RECV=0; + GNULIB_SEND=0; + GNULIB_RECVFROM=0; + GNULIB_SENDTO=0; + GNULIB_SETSOCKOPT=0; + GNULIB_SHUTDOWN=0; + GNULIB_ACCEPT4=0; + HAVE_STRUCT_SOCKADDR_STORAGE=1; + HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; + + HAVE_SA_FAMILY_T=1; + HAVE_ACCEPT4=1; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } *************** *** 15792,15797 **** --- 16342,16349 ---- + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : *************** *** 15918,15930 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/time.h#{ ! s#.*"\(.*/time.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 16470,16493 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'time.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'time.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 16145,16151 **** ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } if ${gl_cv_func_snprintf_retval_c99+:} false; then : $as_echo_n "(cached) " >&6 --- 16708,16720 ---- ! ! ! ! ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } if ${gl_cv_func_snprintf_retval_c99+:} false; then : $as_echo_n "(cached) " >&6 *************** *** 16188,16202 **** #include #include static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; ! if (snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; ! if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; } --- 16757,16785 ---- #include #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; ! if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; ! if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; } *************** *** 16495,16500 **** --- 17078,17099 ---- + + + + + GNULIB_CHDIR=1 + + + + + + $as_echo "#define GNULIB_TEST_CHDIR 1" >>confdefs.h + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5 $as_echo_n "checking whether this system has an arbitrary file name length limit... " >&6; } if ${gl_cv_have_arbitrary_file_name_length_limit+:} false; then : *************** *** 16502,16510 **** else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include #include ! #if defined PATH_MAX || defined MAXPATHLEN have_arbitrary_file_name_length_limit #endif _ACEOF --- 17101,17128 ---- else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! ! /* Arrange to define PATH_MAX, like "pathmax.h" does. */ ! #if HAVE_UNISTD_H ! # include ! #endif #include ! #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN ! # include ! #endif ! #if !defined PATH_MAX && defined MAXPATHLEN ! # define PATH_MAX MAXPATHLEN ! #endif ! #ifdef __hpux ! # undef PATH_MAX ! # define PATH_MAX 1024 ! #endif ! #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ! # undef PATH_MAX ! # define PATH_MAX 260 ! #endif ! ! #ifdef PATH_MAX have_arbitrary_file_name_length_limit #endif _ACEOF *************** *** 16584,16589 **** --- 17202,17212 ---- + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_CLOSE=1 + fi + + *************** *** 16611,16619 **** if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ! REPLACE_CLOSE=1 --- 17234,17258 ---- if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then + REPLACE_CLOSE=1 + fi + + + if test $REPLACE_CLOSE = 0; then + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then + REPLACE_CLOSE=1 + fi + fi ! ! if test $REPLACE_CLOSE = 1; then *************** *** 16624,16659 **** gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" - REPLACE_FCLOSE=1 - gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" fi - GNULIB_CLOSE=1 ! $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h --- 17263,17338 ---- gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" + fi + + GNULIB_CLOSE=1 + $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h + + + for ac_func in closedir + do : + ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir" + if test "x$ac_cv_func_closedir" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_CLOSEDIR 1 + _ACEOF + + fi + done + + if test $ac_cv_func_closedir = no; then + HAVE_CLOSEDIR=0 + fi + + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_CLOSEDIR=1 fi + if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then + + gl_LIBOBJS="$gl_LIBOBJS closedir.$ac_objext" + + fi + ! ! GNULIB_CLOSEDIR=1 ! ! ! ! ! ! $as_echo "#define GNULIB_TEST_CLOSEDIR 1" >>confdefs.h *************** *** 16910,16922 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_dirent_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/dirent.h#{ ! s#.*"\(.*/dirent.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_dirent_h='<'dirent.h'>' fi --- 17589,17612 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'dirent.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'dirent.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_dirent_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_dirent_h='<'dirent.h'>' fi *************** *** 16940,16948 **** ! for gl_func in alphasort dirfd fdopendir scandir; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 17630,17644 ---- + if test $ac_cv_header_dirent_h = yes; then + HAVE_DIRENT_H=1 + else + HAVE_DIRENT_H=0 + fi + ! for gl_func in alphasort closedir dirfd fdopendir opendir readdir rewinddir scandir; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 16972,16978 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 17668,17674 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 16999,17005 **** done ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include ! #include " if test "x$ac_cv_have_decl_dirfd" = xyes; then : ac_have_decl=1 --- 17695,17701 ---- done ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include ! #include " if test "x$ac_cv_have_decl_dirfd" = xyes; then : ac_have_decl=1 *************** *** 17171,17182 **** ! $as_echo "#define HAVE_DUP2 1" >>confdefs.h if test $HAVE_DUP2 = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 $as_echo_n "checking whether dup2 works... " >&6; } --- 17867,17926 ---- + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_DUP=1 + fi ! ! ! if test $ac_cv_func_fchdir = no; then ! HAVE_FCHDIR=0 ! fi ! ! if test $HAVE_FCHDIR = 0; then ! REPLACE_DUP=1 ! fi ! ! ! if test $REPLACE_DUP = 1; then ! ! ! ! ! ! ! ! ! gl_LIBOBJS="$gl_LIBOBJS dup.$ac_objext" ! ! ! ! ! fi ! ! ! ! ! ! GNULIB_DUP=1 ! ! ! ! ! ! $as_echo "#define GNULIB_TEST_DUP 1" >>confdefs.h ! + + + + + $as_echo "#define HAVE_DUP2 1" >>confdefs.h + + if test $HAVE_DUP2 = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 $as_echo_n "checking whether dup2 works... " >&6; } *************** *** 17209,17221 **** main () { int result = 0; ! #if HAVE_FCNTL if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; ! #endif HAVE_FCNTL if (dup2 (1, 1) == 0) result |= 2; ! #if HAVE_FCNTL if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif --- 17953,17965 ---- main () { int result = 0; ! #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; ! #endif if (dup2 (1, 1) == 0) result |= 2; ! #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif *************** *** 17231,17374 **** return 0; } ! _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! gl_cv_func_dup2_works=yes ! else ! gl_cv_func_dup2_works=no ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 ! $as_echo "$gl_cv_func_dup2_works" >&6; } ! if test "$gl_cv_func_dup2_works" = no; then ! ! ! ! if test $ac_cv_func_dup2 = yes; then ! REPLACE_DUP2=1 ! fi ! ! ! ! ! ! ! ! ! gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext" ! ! ! fi ! fi ! ! ! ! ! ! ! GNULIB_DUP2=1 ! ! ! ! ! ! $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h ! ! ! ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 ! $as_echo_n "checking for error_at_line... " >&6; } ! if ${ac_cv_lib_error_at_line+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! int ! main () ! { ! error_at_line (0, 0, "", 0, "an error occurred"); ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! ac_cv_lib_error_at_line=yes ! else ! ac_cv_lib_error_at_line=no ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 ! $as_echo "$ac_cv_lib_error_at_line" >&6; } ! ! if test $ac_cv_lib_error_at_line = no; then ! ! ! ! ! ! ! ! ! gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" ! ! ! ! ! : ! ! fi ! ! ! XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" ! ! ! ! XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" ! ! ! ! ! ! ! ! if test $ac_cv_have_decl_fchdir = no; then ! HAVE_DECL_FCHDIR=0 ! fi ! ! ! if test $ac_cv_func_fchdir = no; then ! HAVE_FCHDIR=0 ! ! ! ! ! - gl_LIBOBJS="$gl_LIBOBJS fchdir.$ac_objext" - : - $as_echo "#define REPLACE_FCHDIR 1" >>confdefs.h ! REPLACE_OPENDIR=1 ! REPLACE_CLOSEDIR=1 ! REPLACE_DUP=1 - REPLACE_OPEN=1 --- 17975,18012 ---- return 0; } ! _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! gl_cv_func_dup2_works=yes ! else ! gl_cv_func_dup2_works=no ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 + $as_echo "$gl_cv_func_dup2_works" >&6; } + if test "$gl_cv_func_dup2_works" = no; then + REPLACE_DUP2=1 + fi + fi ! if test $ac_cv_func_fchdir = no; then ! HAVE_FCHDIR=0 ! fi + if test $HAVE_FCHDIR = 0; then + REPLACE_DUP2=1 + fi + if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then *************** *** 17376,17405 **** - gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext" - : ! REPLACE_CLOSE=1 - gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" ! REPLACE_FCLOSE=1 --- 18014,18069 ---- + gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext" + fi ! GNULIB_DUP2=1 + $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 + $as_echo_n "checking for error_at_line... " >&6; } + if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int + main () + { + error_at_line (0, 0, "", 0, "an error occurred"); + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_error_at_line=yes + else + ac_cv_lib_error_at_line=no + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 + $as_echo "$ac_cv_lib_error_at_line" >&6; } ! if test $ac_cv_lib_error_at_line = no; then *************** *** 17408,17442 **** ! gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" - if test $ac_cv_func_dup2 = yes; then - REPLACE_DUP2=1 - fi - gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext" - if test $ac_cv_func_fcntl = no; then - HAVE_FCNTL=0 - else - REPLACE_FCNTL=1 - fi --- 18072,18105 ---- ! gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" + : + fi + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" + if test $ac_cv_have_decl_fchdir = no; then + HAVE_DECL_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then *************** *** 17444,17454 **** ! gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5 $as_echo_n "checking whether open can visit directories... " >&6; } if ${gl_cv_func_open_directory_works+:} false; then : $as_echo_n "(cached) " >&6 --- 18107,18119 ---- + gl_LIBOBJS="$gl_LIBOBJS fchdir.$ac_objext" ! : + $as_echo "#define REPLACE_FCHDIR 1" >>confdefs.h ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5 $as_echo_n "checking whether open can visit directories... " >&6; } if ${gl_cv_func_open_directory_works+:} false; then : $as_echo_n "(cached) " >&6 *************** *** 17484,17490 **** $as_echo "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h - REPLACE_FSTAT=1 fi fi --- 18149,18154 ---- *************** *** 17505,17510 **** --- 18169,18177 ---- + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : *************** *** 17518,17524 **** /* end confdefs.h. */ #include ! #include int main () --- 18185,18195 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif int main () *************** *** 17579,17600 **** $as_echo "$gl_cv_func_fflush_stdin" >&6; } if test $gl_cv_func_fflush_stdin = no; then ! REPLACE_FCLOSE=1 ! - gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" ! fi --- 18250,18275 ---- $as_echo "$gl_cv_func_fflush_stdin" >&6; } if test $gl_cv_func_fflush_stdin = no; then + REPLACE_FCLOSE=1 + fi ! if test $REPLACE_CLOSE = 1; then ! REPLACE_FCLOSE=1 ! fi + if test $REPLACE_FCLOSE = 1; then ! gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" + fi *************** *** 17625,17640 **** REPLACE_FCNTL=1 fi - - - - - - - - gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext" - - else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } --- 18300,18305 ---- *************** *** 17690,17705 **** fi - - - - - - - gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext" - - - $as_echo "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ;; esac --- 18355,18360 ---- *************** *** 17766,17784 **** REPLACE_FCNTL=1 fi - gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext" - ! fi fi --- 18421,18461 ---- REPLACE_FCNTL=1 fi + fi + fi + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then ! if test $ac_cv_func_fcntl = no; then ! HAVE_FCNTL=0 ! else ! REPLACE_FCNTL=1 fi + fi + + + if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext" + + fi *************** *** 17823,17835 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/fcntl.h#{ ! s#.*"\(.*/fcntl.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 18500,18523 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'fcntl.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'fcntl.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 17852,17857 **** --- 18540,18549 ---- + + + + for gl_func in fcntl openat; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 *************** *** 17882,17888 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 18574,18580 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 17932,17938 **** #include #include #if !HAVE_DECL_FDOPENDIR ! extern DIR *fdopendir (int); #endif int --- 18624,18634 ---- #include #include #if !HAVE_DECL_FDOPENDIR ! extern ! # ifdef __cplusplus ! "C" ! # endif ! DIR *fdopendir (int); #endif int *************** *** 18014,18019 **** --- 18710,18716 ---- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : *************** *** 18027,18033 **** /* end confdefs.h. */ #include ! #include int main () --- 18724,18734 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif int main () *************** *** 18205,18217 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/float.h#{ ! s#.*"\(.*/float.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 18906,18929 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'float.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'float.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 18533,18538 **** --- 19245,19340 ---- + case "$host_os" in + mingw* | pw*) + REPLACE_FOPEN=1 + gl_cv_func_fopen_slash="guessing no" + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5 + $as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; } + if ${gl_cv_func_fopen_slash+:} false; then : + $as_echo_n "(cached) " >&6 + else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) + gl_cv_func_fopen_slash="guessing no" ;; + *) + gl_cv_func_fopen_slash="guessing yes" ;; + esac + + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + #include + int main () + { + return fopen ("conftest.sl/", "w") != NULL; + } + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_fopen_slash=yes + else + gl_cv_func_fopen_slash=no + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + rm -f conftest.sl + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5 + $as_echo "$gl_cv_func_fopen_slash" >&6; } + ;; + esac + case "$gl_cv_func_fopen_slash" in + *no) + + $as_echo "#define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h + + REPLACE_FOPEN=1 + ;; + esac + + if test $REPLACE_FOPEN = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fopen.$ac_objext" + + + + + fi + + + + + + GNULIB_FOPEN=1 + + + + + + $as_echo "#define GNULIB_TEST_FOPEN 1" >>confdefs.h + + + + + + ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include " *************** *** 18720,18725 **** --- 19522,19528 ---- fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : *************** *** 18733,18739 **** /* end confdefs.h. */ #include ! #include int main () --- 19536,19546 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif int main () *************** *** 18829,18834 **** --- 19636,19691 ---- + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_FSTAT=1 + fi + + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0 \ + && test "$gl_cv_func_open_directory_works" != yes; then + REPLACE_FSTAT=1 + fi + + + if test $REPLACE_FSTAT = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fstat.$ac_objext" + + + + + fi + + + + + + GNULIB_FSTAT=1 + + + + + + $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h + + + + + + if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then REPLACE_FTELL=1 fi *************** *** 19039,19044 **** --- 19896,19902 ---- + gl_abort_bug=no case $gl_cv_func_getcwd_null,$host_os in *,mingw*) *************** *** 19047,19052 **** --- 19905,19912 ---- + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd handles long file names properly" >&5 $as_echo_n "checking whether getcwd handles long file names properly... " >&6; } if ${gl_cv_func_getcwd_path_max+:} false; then : *************** *** 19062,19074 **** #include #include ! #include #include #include #include #include #include #ifndef AT_FDCWD # define AT_FDCWD 0 #endif --- 19922,19960 ---- #include #include ! #if HAVE_UNISTD_H ! # include ! #else ! # include ! #endif #include #include #include #include #include + + /* Arrange to define PATH_MAX, like "pathmax.h" does. */ + #if HAVE_UNISTD_H + # include + #endif + #include + #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN + # include + #endif + #if !defined PATH_MAX && defined MAXPATHLEN + # define PATH_MAX MAXPATHLEN + #endif + #ifdef __hpux + # undef PATH_MAX + # define PATH_MAX 1024 + #endif + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + # undef PATH_MAX + # define PATH_MAX 260 + #endif + + #ifndef AT_FDCWD # define AT_FDCWD 0 #endif *************** *** 19234,19239 **** --- 20120,20127 ---- + + for ac_func in getpagesize do : ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" *************** *** 19261,19271 **** /* end confdefs.h. */ #include ! #include ! #include #include #include /* Don't get link errors because mkdir is redefined to rpl_mkdir. */ #undef mkdir --- 20149,20184 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif #include #include + + /* Arrange to define PATH_MAX, like "pathmax.h" does. */ + #if HAVE_UNISTD_H + # include + #endif + #include + #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN + # include + #endif + #if !defined PATH_MAX && defined MAXPATHLEN + # define PATH_MAX MAXPATHLEN + #endif + #ifdef __hpux + # undef PATH_MAX + # define PATH_MAX 1024 + #endif + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + # undef PATH_MAX + # define PATH_MAX 260 + #endif + + /* Don't get link errors because mkdir is redefined to rpl_mkdir. */ #undef mkdir *************** *** 19359,19366 **** ;; esac ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_path_max,$gl_abort_bug in ! *yes,yes,no) ;; *) REPLACE_GETCWD=1;; esac --- 20272,20279 ---- ;; esac ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature$gl_cv_func_getcwd_path_max,$gl_abort_bug in ! *yes,yes,yes,no) ;; *) REPLACE_GETCWD=1;; esac *************** *** 19408,19415 **** ! case $gl_cv_func_getcwd_null in ! *yes) ;; *) REPLACE_GETCWD=1 ;; --- 20321,20329 ---- ! ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in ! *yes,yes) ;; *) REPLACE_GETCWD=1 ;; *************** *** 19460,19465 **** --- 20374,20382 ---- gl_LIBOBJS="$gl_LIBOBJS getdtablesize.$ac_objext" + + + fi *************** *** 19705,19711 **** #include #include #if !HAVE_DECL_GETLOGIN_R ! extern int getlogin_r (char *, size_t); #endif int main (void) --- 20622,20632 ---- #include #include #if !HAVE_DECL_GETLOGIN_R ! extern ! # ifdef __cplusplus ! "C" ! # endif ! int getlogin_r (char *, size_t); #endif int main (void) *************** *** 20232,20239 **** if test $ac_cv_func_link = no; then HAVE_LINK=0 else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5 ! $as_echo_n "checking whether link handles trailing slash correctly... " >&6; } if ${gl_cv_func_link_works+:} false; then : $as_echo_n "(cached) " >&6 else --- 21153,21160 ---- if test $ac_cv_func_link = no; then HAVE_LINK=0 else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link obeys POSIX" >&5 ! $as_echo_n "checking whether link obeys POSIX... " >&6; } if ${gl_cv_func_link_works+:} false; then : $as_echo_n "(cached) " >&6 else *************** *** 20258,20263 **** --- 21179,21188 ---- #if HAVE_LSTAT if (!link ("conftest.lnk/", "conftest.b")) result |= 2; + if (rename ("conftest.a", "conftest.b")) + result |= 4; + if (!link ("conftest.b", "conftest.lnk")) + result |= 8; #endif return result; *************** *** 20323,20328 **** --- 21248,21254 ---- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 $as_echo_n "checking whether lseek detects pipes... " >&6; } if ${gl_cv_func_lseek_pipe+:} false; then : *************** *** 20334,20340 **** #include /* for off_t */ #include /* for SEEK_CUR */ ! #include int main () { --- 21260,21271 ---- #include /* for off_t */ #include /* for SEEK_CUR */ ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif ! int main () { *************** *** 20530,20542 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/math.h#{ ! s#.*"\(.*/math.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_math_h='<'math.h'>' fi --- 21461,21484 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'math.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'math.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_math_h='<'math.h'>' fi *************** *** 20659,20665 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 21601,21607 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 20827,20832 **** --- 21769,21798 ---- if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 + ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + + " + if test "x$ac_cv_have_decl_mbrtowc" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 + fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_MBRTOWC $ac_have_decl + _ACEOF + + if test $ac_cv_have_decl_mbrtowc = yes; then + REPLACE_MBRTOWC=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 *************** *** 21397,21402 **** --- 22363,22392 ---- if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 + ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + + " + if test "x$ac_cv_have_decl_mbsinit" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 + fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_MBSINIT $ac_have_decl + _ACEOF + + if test $ac_cv_have_decl_mbsinit = yes; then + REPLACE_MBSINIT=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 *************** *** 21595,21600 **** --- 22585,22614 ---- if test $ac_cv_func_mbsrtowcs = no; then HAVE_MBSRTOWCS=0 + ac_fn_c_check_decl "$LINENO" "mbsrtowcs" "ac_cv_have_decl_mbsrtowcs" " + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + + " + if test "x$ac_cv_have_decl_mbsrtowcs" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 + fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_MBSRTOWCS $ac_have_decl + _ACEOF + + if test $ac_cv_have_decl_mbsrtowcs = yes; then + REPLACE_MBSRTOWCS=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSRTOWCS=1 *************** *** 22093,22099 **** - if test $ac_cv_func_mkstemp = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 $as_echo_n "checking for working mkstemp... " >&6; } --- 23107,23112 ---- *************** *** 22458,22463 **** --- 23471,23515 ---- + if test $ac_cv_func__set_invalid_parameter_handler = yes; then + HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 + + $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h + + else + HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 + fi + + + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext" + + fi + + + + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext" + + fi + + *************** *** 22757,22781 **** case "$host_os" in mingw* | pw*) ! ! ! REPLACE_OPEN=1 ! ! ! ! ! ! ! ! ! gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext" ! ! ! ! ! : ! ! ;; *) --- 23809,23815 ---- case "$host_os" in mingw* | pw*) ! REPLACE_OPEN=1 ;; *) *************** *** 22837,22867 **** $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h - REPLACE_OPEN=1 - gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext" - : ! ;; ! esac ! ;; ! esac --- 23871,23914 ---- $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h + REPLACE_OPEN=1 + ;; + esac + ;; + esac + if test $REPLACE_OPEN = 0; then + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then + REPLACE_OPEN=1 + fi + fi + if test $REPLACE_OPEN = 1; then ! gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext" ! ! + : + + fi *************** *** 22892,22909 **** - for ac_func in fchmodat fstatat mkdirat openat unlinkat - do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` - ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" - if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF - #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 - _ACEOF - - fi - done - case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in --- 23939,23944 ---- *************** *** 22916,22928 **** # Solaris 9 has *at functions, but uniformly mishandles trailing # slash in all of them. REPLACE_OPENAT=1 - REPLACE_FSTATAT=1 REPLACE_UNLINKAT=1 ;; *) HAVE_OPENAT=0 HAVE_UNLINKAT=0 # No known system with unlinkat but not openat - HAVE_FSTATAT=0 # No known system with fstatat but not openat --- 23951,23961 ---- *************** *** 23066,23071 **** --- 24099,24169 ---- + if test $ac_cv_func_fstatat = no; then + HAVE_FSTATAT=0 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5 + $as_echo_n "checking whether fstatat (..., 0) works... " >&6; } + if ${gl_cv_func_fstatat_zero_flag+:} false; then : + $as_echo_n "(cached) " >&6 + else + gl_cv_func_fstatat_zero_flag=no + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + #include + int + main (void) + { + struct stat a; + return fstatat (AT_FDCWD, ".", &a, 0) != 0; + } + + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_fstatat_zero_flag=yes + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5 + $as_echo "$gl_cv_func_fstatat_zero_flag" >&6; } + + case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in + yes+yes) ;; + *) REPLACE_FSTATAT=1 + if test $gl_cv_func_fstatat_zero_flag != yes; then + + $as_echo "#define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h + + fi + ;; + esac + fi + + + + + cat >>confdefs.h <<_ACEOF + #define GNULIB_OPENAT 1 + _ACEOF + + + + + + + + *************** *** 23146,23151 **** --- 24244,24305 ---- + for ac_func in opendir + do : + ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir" + if test "x$ac_cv_func_opendir" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_OPENDIR 1 + _ACEOF + + fi + done + + if test $ac_cv_func_opendir = no; then + HAVE_OPENDIR=0 + fi + + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_OPENDIR=1 + fi + + + if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS opendir.$ac_objext" + + fi + + + + + + GNULIB_OPENDIR=1 + + + + + + $as_echo "#define GNULIB_TEST_OPENDIR 1" >>confdefs.h + + + + + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " *************** *** 23174,23179 **** --- 24328,24450 ---- + + for ac_func in raise + do : + ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise" + if test "x$ac_cv_func_raise" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_RAISE 1 + _ACEOF + + fi + done + + if test $ac_cv_func_raise = no; then + HAVE_RAISE=0 + else + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_RAISE=1 + fi + + + + + if test $gl_cv_type_sigset_t = yes; then + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" + if test "x$ac_cv_func_sigprocmask" = xyes; then : + gl_cv_func_sigprocmask=1 + fi + + fi + if test -z "$gl_cv_func_sigprocmask"; then + HAVE_POSIX_SIGNALBLOCKING=0 + fi + + if test $HAVE_POSIX_SIGNALBLOCKING = 0; then + : + fi + + fi + + if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS raise.$ac_objext" + + + + + fi + + + + + + GNULIB_RAISE=1 + + + + + + $as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h + + + + + + + for ac_func in readdir + do : + ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir" + if test "x$ac_cv_func_readdir" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_READDIR 1 + _ACEOF + + fi + done + + if test $ac_cv_func_readdir = no; then + HAVE_READDIR=0 + fi + + if test $HAVE_READDIR = 0; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS readdir.$ac_objext" + + fi + + + + + + GNULIB_READDIR=1 + + + + + + $as_echo "#define GNULIB_TEST_READDIR 1" >>confdefs.h + + + + + + if test $ac_cv_func_readlink = no; then HAVE_READLINK=0 else *************** *** 23444,23480 **** fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5 $as_echo_n "checking whether rename manages hard links correctly... " >&6; } if ${gl_cv_func_rename_link_works+:} false; then : $as_echo_n "(cached) " >&6 else ! rm -rf conftest.f conftest.f1 ! if touch conftest.f && ln conftest.f conftest.f1 && ! set x `ls -i conftest.f conftest.f1` && test "" = ""; then ! if test "$cross_compiling" = yes; then : ! gl_cv_func_rename_link_works="guessing no" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! # include ! # include ! # include int main () { int result = 0; ! if (rename ("conftest.f", "conftest.f1")) ! result |= 1; ! if (unlink ("conftest.f1")) ! result |= 2; ! if (rename ("conftest.f", "conftest.f")) ! result |= 4; ! if (rename ("conftest.f1", "conftest.f1") == 0) ! result |= 8; ! return result; ; return 0; --- 24715,24753 ---- fi ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5 $as_echo_n "checking whether rename manages hard links correctly... " >&6; } if ${gl_cv_func_rename_link_works+:} false; then : $as_echo_n "(cached) " >&6 else ! if test $ac_cv_func_link = yes; then ! rm -rf conftest.f conftest.f1 ! if touch conftest.f && ln conftest.f conftest.f1 && ! set x `ls -i conftest.f conftest.f1` && test "" = ""; then ! if test "$cross_compiling" = yes; then : ! gl_cv_func_rename_link_works="guessing no" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! # include ! # include ! # include int main () { int result = 0; ! if (rename ("conftest.f", "conftest.f1")) ! result |= 1; ! if (unlink ("conftest.f1")) ! result |= 2; ! if (rename ("conftest.f", "conftest.f")) ! result |= 4; ! if (rename ("conftest.f1", "conftest.f1") == 0) ! result |= 8; ! return result; ; return 0; *************** *** 23489,23498 **** conftest.$ac_objext conftest.beam conftest.$ac_ext fi ! else ! gl_cv_func_rename_link_works="guessing no" ! fi ! rm -rf conftest.f conftest.f1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5 --- 24762,24774 ---- conftest.$ac_objext conftest.beam conftest.$ac_ext fi ! else ! gl_cv_func_rename_link_works="guessing no" ! fi ! rm -rf conftest.f conftest.f1 ! else ! gl_cv_func_rename_link_works=yes ! fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5 *************** *** 23585,23591 **** ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5 $as_echo_n "checking whether rmdir works... " >&6; } if ${gl_cv_func_rmdir_works+:} false; then : $as_echo_n "(cached) " >&6 --- 24861,24868 ---- ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5 $as_echo_n "checking whether rmdir works... " >&6; } if ${gl_cv_func_rmdir_works+:} false; then : $as_echo_n "(cached) " >&6 *************** *** 23599,23605 **** /* end confdefs.h. */ #include #include ! #include int main () --- 24876,24886 ---- /* end confdefs.h. */ #include #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif int main () *************** *** 24298,24303 **** --- 25579,25612 ---- esac fi + LIB_SELECT="$LIBSOCKET" + if test $REPLACE_SELECT = 1; then + case "$host_os" in + mingw*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #define WIN32_LEAN_AND_MEAN + #include + int + main () + { + MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : + + else + LIB_SELECT="$LIB_SELECT -luser32" + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ;; + esac + fi + + if test $REPLACE_SELECT = 1; then *************** *** 24407,24412 **** --- 25716,25722 ---- + if test $gl_cv_have_include_next = yes; then gl_cv_next_signal_h='<'signal.h'>' else *************** *** 24425,24437 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/signal.h#{ ! s#.*"\(.*/signal.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 25735,25758 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'signal.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'signal.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 24469,24474 **** --- 25790,25797 ---- + + ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " #include *************** *** 24481,24487 **** ! for gl_func in sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 25804,25810 ---- ! for gl_func in pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 24511,24517 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 25834,25840 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 24523,24543 **** - signals_not_posix= - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - - _ACEOF - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "sigset_t" >/dev/null 2>&1; then : - - else - signals_not_posix=1 - fi - rm -f conftest* ! if test -z "$signals_not_posix"; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 --- 25846,25853 ---- ! if test $gl_cv_type_sigset_t = yes; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 *************** *** 24561,24585 **** - ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include - /* Mingw defines sigset_t not in , but in . */ - #include - " - if test "x$ac_cv_type_sigset_t" = xyes; then : - - cat >>confdefs.h <<_ACEOF - #define HAVE_SIGSET_T 1 - _ACEOF - - gl_cv_type_sigset_t=yes - else - gl_cv_type_sigset_t=no - fi - - if test $gl_cv_type_sigset_t != yes; then - HAVE_SIGSET_T=0 - fi - fi --- 25871,25876 ---- *************** *** 25052,25057 **** --- 26343,26381 ---- fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 + $as_echo_n "checking for ssize_t... " >&6; } + if ${gt_cv_ssize_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int + main () + { + int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x; + ; + return 0; + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_ssize_t=yes + else + gt_cv_ssize_t=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 + $as_echo "$gt_cv_ssize_t" >&6; } + if test $gt_cv_ssize_t = no; then + + $as_echo "#define ssize_t int" >>confdefs.h + + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 *************** *** 25282,25294 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/stddef.h#{ ! s#.*"\(.*/stddef.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 26606,26629 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stddef.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'stddef.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 25341,25353 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/stdio.h#{ ! s#.*"\(.*/stdio.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 26676,26699 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdio.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'stdio.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 25393,25399 **** ! for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 26739,26745 ---- ! for gl_func in dprintf fpurge fseeko ftello getdelim getline pclose popen renameat snprintf tmpfile vdprintf vsnprintf; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 25423,25429 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 26769,26775 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 25461,25473 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/stdlib.h#{ ! s#.*"\(.*/stdlib.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' fi --- 26807,26830 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdlib.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'stdlib.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' fi *************** *** 25526,25532 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 26883,26889 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 25539,25544 **** --- 26896,26983 ---- + for ac_func in strcasecmp + do : + ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" + if test "x$ac_cv_func_strcasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRCASECMP 1 + _ACEOF + + fi + done + + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + fi + + + + for ac_func in strncasecmp + do : + ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" + if test "x$ac_cv_func_strncasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRNCASECMP 1 + _ACEOF + + fi + done + + if test $ac_cv_func_strncasecmp = yes; then + HAVE_STRNCASECMP=1 + else + HAVE_STRNCASECMP=0 + fi + ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" + if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 + fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_STRNCASECMP $ac_have_decl + _ACEOF + + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi + + + if test $HAVE_STRCASECMP = 0; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strcasecmp.$ac_objext" + + + : + + fi + if test $HAVE_STRNCASECMP = 0; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strncasecmp.$ac_objext" + + + : + + fi + + + if test $ac_cv_func_strdup = yes; then if test $gl_cv_func_malloc_posix != yes; then *************** *** 25582,25614 **** ! if test -z "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 $as_echo_n "checking for working strerror function... " >&6; } if ${gl_cv_func_working_strerror+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ! gl_cv_func_working_strerror=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #include int main () { ! int result = 0; ! char *str; ! if (!*strerror (-2)) result |= 1; ! errno = 0; ! str = strerror (0); ! if (!*str) result |= 2; ! if (errno) result |= 4; ! if (strstr (str, "nknown") || strstr (str, "ndefined")) ! result |= 8; ! return result; ; return 0; } --- 27021,27044 ---- ! ! if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 $as_echo_n "checking for working strerror function... " >&6; } if ${gl_cv_func_working_strerror+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ! gl_cv_func_working_strerror="guessing no" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ! if (!*strerror (-2)) return 1; ; return 0; } *************** *** 25626,25632 **** fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 $as_echo "$gl_cv_func_working_strerror" >&6; } ! if test $gl_cv_func_working_strerror = no; then REPLACE_STRERROR=1 fi --- 27056,27062 ---- fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 $as_echo "$gl_cv_func_working_strerror" >&6; } ! if test "$gl_cv_func_working_strerror" != yes; then REPLACE_STRERROR=1 fi *************** *** 25669,25675 **** ! if test -n "$ERRNO_H"; then --- 27099,27106 ---- ! ! if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then *************** *** 25729,25734 **** --- 27160,27168 ---- + + + if test $ac_cv_func_strptime != yes; then HAVE_STRPTIME=0 fi *************** *** 25892,25901 **** #undef memset #define memset nonexistent_memset ! extern void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); --- 27326,27343 ---- #undef memset #define memset nonexistent_memset ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); *************** *** 25949,25961 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/select.h#{ ! s#.*"\(.*/sys/select.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi --- 27391,27414 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/select.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/select.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi *************** *** 26014,26020 **** ! for gl_func in select; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 27467,27473 ---- ! for gl_func in pselect select; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 26050,26056 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 27503,27509 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 26179,26191 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/socket.h#{ ! s#.*"\(.*/sys/socket.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_socket_h='<'sys/socket.h'>' fi --- 27632,27655 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/socket.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/socket.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_socket_h='<'sys/socket.h'>' fi *************** *** 26360,26366 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 27824,27830 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 26408,26420 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/stat.h#{ ! s#.*"\(.*/sys/stat.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi --- 27872,27895 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/stat.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/stat.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi *************** *** 26439,26444 **** --- 27914,27921 ---- + + ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " *************** *** 26452,26458 **** ! for gl_func in fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 27929,27935 ---- ! for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 26482,26488 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 27959,27965 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 26530,26542 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_times_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/times.h#{ ! s#.*"\(.*/sys/times.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_times_h='<'sys/times.h'>' fi --- 28007,28030 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/times.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/times.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_times_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_times_h='<'sys/times.h'>' fi *************** *** 26619,26625 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 28107,28113 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 26640,26645 **** --- 28128,28205 ---- + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_types_h='<'sys/types.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } + if ${gl_cv_next_sys_types_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + + _ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/types.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/types.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' + gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"`'"' + + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 + $as_echo "$gl_cv_next_sys_types_h" >&6; } + fi + NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sys/types.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sys_types_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive + + + + + + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_uio_h='<'sys/uio.h'>' *************** *** 26662,26674 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_sys_uio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/sys/uio.h#{ ! s#.*"\(.*/sys/uio.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_sys_uio_h='<'sys/uio.h'>' fi --- 28222,28245 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/uio.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'sys/uio.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_sys_uio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_sys_uio_h='<'sys/uio.h'>' fi *************** *** 26702,26709 **** - - : --- 28273,28278 ---- *************** *** 26827,26832 **** --- 28396,28472 ---- + for ac_func in __secure_getenv + do : + ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv" + if test "x$ac_cv_func___secure_getenv" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE___SECURE_GETENV 1 + _ACEOF + + fi + done + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tmpfile should be overridden" >&5 + $as_echo_n "checking whether tmpfile should be overridden... " >&6; } + if ${gl_cv_func_tmpfile_unusable+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ + choke me + #endif + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "choke me" >/dev/null 2>&1; then : + gl_cv_func_tmpfile_unusable=yes + else + gl_cv_func_tmpfile_unusable=no + fi + rm -f conftest* + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tmpfile_unusable" >&5 + $as_echo "$gl_cv_func_tmpfile_unusable" >&6; } + if test $gl_cv_func_tmpfile_unusable = yes; then + REPLACE_TMPFILE=1 + fi + + if test $REPLACE_TMPFILE = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS tmpfile.$ac_objext" + + : + fi + + + + + + GNULIB_TMPFILE=1 + + + + + + $as_echo "#define GNULIB_TEST_TMPFILE 1" >>confdefs.h + + + + *************** *** 27064,27076 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/unistd.h#{ ! s#.*"\(.*/unistd.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_unistd_h='<'unistd.h'>' fi --- 28704,28727 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'unistd.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'unistd.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_unistd_h='<'unistd.h'>' fi *************** *** 27102,27108 **** ! for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } --- 28753,28761 ---- ! ! ! for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } *************** *** 27111,27117 **** else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include --- 28764,28773 ---- else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! ! #if HAVE_UNISTD_H ! # include ! #endif /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include *************** *** 27141,27147 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 28797,28803 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 27157,27162 **** --- 28813,28819 ---- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5 $as_echo_n "checking whether unlink honors trailing slashes... " >&6; } if ${gl_cv_func_unlink_honors_slashes+:} false; then : *************** *** 27172,27178 **** else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include #include int --- 28829,28839 ---- else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif #include int *************** *** 27240,27246 **** /* end confdefs.h. */ #include ! #include int main () { int result = 0; --- 28901,28912 ---- /* end confdefs.h. */ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! # include ! #endif int main () { int result = 0; *************** *** 27414,27419 **** --- 29080,29086 ---- if test $ac_cv_func_vsnprintf = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 $as_echo_n "checking whether snprintf respects a size of 1... " >&6; } if ${gl_cv_func_snprintf_size1+:} false; then : *************** *** 27427,27436 **** /* end confdefs.h. */ #include int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ! snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; } _ACEOF --- 29094,29117 ---- /* end confdefs.h. */ #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ! my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; } _ACEOF *************** *** 27453,27459 **** case "$gl_cv_func_snprintf_retval_c99" in *yes) ! gl_cv_func_vsnprintf_usable=yes ;; esac ;; --- 29134,29192 ---- case "$gl_cv_func_snprintf_retval_c99" in *yes) ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 ! $as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } ! if ${gl_cv_func_printf_positions+:} false; then : ! $as_echo_n "(cached) " >&6 ! else ! ! if test "$cross_compiling" = yes; then : ! ! case "$host_os" in ! netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) ! gl_cv_func_printf_positions="guessing no";; ! beos*) gl_cv_func_printf_positions="guessing no";; ! mingw* | pw*) gl_cv_func_printf_positions="guessing no";; ! *) gl_cv_func_printf_positions="guessing yes";; ! esac ! ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! #include ! #include ! /* The string "%2$d %1$d", with dollar characters protected from the shell's ! dollar expansion (possibly an autoconf bug). */ ! static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ! static char buf[100]; ! int main () ! { ! sprintf (buf, format, 33, 55); ! return (strcmp (buf, "55 33") != 0); ! } ! _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! gl_cv_func_printf_positions=yes ! else ! gl_cv_func_printf_positions=no ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi ! ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 ! $as_echo "$gl_cv_func_printf_positions" >&6; } ! ! case "$gl_cv_func_printf_positions" in ! *yes) ! gl_cv_func_vsnprintf_usable=yes ! ;; ! esac ;; esac ;; *************** *** 27531,27543 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/wchar.h#{ ! s#.*"\(.*/wchar.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_wchar_h='<'wchar.h'>' fi --- 29264,29287 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'wchar.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'wchar.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_wchar_h='<'wchar.h'>' fi *************** *** 27619,27625 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 29363,29369 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 27681,27693 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n '\#/wctype.h#{ ! s#.*"\(.*/wctype.h\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"' else gl_cv_next_wctype_h='<'wctype.h'>' fi --- 29425,29448 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + + case "$host_os" in + mingw*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'wctype.h|{ + s|.*"\(.*'"${gl_dirsep_regex}"'wctype.h\)".*|\1| + s|^/[^/]|//&| + p + q + }' gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ! sed -n "$gl_absolute_header_sed"`'"' else gl_cv_next_wctype_h='<'wctype.h'>' fi *************** *** 27788,27793 **** --- 29543,29601 ---- : fi + if test $REPLACE_ISWCNTRL = 1; then + REPLACE_TOWLOWER=1 + else + for ac_func in towlower + do : + ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower" + if test "x$ac_cv_func_towlower" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_TOWLOWER 1 + _ACEOF + + fi + done + + if test $ac_cv_func_towlower = yes; then + REPLACE_TOWLOWER=0 + else + ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: must be + included before . + BSD/OS 4.0.1 has a bug: , and + must be included before . */ + #include + #include + #include + #include + #if HAVE_WCTYPE_H + # include + #endif + + " + if test "x$ac_cv_have_decl_towlower" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 + fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_TOWLOWER $ac_have_decl + _ACEOF + + if test $ac_cv_have_decl_towlower = yes; then + REPLACE_TOWLOWER=1 + else + REPLACE_TOWLOWER=0 + fi + fi + fi + + + if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then + : + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 $as_echo_n "checking for wctype_t... " >&6; } if ${gl_cv_type_wctype_t+:} false; then : *************** *** 27912,27918 **** eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF --- 29720,29726 ---- eval ac_res=\$$as_gl_Symbol { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } ! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF *************** *** 57311,57317 **** # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" ! This file was extended by GNU Octave $as_me 3.4.2, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES --- 59119,59125 ---- # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" ! This file was extended by GNU Octave $as_me 3.4.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES *************** *** 57379,57385 **** cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ ! GNU Octave config.status 3.4.2 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" --- 59187,59193 ---- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ ! GNU Octave config.status 3.4.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -cNr octave-3.4.2/configure.ac octave-3.4.3/configure.ac *** octave-3.4.2/configure.ac 2011-06-24 10:33:52.000000000 -0400 --- octave-3.4.3/configure.ac 2011-10-10 10:21:59.000000000 -0400 *************** *** 27,39 **** EXTERN_CFLAGS="$CFLAGS" EXTERN_CXXFLAGS="$CXXFLAGS" ! AC_INIT([GNU Octave], [3.4.2], [http://octave.org/bugs.html], [octave]) dnl PACKAGE_VERSION is set by the AC_INIT VERSION arg OCTAVE_VERSION="$PACKAGE_VERSION" OCTAVE_API_VERSION_NUMBER="45" OCTAVE_API_VERSION="api-v$OCTAVE_API_VERSION_NUMBER+" ! OCTAVE_RELEASE_DATE="2011-06-24" OCTAVE_COPYRIGHT="Copyright (C) 2011 John W. Eaton and others." AC_SUBST(OCTAVE_VERSION) AC_SUBST(OCTAVE_API_VERSION_NUMBER) --- 27,39 ---- EXTERN_CFLAGS="$CFLAGS" EXTERN_CXXFLAGS="$CXXFLAGS" ! AC_INIT([GNU Octave], [3.4.3], [http://octave.org/bugs.html], [octave]) dnl PACKAGE_VERSION is set by the AC_INIT VERSION arg OCTAVE_VERSION="$PACKAGE_VERSION" OCTAVE_API_VERSION_NUMBER="45" OCTAVE_API_VERSION="api-v$OCTAVE_API_VERSION_NUMBER+" ! OCTAVE_RELEASE_DATE="2011-10-10" OCTAVE_COPYRIGHT="Copyright (C) 2011 John W. Eaton and others." AC_SUBST(OCTAVE_VERSION) AC_SUBST(OCTAVE_API_VERSION_NUMBER) diff -cNr octave-3.4.2/doc/faq/Makefile.in octave-3.4.3/doc/faq/Makefile.in *** octave-3.4.2/doc/faq/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/doc/faq/Makefile.in 2011-10-10 10:24:11.000000000 -0400 *************** *** 64,86 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 64,88 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 90,138 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 92,147 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 325,336 **** --- 334,348 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 342,349 **** --- 354,366 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 362,367 **** --- 379,385 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 451,456 **** --- 469,476 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 458,472 **** --- 478,496 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 476,481 **** --- 500,506 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 609,614 **** --- 634,640 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 620,625 **** --- 646,652 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 650,655 **** --- 677,683 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 663,668 **** --- 691,697 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 673,680 **** --- 702,713 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 722,744 **** --- 755,786 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 756,763 **** --- 798,807 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 867,872 **** --- 911,917 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 895,906 **** --- 940,953 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 917,928 **** --- 964,977 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 990,995 **** --- 1039,1045 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1055,1062 **** --- 1105,1115 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1094,1099 **** --- 1147,1153 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ Binary files octave-3.4.2/doc/faq/OctaveFAQ.pdf and octave-3.4.3/doc/faq/OctaveFAQ.pdf differ diff -cNr octave-3.4.2/doc/icons/Makefile.in octave-3.4.3/doc/icons/Makefile.in *** octave-3.4.2/doc/icons/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/doc/icons/Makefile.in 2011-10-10 10:24:11.000000000 -0400 *************** *** 65,87 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 65,89 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 91,139 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 93,148 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 317,328 **** --- 326,340 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 334,341 **** --- 346,358 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 354,359 **** --- 371,377 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 443,448 **** --- 461,468 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 450,464 **** --- 470,488 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 468,473 **** --- 492,498 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 601,606 **** --- 626,632 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 612,617 **** --- 638,644 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 642,647 **** --- 669,675 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 655,660 **** --- 683,689 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 665,672 **** --- 694,705 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 714,736 **** --- 747,778 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 748,755 **** --- 790,799 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 859,864 **** --- 903,909 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 887,898 **** --- 932,945 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 909,920 **** --- 956,969 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 982,987 **** --- 1031,1037 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1047,1054 **** --- 1097,1107 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1086,1091 **** --- 1139,1145 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/doc/interpreter/arith.texi octave-3.4.3/doc/interpreter/arith.texi *** octave-3.4.2/doc/interpreter/arith.texi 2011-06-21 12:33:50.000000000 -0400 --- octave-3.4.3/doc/interpreter/arith.texi 2011-09-29 14:46:45.000000000 -0400 *************** *** 770,819 **** @c accumarray scripts/general/accumarray.m @anchor{doc-accumarray} @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! @deftypefnx {Function File} {} accumarray (@var{csubs}, @var{vals}, @dots{}) Create an array by accumulating the elements of a vector into the positions defined by their subscripts. The subscripts are defined by ! the rows of the matrix @var{subs} and the values by @var{vals}. Each row ! of @var{subs} corresponds to one of the values in @var{vals}. ! The size of the matrix will be determined by the subscripts themselves. ! However, if @var{sz} is defined it determines the matrix size. The length ! of @var{sz} must correspond to the number of columns in @var{subs}. ! The default action of @code{accumarray} is to sum the elements with the ! same subscripts. This behavior can be modified by defining the @var{func} ! function. This should be a function or function handle that accepts a ! column vector and returns a scalar. The result of the function should not ! depend on the order of the subscripts. ! The elements of the returned array that have no subscripts associated with ! them are set to zero. Defining @var{fillval} to some other value allows ! these values to be defined. ! By default @code{accumarray} returns a full matrix. If @var{issparse} is ! logically true, then a sparse matrix is returned instead. ! An example of the use of @code{accumarray} is: @example @group ! accumarray ([1,1,1;2,1,2;2,3,2;2,1,2;2,3,2], 101:105) @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ans(:,:,2) = [0, 0, 0; 206, 0, 208] @end group @end example ! The complexity in the non-sparse case is generally O(M+N), where N is the ! number of ! subscripts and M is the maximum subscript (linearized in multi-dimensional ! case). ! If @var{func} is one of @code{@@sum} (default), @code{@@max}, @code{@@min} ! or @code{@@(x) @{x@}}, an optimized code path is used. ! Note that for general reduction function the interpreter overhead can play a ! major part and it may be more efficient to do multiple accumarray calls and ! compute the results in a vectorized manner. ! @seealso{@ref{doc-accumdim,,accumdim}} @end deftypefn --- 770,847 ---- @c accumarray scripts/general/accumarray.m @anchor{doc-accumarray} @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! @deftypefnx {Function File} {} accumarray (@var{subs}, @var{vals}, @dots{}) Create an array by accumulating the elements of a vector into the positions defined by their subscripts. The subscripts are defined by ! the rows of the matrix @var{subs} and the values by @var{vals}. Each ! row of @var{subs} corresponds to one of the values in @var{vals}. If ! @var{vals} is a scalar, it will be used for each of the row of ! @var{subs}. ! The size of the matrix will be determined by the subscripts ! themselves. However, if @var{sz} is defined it determines the matrix ! size. The length of @var{sz} must correspond to the number of columns ! in @var{subs}. ! The default action of @code{accumarray} is to sum the elements with ! the same subscripts. This behavior can be modified by defining the ! @var{func} function. This should be a function or function handle ! that accepts a column vector and returns a scalar. The result of the ! function should not depend on the order of the subscripts. ! The elements of the returned array that have no subscripts associated ! with them are set to zero. Defining @var{fillval} to some other ! value allows these values to be defined. ! ! By default @code{accumarray} returns a full matrix. If ! @var{issparse} is logically true, then a sparse matrix is returned ! instead. ! ! The following @code{accumarray} example constructs a frequency table ! that in the first column counts how many occurrences each number in ! the second column has, taken from the vector @var{x}. Note the usage ! of @code{unique} for assigning to all repeated elements of @var{x} ! the same index (@pxref{doc-unique}). ! @example ! @group ! x = [91, 92, 90, 92, 90, 89, 91, 89, 90, 100, 100, 100]; ! [u, ~, j] = unique (x); ! [accumarray(j', 1), u'] ! @result{} 2 89 ! 3 90 ! 2 91 ! 2 92 ! 3 100 ! @end group ! @end example ! Another example, where the result is a multidimensional 3D array and ! the default value (zero) appears in the output: @example @group ! accumarray ([1, 1, 1; ! 2, 1, 2; ! 2, 3, 2; ! 2, 1, 2; ! 2, 3, 2], 101:105) @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ans(:,:,2) = [0, 0, 0; 206, 0, 208] @end group @end example ! The complexity in the non-sparse case is generally O(M+N), where N is ! the number of subscripts and M is the maximum subscript (linearized ! in multi-dimensional case). If @var{func} is one of @code{@@sum} ! (default), @code{@@max}, @code{@@min} or @code{@@(x) @{x@}}, an ! optimized code path is used. Note that for general reduction function ! the interpreter overhead can play a major part and it may be more ! efficient to do multiple accumarray calls and compute the results in ! a vectorized manner. ! ! @seealso{@ref{doc-accumdim,,accumdim}, @ref{doc-unique,,unique}} @end deftypefn *************** *** 913,919 **** @anchor{doc-round} @deftypefn {Mapping Function} {} round (@var{x}) Return the integer nearest to @var{x}. If @var{x} is complex, return ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}. @example @group --- 941,948 ---- @anchor{doc-round} @deftypefn {Mapping Function} {} round (@var{x}) Return the integer nearest to @var{x}. If @var{x} is complex, return ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}. If there ! are two nearest integers, return the one further away from zero. @example @group *************** *** 921,927 **** @result{} -3 3 @end group @end example ! @seealso{@ref{doc-ceil,,ceil}, @ref{doc-floor,,floor}, @ref{doc-fix,,fix}} @end deftypefn --- 950,956 ---- @result{} -3 3 @end group @end example ! @seealso{@ref{doc-ceil,,ceil}, @ref{doc-floor,,floor}, @ref{doc-fix,,fix}, @ref{doc-roundb,,roundb}} @end deftypefn *************** *** 1689,1695 **** @end ifnottex ! If x has more than one component, both @var{a} and @var{b} must be scalars. If @var{x} is a scalar, @var{a} and @var{b} must be of compatible dimensions. @end deftypefn --- 1718,1724 ---- @end ifnottex ! If @var{x} has more than one component, both @var{a} and @var{b} must be scalars. If @var{x} is a scalar, @var{a} and @var{b} must be of compatible dimensions. @end deftypefn diff -cNr octave-3.4.2/doc/interpreter/container.texi octave-3.4.3/doc/interpreter/container.texi *** octave-3.4.2/doc/interpreter/container.texi 2011-06-21 12:33:50.000000000 -0400 --- octave-3.4.3/doc/interpreter/container.texi 2011-09-29 14:46:46.000000000 -0400 *************** *** 1591,1597 **** a = @{1, [2, 3], 4, 5, 6@}; b = [a@{1:4@}] @result{} b = ! 1 2 3 4 @end group @end example --- 1591,1597 ---- a = @{1, [2, 3], 4, 5, 6@}; b = [a@{1:4@}] @result{} b = ! 1 2 3 4 5 @end group @end example diff -cNr octave-3.4.2/doc/interpreter/container.txi octave-3.4.3/doc/interpreter/container.txi *** octave-3.4.2/doc/interpreter/container.txi 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/doc/interpreter/container.txi 2011-09-01 09:39:18.000000000 -0400 *************** *** 974,980 **** a = @{1, [2, 3], 4, 5, 6@}; b = [a@{1:4@}] @result{} b = ! 1 2 3 4 @end group @end example --- 974,980 ---- a = @{1, [2, 3], 4, 5, 6@}; b = [a@{1:4@}] @result{} b = ! 1 2 3 4 5 @end group @end example diff -cNr octave-3.4.2/doc/interpreter/contrib.texi octave-3.4.3/doc/interpreter/contrib.texi *** octave-3.4.2/doc/interpreter/contrib.texi 2011-06-21 12:33:50.000000000 -0400 --- octave-3.4.3/doc/interpreter/contrib.texi 2011-09-29 14:46:46.000000000 -0400 *************** *** 8,19 **** @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. ! @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. ! @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c . --- 8,19 ---- @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. ! @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. ! @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c . *************** *** 25,31 **** This chapter is dedicated to those who wish to contribute code to Octave. ! @menu * How to Contribute:: * General Guidelines:: * Octave Sources (m-files):: --- 25,31 ---- This chapter is dedicated to those who wish to contribute code to Octave. ! @menu * How to Contribute:: * General Guidelines:: * Octave Sources (m-files):: *************** *** 58,64 **** @example @group hg clone http://www.octave.org/hg/octave ! # make a local copy of the octave # source repository cd octave # change some sources@dots{} --- 58,64 ---- @example @group hg clone http://www.octave.org/hg/octave ! # make a local copy of the octave # source repository cd octave # change some sources@dots{} *************** *** 73,85 **** @end example You may want to get familiar with Mercurial queues to manage your ! changesets. Here is a slightly more complex example using Mercurial queues, where work on two unrelated changesets is done in parallel and ! one of the changesets is updated after discussion on the maintainers mailing ! list: @example ! hg qnew nasty_bug # create a new patch # change sources@dots{} hg qref # save the changes into the patch # change even more@dots{} --- 73,85 ---- @end example You may want to get familiar with Mercurial queues to manage your ! changesets. Here is a slightly more complex example using Mercurial queues, where work on two unrelated changesets is done in parallel and ! one of the changesets is updated after discussion on the maintainers ! mailing list: @example ! hg qnew nasty_bug # create a new patch # change sources@dots{} hg qref # save the changes into the patch # change even more@dots{} *************** *** 91,97 **** hg qpop # undo the application of the patch # and remove the changes from the # source tree ! hg qnew doc_improvements # create an unrelated patch # change doc sources@dots{} hg qref -m "could not find myfav.m in the doc" # save the changes into the patch --- 91,97 ---- hg qpop # undo the application of the patch # and remove the changes from the # source tree ! hg qnew doc_improvements # create an unrelated patch # change doc sources@dots{} hg qref -m "could not find myfav.m in the doc" # save the changes into the patch *************** *** 124,130 **** ## Octave is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; ! ## either version 3 of the License, or (at your option) any ## later version. ## ## Octave is distributed in the hope that it will be useful, --- 124,130 ---- ## Octave is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; ! ## either version 3 of the License, or (at your option) any ## later version. ## ## Octave is distributed in the hope that it will be useful, *************** *** 138,177 **** ## see . @end example ! Always include ChangeLog entries in changesets. After making your ! source changes, record and briefly describe the changes in the nearest ! ChangeLog file upwards in the directory tree. Use the previous entries ! as a template. Your entry should contain your name and email, and the ! path to the modified source file relative to the parent directory of the ! ChangeLog file. If there are more functions in the file, you should ! also include the name of the modified function (in parentheses after ! file path). Example: @example @group ! 2010-04-13 David Bateman ! * DLD-FUNCTIONS/regexp.cc (octregexp_list): Handle repeated matches ! in the list of matches returned by pcre. @end group @end example @noindent ! The ChangeLog entries should describe what is changed, not why. Any ! explanation of why a change is needed should appear as comments in the ! code, particularly if there is something that might not be obvious to ! someone reading it later. ! ! When submitting code which addresses a known bug on the Octave bug tracker ! (@url{http://bugs.octave.org}), please add '(bug #XXXXX)' to the ChangeLog ! and Mercurial commit messages. Example: @example @group ! 2011-03-29 Michael Creel ! ! * statistics/base/ols.m: Fix erroneous degrees of freedom when ! computing the covariance estimator (bug #32892). @end group @end example --- 138,187 ---- ## see . @end example ! Always include commit messages in changesets. After making your source ! changes, record and briefly describe the changes in your commit message. ! You should have previously configured your @file{.hgrc} (or ! @file{Mercurial.ini} on Windows) with your name and email, which will ! get automatically added to your commit message. Your commit message ! should have a brief one-line explanation of what the commit does. If you ! are patching a bug, this one-line explanation should mention the bug ! number at the end. If your change is small and only touches one file, ! this is typically sufficient. If you are modifying several files or ! several parts of one file, you should enumerate your changes roughly ! following the GNU coding standards on changelogs, like the following ! example: @example @group ! look for methods before constructors ! * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find): ! Look for class methods before constructors, contrary to Matlab ! documentation. ! ! * test/ctor-vs-method: New directory of test classes. ! * test/test_ctor_vs_method.m: New file. ! * test/Makefile.am: Include ctor-vs-method/module.mk. ! (FCN_FILES): Include test_ctor_vs_method.m in the list. @end group @end example @noindent ! In this example, the names of files is mentioned, and in parentheses the ! name of the function in that file that was modified. There is no need to ! mention the function for m-files that only contain one function. The ! commit message should describe what is changed, not why. Any explanation ! of why a change is needed should appear as comments in the code, ! particularly if there is something that might not be obvious to someone ! reading it later. ! ! When submitting code which addresses a known bug on the Octave bug ! tracker (@url{http://bugs.octave.org}), please add '(bug #XXXXX)' to the ! first line of the commit messages. For example: @example @group ! Fix bug for complex input for gradient (bug #34292). @end group @end example *************** *** 210,216 **** @end example @noindent ! but @example A([1:i-1;i+1:n], XI(:,2:n-1)) --- 220,226 ---- @end example @noindent ! but @example A([1:i-1;i+1:n], XI(:,2:n-1)) *************** *** 225,231 **** @code{endswitch}) rather than generic @code{end}. Enclose the @code{if}, @code{while}, @code{until} and @code{switch} ! conditions in parentheses, like in C: @example @group --- 235,241 ---- @code{endswitch}) rather than generic @code{end}. Enclose the @code{if}, @code{while}, @code{until} and @code{switch} ! conditions in parentheses, like in C: @example @group *************** *** 269,275 **** for both function definitions and function calls. Recommended indent is 2 spaces. When indenting, indent the statement ! after control structures (like @code{if}, @code{while}, etc.). If there is a compound statement, indent @emph{both} the curly braces and the body of the statement (so that the body gets indented by @emph{two} indents). Example: --- 279,285 ---- for both function definitions and function calls. Recommended indent is 2 spaces. When indenting, indent the statement ! after control structures (like @code{if}, @code{while}, etc.). If there is a compound statement, indent @emph{both} the curly braces and the body of the statement (so that the body gets indented by @emph{two} indents). Example: *************** *** 288,294 **** @noindent If you have nested @code{if} statements, use extra braces for extra ! clarification. Split long expressions in such a way that a continuation line starts with an operator rather than identifier. If the split occurs inside --- 298,304 ---- @noindent If you have nested @code{if} statements, use extra braces for extra ! clarification. Split long expressions in such a way that a continuation line starts with an operator rather than identifier. If the split occurs inside diff -cNr octave-3.4.2/doc/interpreter/contrib.txi octave-3.4.3/doc/interpreter/contrib.txi *** octave-3.4.2/doc/interpreter/contrib.txi 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/doc/interpreter/contrib.txi 2011-09-20 13:29:57.000000000 -0400 *************** *** 6,17 **** @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. ! @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. ! @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c . --- 6,17 ---- @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. ! @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. ! @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c . *************** *** 23,29 **** This chapter is dedicated to those who wish to contribute code to Octave. ! @menu * How to Contribute:: * General Guidelines:: * Octave Sources (m-files):: --- 23,29 ---- This chapter is dedicated to those who wish to contribute code to Octave. ! @menu * How to Contribute:: * General Guidelines:: * Octave Sources (m-files):: *************** *** 56,62 **** @example @group hg clone http://www.octave.org/hg/octave ! # make a local copy of the octave # source repository cd octave # change some sources@dots{} --- 56,62 ---- @example @group hg clone http://www.octave.org/hg/octave ! # make a local copy of the octave # source repository cd octave # change some sources@dots{} *************** *** 71,83 **** @end example You may want to get familiar with Mercurial queues to manage your ! changesets. Here is a slightly more complex example using Mercurial queues, where work on two unrelated changesets is done in parallel and ! one of the changesets is updated after discussion on the maintainers mailing ! list: @example ! hg qnew nasty_bug # create a new patch # change sources@dots{} hg qref # save the changes into the patch # change even more@dots{} --- 71,83 ---- @end example You may want to get familiar with Mercurial queues to manage your ! changesets. Here is a slightly more complex example using Mercurial queues, where work on two unrelated changesets is done in parallel and ! one of the changesets is updated after discussion on the maintainers ! mailing list: @example ! hg qnew nasty_bug # create a new patch # change sources@dots{} hg qref # save the changes into the patch # change even more@dots{} *************** *** 89,95 **** hg qpop # undo the application of the patch # and remove the changes from the # source tree ! hg qnew doc_improvements # create an unrelated patch # change doc sources@dots{} hg qref -m "could not find myfav.m in the doc" # save the changes into the patch --- 89,95 ---- hg qpop # undo the application of the patch # and remove the changes from the # source tree ! hg qnew doc_improvements # create an unrelated patch # change doc sources@dots{} hg qref -m "could not find myfav.m in the doc" # save the changes into the patch *************** *** 122,128 **** ## Octave is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; ! ## either version 3 of the License, or (at your option) any ## later version. ## ## Octave is distributed in the hope that it will be useful, --- 122,128 ---- ## Octave is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; ! ## either version 3 of the License, or (at your option) any ## later version. ## ## Octave is distributed in the hope that it will be useful, *************** *** 136,175 **** ## see . @end example ! Always include ChangeLog entries in changesets. After making your ! source changes, record and briefly describe the changes in the nearest ! ChangeLog file upwards in the directory tree. Use the previous entries ! as a template. Your entry should contain your name and email, and the ! path to the modified source file relative to the parent directory of the ! ChangeLog file. If there are more functions in the file, you should ! also include the name of the modified function (in parentheses after ! file path). Example: @example @group ! 2010-04-13 David Bateman ! * DLD-FUNCTIONS/regexp.cc (octregexp_list): Handle repeated matches ! in the list of matches returned by pcre. @end group @end example @noindent ! The ChangeLog entries should describe what is changed, not why. Any ! explanation of why a change is needed should appear as comments in the ! code, particularly if there is something that might not be obvious to ! someone reading it later. ! ! When submitting code which addresses a known bug on the Octave bug tracker ! (@url{http://bugs.octave.org}), please add '(bug #XXXXX)' to the ChangeLog ! and Mercurial commit messages. Example: @example @group ! 2011-03-29 Michael Creel ! ! * statistics/base/ols.m: Fix erroneous degrees of freedom when ! computing the covariance estimator (bug #32892). @end group @end example --- 136,185 ---- ## see . @end example ! Always include commit messages in changesets. After making your source ! changes, record and briefly describe the changes in your commit message. ! You should have previously configured your @file{.hgrc} (or ! @file{Mercurial.ini} on Windows) with your name and email, which will ! get automatically added to your commit message. Your commit message ! should have a brief one-line explanation of what the commit does. If you ! are patching a bug, this one-line explanation should mention the bug ! number at the end. If your change is small and only touches one file, ! this is typically sufficient. If you are modifying several files or ! several parts of one file, you should enumerate your changes roughly ! following the GNU coding standards on changelogs, like the following ! example: @example @group ! look for methods before constructors ! * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find): ! Look for class methods before constructors, contrary to Matlab ! documentation. ! ! * test/ctor-vs-method: New directory of test classes. ! * test/test_ctor_vs_method.m: New file. ! * test/Makefile.am: Include ctor-vs-method/module.mk. ! (FCN_FILES): Include test_ctor_vs_method.m in the list. @end group @end example @noindent ! In this example, the names of files is mentioned, and in parentheses the ! name of the function in that file that was modified. There is no need to ! mention the function for m-files that only contain one function. The ! commit message should describe what is changed, not why. Any explanation ! of why a change is needed should appear as comments in the code, ! particularly if there is something that might not be obvious to someone ! reading it later. ! ! When submitting code which addresses a known bug on the Octave bug ! tracker (@url{http://bugs.octave.org}), please add '(bug #XXXXX)' to the ! first line of the commit messages. For example: @example @group ! Fix bug for complex input for gradient (bug #34292). @end group @end example *************** *** 208,214 **** @end example @noindent ! but @example A([1:i-1;i+1:n], XI(:,2:n-1)) --- 218,224 ---- @end example @noindent ! but @example A([1:i-1;i+1:n], XI(:,2:n-1)) *************** *** 223,229 **** @code{endswitch}) rather than generic @code{end}. Enclose the @code{if}, @code{while}, @code{until} and @code{switch} ! conditions in parentheses, like in C: @example @group --- 233,239 ---- @code{endswitch}) rather than generic @code{end}. Enclose the @code{if}, @code{while}, @code{until} and @code{switch} ! conditions in parentheses, like in C: @example @group *************** *** 267,273 **** for both function definitions and function calls. Recommended indent is 2 spaces. When indenting, indent the statement ! after control structures (like @code{if}, @code{while}, etc.). If there is a compound statement, indent @emph{both} the curly braces and the body of the statement (so that the body gets indented by @emph{two} indents). Example: --- 277,283 ---- for both function definitions and function calls. Recommended indent is 2 spaces. When indenting, indent the statement ! after control structures (like @code{if}, @code{while}, etc.). If there is a compound statement, indent @emph{both} the curly braces and the body of the statement (so that the body gets indented by @emph{two} indents). Example: *************** *** 286,292 **** @noindent If you have nested @code{if} statements, use extra braces for extra ! clarification. Split long expressions in such a way that a continuation line starts with an operator rather than identifier. If the split occurs inside --- 296,302 ---- @noindent If you have nested @code{if} statements, use extra braces for extra ! clarification. Split long expressions in such a way that a continuation line starts with an operator rather than identifier. If the split occurs inside diff -cNr octave-3.4.2/doc/interpreter/convhull.eps octave-3.4.3/doc/interpreter/convhull.eps *** octave-3.4.2/doc/interpreter/convhull.eps 2011-06-02 16:45:04.000000000 -0400 --- octave-3.4.3/doc/interpreter/convhull.eps 2011-09-29 14:47:00.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: convhull.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:04 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: convhull.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:00 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:04 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:00 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/convhull.pdf and octave-3.4.3/doc/interpreter/convhull.pdf differ diff -cNr octave-3.4.2/doc/interpreter/data.texi octave-3.4.3/doc/interpreter/data.texi *** octave-3.4.2/doc/interpreter/data.texi 2011-06-21 12:33:51.000000000 -0400 --- octave-3.4.3/doc/interpreter/data.texi 2011-09-29 14:46:46.000000000 -0400 *************** *** 376,382 **** @example @group ! ndims (ones (4, 1, 2, 1) @result{} 3 @end group @end example --- 376,382 ---- @example @group ! ndims (ones (4, 1, 2, 1)) @result{} 3 @end group @end example *************** *** 411,416 **** --- 411,426 ---- @var{a}(@var{idx1}, @var{idx2}, @dots{}) @end example + Note that the indices do not have to be numerical. For example + + @example + @var{a} = 1; + @var{b} = ones (2, 3); + numel (@var{a}, @var{b}); + @end example + + will return 6, as this is the number of ways to index with @var{b}. + This method is also called when an object appears as lvalue with cs-list indexing, i.e., @code{object@{@dots{}@}} or @code{object(@dots{}).field}. @seealso{@ref{doc-size,,size}} diff -cNr octave-3.4.2/doc/interpreter/delaunay.eps octave-3.4.3/doc/interpreter/delaunay.eps *** octave-3.4.2/doc/interpreter/delaunay.eps 2011-06-02 16:45:06.000000000 -0400 --- octave-3.4.3/doc/interpreter/delaunay.eps 2011-09-29 14:47:01.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: delaunay.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:06 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: delaunay.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:01 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:06 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:01 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/delaunay.pdf and octave-3.4.3/doc/interpreter/delaunay.pdf differ diff -cNr octave-3.4.2/doc/interpreter/errorbar.eps octave-3.4.3/doc/interpreter/errorbar.eps *** octave-3.4.2/doc/interpreter/errorbar.eps 2011-06-02 16:45:16.000000000 -0400 --- octave-3.4.3/doc/interpreter/errorbar.eps 2011-09-29 14:47:09.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: errorbar.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:16 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: errorbar.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:09 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:16 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:09 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/errorbar.pdf and octave-3.4.3/doc/interpreter/errorbar.pdf differ diff -cNr octave-3.4.2/doc/interpreter/eval.texi octave-3.4.3/doc/interpreter/eval.texi *** octave-3.4.2/doc/interpreter/eval.texi 2011-06-21 12:33:52.000000000 -0400 --- octave-3.4.3/doc/interpreter/eval.texi 2011-09-29 14:46:47.000000000 -0400 *************** *** 128,139 **** @noindent calls the function @code{acos} with the argument @samp{-1}. ! The function @code{feval} is necessary in order to be able to write ! functions that call user-supplied functions, because Octave does not ! have a way to declare a pointer to a function (like C) or to declare a ! special kind of variable that can be used to hold the name of a function ! (like @code{EXTERNAL} in Fortran). Instead, you must refer to functions ! by name, and use @code{feval} to call them. @end deftypefn --- 128,153 ---- @noindent calls the function @code{acos} with the argument @samp{-1}. ! The function @code{feval} can also be used with function handles of ! any sort (@pxref{Function Handles}). Historically, @code{feval} was ! the only way to call user-supplied functions in strings, but ! function handles are now preferred due to the cleaner syntax they ! offer. For example, ! ! @example ! @group ! @var{f} = @@exp; ! feval (@var{f}, 1) ! @result{} 2.7183 ! @var{f} (1) ! @result{} 2.7183 ! @end group ! @end example ! ! @noindent ! are equivalent ways to call the function referred to by @var{f}. If it ! cannot be predicted beforehand that @var{f} is a function handle or the ! function name in a string, @code{feval} can be used instead. @end deftypefn diff -cNr octave-3.4.2/doc/interpreter/extended.eps octave-3.4.3/doc/interpreter/extended.eps *** octave-3.4.2/doc/interpreter/extended.eps 2011-06-02 16:45:20.000000000 -0400 --- octave-3.4.3/doc/interpreter/extended.eps 2011-09-29 14:47:12.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: extended.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:20 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: extended.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:12 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:20 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:12 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/extended.pdf and octave-3.4.3/doc/interpreter/extended.pdf differ diff -cNr octave-3.4.2/doc/interpreter/gplot.eps octave-3.4.3/doc/interpreter/gplot.eps *** octave-3.4.2/doc/interpreter/gplot.eps 2011-06-09 14:02:58.000000000 -0400 --- octave-3.4.3/doc/interpreter/gplot.eps 2011-09-29 14:47:13.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: gplot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 9 14:02:58 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: gplot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:13 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 9 14:02:58 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:13 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/gplot.pdf and octave-3.4.3/doc/interpreter/gplot.pdf differ diff -cNr octave-3.4.2/doc/interpreter/griddata.eps octave-3.4.3/doc/interpreter/griddata.eps *** octave-3.4.2/doc/interpreter/griddata.eps 2011-06-02 16:45:03.000000000 -0400 --- octave-3.4.3/doc/interpreter/griddata.eps 2011-09-29 14:46:59.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: griddata.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:03 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: griddata.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:46:59 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:03 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:46:59 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/griddata.pdf and octave-3.4.3/doc/interpreter/griddata.pdf differ diff -cNr octave-3.4.2/doc/interpreter/grid.eps octave-3.4.3/doc/interpreter/grid.eps *** octave-3.4.2/doc/interpreter/grid.eps 2011-06-09 14:03:03.000000000 -0400 --- octave-3.4.3/doc/interpreter/grid.eps 2011-09-29 14:47:17.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: grid.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 9 14:03:03 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: grid.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:16 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 9 14:03:03 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:16 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/grid.pdf and octave-3.4.3/doc/interpreter/grid.pdf differ diff -cNr octave-3.4.2/doc/interpreter/hist.eps octave-3.4.3/doc/interpreter/hist.eps *** octave-3.4.2/doc/interpreter/hist.eps 2011-06-02 16:45:15.000000000 -0400 --- octave-3.4.3/doc/interpreter/hist.eps 2011-09-29 14:47:08.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: hist.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:15 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: hist.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:08 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:15 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:08 2011) /DOCINFO pdfmark end } ifelse *************** *** 555,607 **** ] -66.7 MRshow 0.500 UL LTb ! 900 1280 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 1280 M [ [({}) 200.0 0.0 true true 0 (200)] ] -66.7 MRshow 0.500 UL LTb ! 900 2160 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 2160 M [ [({}) 200.0 0.0 true true 0 (400)] ] -66.7 MRshow 0.500 UL LTb ! 900 3039 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 3039 M [ [({}) 200.0 0.0 true true 0 (600)] ] -66.7 MRshow 0.500 UL LTb ! 900 3919 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 3919 M [ [({}) 200.0 0.0 true true 0 (800)] ] -66.7 MRshow 0.500 UL LTb 900 4799 M 88 0 V 5911 0 R -88 0 V stroke 0.00 0.00 0.00 C 780 4799 M ! [ [({}) 200.0 0.0 true true 0 (1000)] ] -66.7 MRshow 0.500 UL LTb --- 555,617 ---- ] -66.7 MRshow 0.500 UL LTb ! 900 1133 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 1133 M [ [({}) 200.0 0.0 true true 0 (200)] ] -66.7 MRshow 0.500 UL LTb ! 900 1866 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 1866 M [ [({}) 200.0 0.0 true true 0 (400)] ] -66.7 MRshow 0.500 UL LTb ! 900 2600 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 2600 M [ [({}) 200.0 0.0 true true 0 (600)] ] -66.7 MRshow 0.500 UL LTb ! 900 3333 M 88 0 V 5911 0 R -88 0 V stroke ! 0.00 0.00 0.00 C 780 3333 M [ [({}) 200.0 0.0 true true 0 (800)] ] -66.7 MRshow 0.500 UL LTb + 900 4066 M + 88 0 V + 5911 0 R + -88 0 V + stroke + 0.00 0.00 0.00 C 780 4066 M + [ [({}) 200.0 0.0 true true 0 (1000)] + ] -66.7 MRshow + 0.500 UL + LTb 900 4799 M 88 0 V 5911 0 R -88 0 V stroke 0.00 0.00 0.00 C 780 4799 M ! [ [({}) 200.0 0.0 true true 0 (1200)] ] -66.7 MRshow 0.500 UL LTb *************** *** 615,687 **** ] -66.7 MCshow 0.500 UL LTb ! 1650 400 M ! 0 88 V ! 0 4311 R ! 0 -88 V ! stroke ! 0.00 0.00 0.00 C 1650 200 M ! [ [({}) 200.0 0.0 true true 0 (-3)] ! ] -66.7 MCshow ! 0.500 UL ! LTb ! 2400 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 2400 200 M [ [({}) 200.0 0.0 true true 0 (-2)] ] -66.7 MCshow 0.500 UL LTb ! 3150 400 M ! 0 88 V ! 0 4311 R ! 0 -88 V ! stroke ! 0.00 0.00 0.00 C 3150 200 M ! [ [({}) 200.0 0.0 true true 0 (-1)] ! ] -66.7 MCshow ! 0.500 UL ! LTb ! 3900 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 3900 200 M [ [({}) 200.0 0.0 true true 0 (0)] ] -66.7 MCshow 0.500 UL LTb ! 4649 400 M ! 0 88 V ! 0 4311 R ! 0 -88 V ! stroke ! 0.00 0.00 0.00 C 4649 200 M ! [ [({}) 200.0 0.0 true true 0 (1)] ! ] -66.7 MCshow ! 0.500 UL ! LTb ! 5399 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 5399 200 M [ [({}) 200.0 0.0 true true 0 (2)] ] -66.7 MCshow 0.500 UL LTb ! 6149 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 6149 200 M ! [ [({}) 200.0 0.0 true true 0 (3)] ] -66.7 MCshow 0.500 UL LTb --- 625,667 ---- ] -66.7 MCshow 0.500 UL LTb ! 2100 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 2100 200 M [ [({}) 200.0 0.0 true true 0 (-2)] ] -66.7 MCshow 0.500 UL LTb ! 3300 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 3300 200 M [ [({}) 200.0 0.0 true true 0 (0)] ] -66.7 MCshow 0.500 UL LTb ! 4499 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 4499 200 M [ [({}) 200.0 0.0 true true 0 (2)] ] -66.7 MCshow 0.500 UL LTb ! 5699 400 M 0 88 V 0 4311 R 0 -88 V stroke ! 0.00 0.00 0.00 C 5699 200 M ! [ [({}) 200.0 0.0 true true 0 (4)] ] -66.7 MCshow 0.500 UL LTb *************** *** 691,697 **** 0 -88 V stroke 0.00 0.00 0.00 C 6899 200 M ! [ [({}) 200.0 0.0 true true 0 (4)] ] -66.7 MCshow 0.500 UL LTb --- 671,677 ---- 0 -88 V stroke 0.00 0.00 0.00 C 6899 200 M ! [ [({}) 200.0 0.0 true true 0 (6)] ] -66.7 MCshow 0.500 UL LTb *************** *** 709,1309 **** % Begin plot #1 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 942 400 N 0 0 V 0 4 V 184 0 V 0 -4 V 1 PolyFill ! 942 400 M ! 0 4 V ! 184 0 V ! 0 -4 V % End plot #1 % Begin plot #2 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 942 400 M ! 0 4 V ! 184 0 V ! 0 -4 V ! -184 0 V % End plot #2 % Begin plot #3 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 1126 400 N 0 0 V 0 9 V 183 0 V 0 -9 V 1 PolyFill ! 1126 400 M ! 0 9 V ! 183 0 V ! 0 -9 V % End plot #3 % Begin plot #4 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1126 400 M ! 0 9 V ! 183 0 V ! 0 -9 V ! -183 0 V % End plot #4 % Begin plot #5 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 1309 400 N 0 0 V 0 18 V 183 0 V 0 -18 V 1 PolyFill ! 1309 400 M ! 0 18 V ! 183 0 V ! 0 -18 V % End plot #5 % Begin plot #6 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1309 400 M ! 0 18 V ! 183 0 V ! 0 -18 V ! -183 0 V % End plot #6 % Begin plot #7 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 1492 400 N 0 0 V 0 22 V 183 0 V 0 -22 V 1 PolyFill ! 1492 400 M ! 0 22 V ! 183 0 V ! 0 -22 V % End plot #7 % Begin plot #8 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1492 400 M ! 0 22 V ! 183 0 V ! 0 -22 V ! -183 0 V % End plot #8 % Begin plot #9 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 1675 400 N 0 0 V 0 88 V 184 0 V 0 -88 V 1 PolyFill ! 1675 400 M ! 0 88 V ! 184 0 V ! 0 -88 V % End plot #9 % Begin plot #10 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1675 400 M ! 0 88 V ! 184 0 V ! 0 -88 V ! -184 0 V % End plot #10 % Begin plot #11 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 1859 400 N 0 0 V 0 136 V 183 0 V 0 -136 V 1 PolyFill ! 1859 400 M ! 0 136 V ! 183 0 V ! 0 -136 V % End plot #11 % Begin plot #12 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1859 400 M ! 0 136 V ! 183 0 V ! 0 -136 V ! -183 0 V % End plot #12 % Begin plot #13 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 2042 400 N 0 0 V 0 251 V 183 0 V 0 -251 V 1 PolyFill ! 2042 400 M ! 0 251 V ! 183 0 V ! 0 -251 V % End plot #13 % Begin plot #14 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2042 400 M ! 0 251 V ! 183 0 V ! 0 -251 V ! -183 0 V % End plot #14 % Begin plot #15 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 2225 400 N 0 0 V 0 510 V 183 0 V 0 -510 V 1 PolyFill ! 2225 400 M ! 0 510 V ! 183 0 V ! 0 -510 V % End plot #15 % Begin plot #16 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2225 400 M ! 0 510 V ! 183 0 V ! 0 -510 V ! -183 0 V % End plot #16 % Begin plot #17 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 2408 400 N 0 0 V 0 664 V 184 0 V 0 -664 V 1 PolyFill ! 2408 400 M ! 0 664 V ! 184 0 V ! 0 -664 V % End plot #17 % Begin plot #18 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2408 400 M ! 0 664 V ! 184 0 V ! 0 -664 V ! -184 0 V % End plot #18 % Begin plot #19 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 2592 400 N 0 0 V 0 1104 V 183 0 V 0 -1104 V 1 PolyFill ! 2592 400 M ! 0 1104 V ! 183 0 V ! 0 -1104 V % End plot #19 % Begin plot #20 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2592 400 M ! 0 1104 V ! 183 0 V ! 0 -1104 V ! -183 0 V % End plot #20 % Begin plot #21 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 2775 400 N 0 0 V 0 1716 V 183 0 V 0 -1716 V 1 PolyFill ! 2775 400 M ! 0 1716 V ! 183 0 V ! 0 -1716 V % End plot #21 % Begin plot #22 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2775 400 M ! 0 1716 V ! 183 0 V ! 0 -1716 V ! -183 0 V % End plot #22 % Begin plot #23 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 2958 400 N 0 0 V 0 2274 V 183 0 V 0 -2274 V 1 PolyFill ! 2958 400 M ! 0 2274 V ! 183 0 V ! 0 -2274 V % End plot #23 % Begin plot #24 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2958 400 M ! 0 2274 V ! 183 0 V ! 0 -2274 V ! -183 0 V % End plot #24 % Begin plot #25 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 3141 400 N 0 0 V 0 3079 V 184 0 V 0 -3079 V 1 PolyFill ! 3141 400 M ! 0 3079 V ! 184 0 V ! 0 -3079 V % End plot #25 % Begin plot #26 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3141 400 M ! 0 3079 V ! 184 0 V ! 0 -3079 V ! -184 0 V % End plot #26 % Begin plot #27 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 3325 400 N 0 0 V 0 3414 V 183 0 V 0 -3414 V 1 PolyFill ! 3325 400 M ! 0 3414 V ! 183 0 V ! 0 -3414 V % End plot #27 % Begin plot #28 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3325 400 M ! 0 3414 V ! 183 0 V ! 0 -3414 V ! -183 0 V % End plot #28 % Begin plot #29 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 3508 400 N 0 0 V 0 4025 V 183 0 V 0 -4025 V 1 PolyFill ! 3508 400 M ! 0 4025 V ! 183 0 V ! 0 -4025 V % End plot #29 % Begin plot #30 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3508 400 M ! 0 4025 V ! 183 0 V ! 0 -4025 V ! -183 0 V % End plot #30 % Begin plot #31 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 3691 400 N 0 0 V 0 3942 V 183 0 V 0 -3942 V 1 PolyFill ! 3691 400 M ! 0 3942 V ! 183 0 V ! 0 -3942 V % End plot #31 % Begin plot #32 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3691 400 M ! 0 3942 V ! 183 0 V ! 0 -3942 V ! -183 0 V % End plot #32 % Begin plot #33 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 3874 400 N 0 0 V 0 4285 V 184 0 V 0 -4285 V 1 PolyFill ! 3874 400 M ! 0 4285 V ! 184 0 V ! 0 -4285 V % End plot #33 % Begin plot #34 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3874 400 M ! 0 4285 V ! 184 0 V ! 0 -4285 V ! -184 0 V % End plot #34 % Begin plot #35 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 4058 400 N 0 0 V 0 3906 V 183 0 V 0 -3906 V 1 PolyFill ! 4058 400 M ! 0 3906 V ! 183 0 V ! 0 -3906 V % End plot #35 % Begin plot #36 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4058 400 M ! 0 3906 V ! 183 0 V ! 0 -3906 V ! -183 0 V % End plot #36 % Begin plot #37 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 4241 400 N 0 0 V 0 3634 V 183 0 V 0 -3634 V 1 PolyFill ! 4241 400 M ! 0 3634 V ! 183 0 V ! 0 -3634 V % End plot #37 % Begin plot #38 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4241 400 M ! 0 3634 V ! 183 0 V ! 0 -3634 V ! -183 0 V % End plot #38 % Begin plot #39 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 4424 400 N 0 0 V 0 3145 V 183 0 V 0 -3145 V 1 PolyFill ! 4424 400 M ! 0 3145 V ! 183 0 V ! 0 -3145 V % End plot #39 % Begin plot #40 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4424 400 M ! 0 3145 V ! 183 0 V ! 0 -3145 V ! -183 0 V % End plot #40 % Begin plot #41 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 4607 400 N 0 0 V 0 2362 V 184 0 V 0 -2362 V 1 PolyFill ! 4607 400 M ! 0 2362 V ! 184 0 V ! 0 -2362 V % End plot #41 % Begin plot #42 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4607 400 M ! 0 2362 V ! 184 0 V ! 0 -2362 V ! -184 0 V % End plot #42 % Begin plot #43 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 4791 400 N 0 0 V 0 1711 V 183 0 V 0 -1711 V 1 PolyFill ! 4791 400 M ! 0 1711 V ! 183 0 V ! 0 -1711 V % End plot #43 % Begin plot #44 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4791 400 M ! 0 1711 V ! 183 0 V ! 0 -1711 V ! -183 0 V % End plot #44 % Begin plot #45 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 4974 400 N 0 0 V 0 1377 V 183 0 V 0 -1377 V 1 PolyFill ! 4974 400 M ! 0 1377 V ! 183 0 V ! 0 -1377 V % End plot #45 % Begin plot #46 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4974 400 M ! 0 1377 V ! 183 0 V ! 0 -1377 V ! -183 0 V % End plot #46 % Begin plot #47 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 5157 400 N 0 0 V 0 1021 V 183 0 V 0 -1021 V 1 PolyFill ! 5157 400 M ! 0 1021 V ! 183 0 V ! 0 -1021 V % End plot #47 % Begin plot #48 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5157 400 M ! 0 1021 V ! 183 0 V ! 0 -1021 V ! -183 0 V % End plot #48 % Begin plot #49 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 5340 400 N 0 0 V 0 541 V 184 0 V 0 -541 V 1 PolyFill ! 5340 400 M ! 0 541 V ! 184 0 V ! 0 -541 V % End plot #49 % Begin plot #50 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5340 400 M ! 0 541 V ! 184 0 V ! 0 -541 V ! -184 0 V % End plot #50 % Begin plot #51 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 5524 400 N 0 0 V 0 370 V 183 0 V 0 -370 V 1 PolyFill ! 5524 400 M ! 0 370 V ! 183 0 V ! 0 -370 V % End plot #51 % Begin plot #52 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5524 400 M ! 0 370 V ! 183 0 V ! 0 -370 V ! -183 0 V % End plot #52 % Begin plot #53 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 5707 400 N 0 0 V 0 207 V 183 0 V 0 -207 V 1 PolyFill ! 5707 400 M ! 0 207 V ! 183 0 V ! 0 -207 V % End plot #53 % Begin plot #54 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5707 400 M ! 0 207 V ! 183 0 V ! 0 -207 V ! -183 0 V % End plot #54 % Begin plot #55 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 5890 400 N 0 0 V 0 88 V 183 0 V 0 -88 V 1 PolyFill ! 5890 400 M ! 0 88 V ! 183 0 V ! 0 -88 V % End plot #55 % Begin plot #56 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5890 400 M ! 0 88 V ! 183 0 V ! 0 -88 V ! -183 0 V % End plot #56 % Begin plot #57 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 6073 400 N 0 0 V 0 62 V 183 0 V 0 -62 V 1 PolyFill ! 6073 400 M ! 0 62 V ! 183 0 V ! 0 -62 V % End plot #57 % Begin plot #58 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 6073 400 M ! 0 62 V ! 183 0 V ! 0 -62 V ! -183 0 V % End plot #58 % Begin plot #59 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 6256 400 N 0 0 V 0 26 V 184 0 V 0 -26 V 1 PolyFill ! 6256 400 M ! 0 26 V ! 184 0 V ! 0 -26 V % End plot #59 % Begin plot #60 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 6256 400 M ! 0 26 V ! 184 0 V ! 0 -26 V ! -184 0 V % End plot #60 % Begin plot #61 stroke --- 689,1285 ---- % Begin plot #1 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 960 400 N 0 0 V 0 11 V 165 0 V 0 -11 V 1 PolyFill ! 960 400 M ! 0 11 V ! 165 0 V ! 0 -11 V % End plot #1 % Begin plot #2 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 960 400 M ! 0 11 V ! 165 0 V ! 0 -11 V ! -165 0 V % End plot #2 % Begin plot #3 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 1125 400 N 0 0 V 0 15 V 165 0 V 0 -15 V 1 PolyFill ! 1125 400 M ! 0 15 V ! 165 0 V ! 0 -15 V % End plot #3 % Begin plot #4 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1125 400 M ! 0 15 V ! 165 0 V ! 0 -15 V ! -165 0 V % End plot #4 % Begin plot #5 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 1290 400 N 0 0 V 0 26 V 165 0 V 0 -26 V 1 PolyFill ! 1290 400 M ! 0 26 V ! 165 0 V ! 0 -26 V % End plot #5 % Begin plot #6 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1290 400 M ! 0 26 V ! 165 0 V ! 0 -26 V ! -165 0 V % End plot #6 % Begin plot #7 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 1455 400 N 0 0 V 0 40 V 165 0 V 0 -40 V 1 PolyFill ! 1455 400 M ! 0 40 V ! 165 0 V ! 0 -40 V % End plot #7 % Begin plot #8 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1455 400 M ! 0 40 V ! 165 0 V ! 0 -40 V ! -165 0 V % End plot #8 % Begin plot #9 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 1620 400 N 0 0 V 0 103 V 165 0 V 0 -103 V 1 PolyFill ! 1620 400 M ! 0 103 V ! 165 0 V ! 0 -103 V % End plot #9 % Begin plot #10 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1620 400 M ! 0 103 V ! 165 0 V ! 0 -103 V ! -165 0 V % End plot #10 % Begin plot #11 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 1785 400 N 0 0 V 0 260 V 165 0 V 0 -260 V 1 PolyFill ! 1785 400 M ! 0 260 V ! 165 0 V ! 0 -260 V % End plot #11 % Begin plot #12 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1785 400 M ! 0 260 V ! 165 0 V ! 0 -260 V ! -165 0 V % End plot #12 % Begin plot #13 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 1950 400 N 0 0 V 0 418 V 165 0 V 0 -418 V 1 PolyFill ! 1950 400 M ! 0 418 V ! 165 0 V ! 0 -418 V % End plot #13 % Begin plot #14 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 1950 400 M ! 0 418 V ! 165 0 V ! 0 -418 V ! -165 0 V % End plot #14 % Begin plot #15 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 2115 400 N 0 0 V 0 686 V 165 0 V 0 -686 V 1 PolyFill ! 2115 400 M ! 0 686 V ! 165 0 V ! 0 -686 V % End plot #15 % Begin plot #16 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2115 400 M ! 0 686 V ! 165 0 V ! 0 -686 V ! -165 0 V % End plot #16 % Begin plot #17 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 2280 400 N 0 0 V 0 1177 V 165 0 V 0 -1177 V 1 PolyFill ! 2280 400 M ! 0 1177 V ! 165 0 V ! 0 -1177 V % End plot #17 % Begin plot #18 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2280 400 M ! 0 1177 V ! 165 0 V ! 0 -1177 V ! -165 0 V % End plot #18 % Begin plot #19 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 2445 400 N 0 0 V 0 1877 V 165 0 V 0 -1877 V 1 PolyFill ! 2445 400 M ! 0 1877 V ! 165 0 V ! 0 -1877 V % End plot #19 % Begin plot #20 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2445 400 M ! 0 1877 V ! 165 0 V ! 0 -1877 V ! -165 0 V % End plot #20 % Begin plot #21 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 2610 400 N 0 0 V 0 2298 V 165 0 V 0 -2298 V 1 PolyFill ! 2610 400 M ! 0 2298 V ! 165 0 V ! 0 -2298 V % End plot #21 % Begin plot #22 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2610 400 M ! 0 2298 V ! 165 0 V ! 0 -2298 V ! -165 0 V % End plot #22 % Begin plot #23 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 2775 400 N 0 0 V 0 3017 V 165 0 V 0 -3017 V 1 PolyFill ! 2775 400 M ! 0 3017 V ! 165 0 V ! 0 -3017 V % End plot #23 % Begin plot #24 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2775 400 M ! 0 3017 V ! 165 0 V ! 0 -3017 V ! -165 0 V % End plot #24 % Begin plot #25 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 2940 400 N 0 0 V 0 3505 V 165 0 V 0 -3505 V 1 PolyFill ! 2940 400 M ! 0 3505 V ! 165 0 V ! 0 -3505 V % End plot #25 % Begin plot #26 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 2940 400 M ! 0 3505 V ! 165 0 V ! 0 -3505 V ! -165 0 V % End plot #26 % Begin plot #27 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 3105 400 N 0 0 V 0 4003 V 165 0 V 0 -4003 V 1 PolyFill ! 3105 400 M ! 0 4003 V ! 165 0 V ! 0 -4003 V % End plot #27 % Begin plot #28 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3105 400 M ! 0 4003 V ! 165 0 V ! 0 -4003 V ! -165 0 V % End plot #28 % Begin plot #29 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 3270 400 N 0 0 V 0 3922 V 165 0 V 0 -3922 V 1 PolyFill ! 3270 400 M ! 0 3922 V ! 165 0 V ! 0 -3922 V % End plot #29 % Begin plot #30 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3270 400 M ! 0 3922 V ! 165 0 V ! 0 -3922 V ! -165 0 V % End plot #30 % Begin plot #31 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 3435 400 N 0 0 V 0 3776 V 165 0 V 0 -3776 V 1 PolyFill ! 3435 400 M ! 0 3776 V ! 165 0 V ! 0 -3776 V % End plot #31 % Begin plot #32 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3435 400 M ! 0 3776 V ! 165 0 V ! 0 -3776 V ! -165 0 V % End plot #32 % Begin plot #33 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 3600 400 N 0 0 V 0 3281 V 165 0 V 0 -3281 V 1 PolyFill ! 3600 400 M ! 0 3281 V ! 165 0 V ! 0 -3281 V % End plot #33 % Begin plot #34 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3600 400 M ! 0 3281 V ! 165 0 V ! 0 -3281 V ! -165 0 V % End plot #34 % Begin plot #35 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 3765 400 N 0 0 V 0 2687 V 165 0 V 0 -2687 V 1 PolyFill ! 3765 400 M ! 0 2687 V ! 165 0 V ! 0 -2687 V % End plot #35 % Begin plot #36 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3765 400 M ! 0 2687 V ! 165 0 V ! 0 -2687 V ! -165 0 V % End plot #36 % Begin plot #37 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 3930 400 N 0 0 V 0 2020 V 165 0 V 0 -2020 V 1 PolyFill ! 3930 400 M ! 0 2020 V ! 165 0 V ! 0 -2020 V % End plot #37 % Begin plot #38 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 3930 400 M ! 0 2020 V ! 165 0 V ! 0 -2020 V ! -165 0 V % End plot #38 % Begin plot #39 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 4095 400 N 0 0 V 0 1474 V 165 0 V 0 -1474 V 1 PolyFill ! 4095 400 M ! 0 1474 V ! 165 0 V ! 0 -1474 V % End plot #39 % Begin plot #40 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4095 400 M ! 0 1474 V ! 165 0 V ! 0 -1474 V ! -165 0 V % End plot #40 % Begin plot #41 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 4260 400 N 0 0 V 0 872 V 165 0 V 0 -872 V 1 PolyFill ! 4260 400 M ! 0 872 V ! 165 0 V ! 0 -872 V % End plot #41 % Begin plot #42 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4260 400 M ! 0 872 V ! 165 0 V ! 0 -872 V ! -165 0 V % End plot #42 % Begin plot #43 stroke 1.000 UL LT6 ! 0.00 0.00 0.50 C gsave 4425 400 N 0 0 V 0 543 V 165 0 V 0 -543 V 1 PolyFill ! 4425 400 M ! 0 543 V ! 165 0 V ! 0 -543 V % End plot #43 % Begin plot #44 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4425 400 M ! 0 543 V ! 165 0 V ! 0 -543 V ! -165 0 V % End plot #44 % Begin plot #45 stroke 1.000 UL LT8 ! 0.00 0.00 0.50 C gsave 4590 400 N 0 0 V 0 319 V 165 0 V 0 -319 V 1 PolyFill ! 4590 400 M ! 0 319 V ! 165 0 V ! 0 -319 V % End plot #45 % Begin plot #46 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4590 400 M ! 0 319 V ! 165 0 V ! 0 -319 V ! -165 0 V % End plot #46 % Begin plot #47 stroke 1.000 UL LT1 ! 0.00 0.00 0.50 C gsave 4755 400 N 0 0 V 0 187 V 165 0 V 0 -187 V 1 PolyFill ! 4755 400 M ! 0 187 V ! 165 0 V ! 0 -187 V % End plot #47 % Begin plot #48 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4755 400 M ! 0 187 V ! 165 0 V ! 0 -187 V ! -165 0 V % End plot #48 % Begin plot #49 stroke 1.000 UL LT3 ! 0.00 0.00 0.50 C gsave 4920 400 N 0 0 V 0 92 V 165 0 V 0 -92 V 1 PolyFill ! 4920 400 M ! 0 92 V ! 165 0 V ! 0 -92 V % End plot #49 % Begin plot #50 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 4920 400 M ! 0 92 V ! 165 0 V ! 0 -92 V ! -165 0 V % End plot #50 % Begin plot #51 stroke 1.000 UL LT5 ! 0.00 0.00 0.50 C gsave 5085 400 N 0 0 V 0 29 V 165 0 V 0 -29 V 1 PolyFill ! 5085 400 M ! 0 29 V ! 165 0 V ! 0 -29 V % End plot #51 % Begin plot #52 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5085 400 M ! 0 29 V ! 165 0 V ! 0 -29 V ! -165 0 V % End plot #52 % Begin plot #53 stroke 1.000 UL LT7 ! 0.00 0.00 0.50 C gsave 5250 400 N 0 0 V 0 7 V 165 0 V 0 -7 V 1 PolyFill ! 5250 400 M ! 0 7 V ! 165 0 V ! 0 -7 V % End plot #53 % Begin plot #54 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5250 400 M ! 0 7 V ! 165 0 V ! 0 -7 V ! -165 0 V % End plot #54 % Begin plot #55 stroke 1.000 UL LT0 ! 0.00 0.00 0.50 C gsave 5415 400 N 0 0 V 0 11 V 165 0 V 0 -11 V 1 PolyFill ! 5415 400 M ! 0 11 V ! 165 0 V ! 0 -11 V % End plot #55 % Begin plot #56 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5415 400 M ! 0 11 V ! 165 0 V ! 0 -11 V ! -165 0 V % End plot #56 % Begin plot #57 stroke 1.000 UL LT2 ! 0.00 0.00 0.50 C gsave 5580 400 N 0 0 V 0 0 V 165 0 V 0 0 V 1 PolyFill ! 5580 400 M ! 165 0 V % End plot #57 % Begin plot #58 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5580 400 M ! 165 0 V ! -165 0 V % End plot #58 % Begin plot #59 stroke 1.000 UL LT4 ! 0.00 0.00 0.50 C gsave 5745 400 N 0 0 V 0 4 V 165 0 V 0 -4 V 1 PolyFill ! 5745 400 M ! 0 4 V ! 165 0 V ! 0 -4 V % End plot #59 % Begin plot #60 stroke 0.500 UL LT0 ! 0.00 0.00 0.00 C 5745 400 M ! 0 4 V ! 165 0 V ! 0 -4 V ! -165 0 V % End plot #60 % Begin plot #61 stroke Binary files octave-3.4.2/doc/interpreter/hist.pdf and octave-3.4.3/doc/interpreter/hist.pdf differ Binary files octave-3.4.2/doc/interpreter/hist.png and octave-3.4.3/doc/interpreter/hist.png differ diff -cNr octave-3.4.2/doc/interpreter/inpolygon.eps octave-3.4.3/doc/interpreter/inpolygon.eps *** octave-3.4.2/doc/interpreter/inpolygon.eps 2011-06-02 16:45:07.000000000 -0400 --- octave-3.4.3/doc/interpreter/inpolygon.eps 2011-09-29 14:47:02.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: inpolygon.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:07 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: inpolygon.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:02 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:07 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:02 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/inpolygon.pdf and octave-3.4.3/doc/interpreter/inpolygon.pdf differ diff -cNr octave-3.4.2/doc/interpreter/interpderiv1.eps octave-3.4.3/doc/interpreter/interpderiv1.eps *** octave-3.4.2/doc/interpreter/interpderiv1.eps 2011-06-02 16:45:11.000000000 -0400 --- octave-3.4.3/doc/interpreter/interpderiv1.eps 2011-09-29 14:47:05.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpderiv1.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:11 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpderiv1.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:05 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:11 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:05 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/interpderiv1.pdf and octave-3.4.3/doc/interpreter/interpderiv1.pdf differ diff -cNr octave-3.4.2/doc/interpreter/interpderiv2.eps octave-3.4.3/doc/interpreter/interpderiv2.eps *** octave-3.4.2/doc/interpreter/interpderiv2.eps 2011-06-02 16:45:13.000000000 -0400 --- octave-3.4.3/doc/interpreter/interpderiv2.eps 2011-09-29 14:47:06.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpderiv2.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:13 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpderiv2.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:06 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:13 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:06 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/interpderiv2.pdf and octave-3.4.3/doc/interpreter/interpderiv2.pdf differ diff -cNr octave-3.4.2/doc/interpreter/interpft.eps octave-3.4.3/doc/interpreter/interpft.eps *** octave-3.4.2/doc/interpreter/interpft.eps 2011-06-02 16:45:09.000000000 -0400 --- octave-3.4.3/doc/interpreter/interpft.eps 2011-09-29 14:47:03.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpft.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:09 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpft.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:03 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:09 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:03 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/interpft.pdf and octave-3.4.3/doc/interpreter/interpft.pdf differ diff -cNr octave-3.4.2/doc/interpreter/interpn.eps octave-3.4.3/doc/interpreter/interpn.eps *** octave-3.4.2/doc/interpreter/interpn.eps 2011-06-02 16:45:10.000000000 -0400 --- octave-3.4.3/doc/interpreter/interpn.eps 2011-09-29 14:47:04.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpn.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:10 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: interpn.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:04 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:10 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:04 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/interpn.pdf and octave-3.4.3/doc/interpreter/interpn.pdf differ diff -cNr octave-3.4.2/doc/interpreter/io.texi octave-3.4.3/doc/interpreter/io.texi *** octave-3.4.2/doc/interpreter/io.texi 2011-06-21 12:33:53.000000000 -0400 --- octave-3.4.3/doc/interpreter/io.texi 2011-09-29 14:46:49.000000000 -0400 *************** *** 1934,1944 **** @c sscanf src/file-io.cc @anchor{doc-sscanf} ! @deftypefn {Built-in Function} {[@var{val}, @var{count}] =} sscanf (@var{string}, @var{template}, @var{size}) @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, "C") This is like @code{fscanf}, except that the characters are taken from the string @var{string} instead of from a stream. Reaching the end of the ! string is treated as an end-of-file condition. @seealso{@ref{doc-fscanf,,fscanf}, @ref{doc-scanf,,scanf}, @ref{doc-sprintf,,sprintf}} @end deftypefn --- 1934,1946 ---- @c sscanf src/file-io.cc @anchor{doc-sscanf} ! @deftypefn {Built-in Function} {[@var{val}, @var{count}, @var{pos}] =} sscanf (@var{string}, @var{template}, @var{size}) @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, "C") This is like @code{fscanf}, except that the characters are taken from the string @var{string} instead of from a stream. Reaching the end of the ! string is treated as an end-of-file condition. In addition to the values ! returned by @code{fscanf}, the index of the next character to be read ! is returned in in @var{pos}. @seealso{@ref{doc-fscanf,,fscanf}, @ref{doc-scanf,,scanf}, @ref{doc-sprintf,,sprintf}} @end deftypefn diff -cNr octave-3.4.2/doc/interpreter/linalg.texi octave-3.4.3/doc/interpreter/linalg.texi *** octave-3.4.2/doc/interpreter/linalg.texi 2011-06-21 12:33:53.000000000 -0400 --- octave-3.4.3/doc/interpreter/linalg.texi 2011-09-29 14:46:49.000000000 -0400 *************** *** 1177,1184 **** @c schur src/DLD-FUNCTIONS/schur.cc @anchor{doc-schur} @deftypefn {Loadable Function} {@var{S} =} schur (@var{A}) @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "complex") ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @var{opt}) @cindex Schur decomposition Compute the Schur@tie{}decomposition of @var{A} @tex --- 1177,1186 ---- @c schur src/DLD-FUNCTIONS/schur.cc @anchor{doc-schur} @deftypefn {Loadable Function} {@var{S} =} schur (@var{A}) + @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "real") @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "complex") ! @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, @var{opt}) ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @dots{}) @cindex Schur decomposition Compute the Schur@tie{}decomposition of @var{A} @tex *************** *** 1221,1227 **** @end ifnottex blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}. ! A complex decomposition may be forced by passing "complex" as @var{opt}. The eigenvalues are optionally ordered along the diagonal according to the value of @var{opt}. @code{@var{opt} = "a"} indicates that all --- 1223,1230 ---- @end ifnottex blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}. ! The default for real matrices is a real Schur@tie{}decomposition. ! A complex decomposition may be forced by passing the flag "complex". The eigenvalues are optionally ordered along the diagonal according to the value of @var{opt}. @code{@var{opt} = "a"} indicates that all diff -cNr octave-3.4.2/doc/interpreter/Makefile.in octave-3.4.3/doc/interpreter/Makefile.in *** octave-3.4.2/doc/interpreter/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/doc/interpreter/Makefile.in 2011-10-10 10:24:11.000000000 -0400 *************** *** 69,91 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 69,93 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 95,143 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 97,152 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 353,364 **** --- 362,376 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 370,377 **** --- 382,394 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 390,395 **** --- 407,413 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 479,484 **** --- 497,504 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 486,500 **** --- 506,524 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 504,509 **** --- 528,534 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 637,642 **** --- 662,668 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 648,653 **** --- 674,680 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 678,683 **** --- 705,711 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 691,696 **** --- 719,725 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 701,708 **** --- 730,741 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 750,772 **** --- 783,814 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 784,791 **** --- 826,835 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 895,900 **** --- 939,945 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 923,934 **** --- 968,981 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 945,956 **** --- 992,1005 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1018,1023 **** --- 1067,1073 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1083,1090 **** --- 1133,1143 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1122,1127 **** --- 1175,1181 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/doc/interpreter/matrix.texi octave-3.4.3/doc/interpreter/matrix.texi *** octave-3.4.2/doc/interpreter/matrix.texi 2011-06-21 12:33:54.000000000 -0400 --- octave-3.4.3/doc/interpreter/matrix.texi 2011-09-29 14:46:49.000000000 -0400 *************** *** 364,369 **** --- 364,372 ---- @end deftypefn + If you wish to check if a variable exists at all, instead of properties + its elements may have, consult @ref{Status of Variables}. + @node Rearranging Matrices @section Rearranging Matrices diff -cNr octave-3.4.2/doc/interpreter/matrix.txi octave-3.4.3/doc/interpreter/matrix.txi *** octave-3.4.2/doc/interpreter/matrix.txi 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/doc/interpreter/matrix.txi 2011-09-01 09:39:18.000000000 -0400 *************** *** 81,86 **** --- 81,89 ---- @DOCSTRING(lookup) + If you wish to check if a variable exists at all, instead of properties + its elements may have, consult @ref{Status of Variables}. + @node Rearranging Matrices @section Rearranging Matrices diff -cNr octave-3.4.2/doc/interpreter/mesh.eps octave-3.4.3/doc/interpreter/mesh.eps *** octave-3.4.2/doc/interpreter/mesh.eps 2011-06-02 16:45:18.000000000 -0400 --- octave-3.4.3/doc/interpreter/mesh.eps 2011-09-29 14:47:11.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: mesh.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:18 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: mesh.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:11 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:18 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:11 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/mesh.pdf and octave-3.4.3/doc/interpreter/mesh.pdf differ diff -cNr octave-3.4.2/doc/interpreter/numbers.texi octave-3.4.3/doc/interpreter/numbers.texi *** octave-3.4.2/doc/interpreter/numbers.texi 2011-06-21 12:33:54.000000000 -0400 --- octave-3.4.3/doc/interpreter/numbers.texi 2011-09-29 14:46:49.000000000 -0400 *************** *** 1406,1408 **** --- 1406,1412 ---- @seealso{@ref{doc-primes,,primes}, @ref{doc-factor,,factor}, @ref{doc-gcd,,gcd}, @ref{doc-lcm,,lcm}} @end deftypefn + + If instead of knowing properties of variables, you wish to know which + variables are defined and to gather other information about the + workspace itself, see @ref{Status of Variables}. diff -cNr octave-3.4.2/doc/interpreter/numbers.txi octave-3.4.3/doc/interpreter/numbers.txi *** octave-3.4.2/doc/interpreter/numbers.txi 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/doc/interpreter/numbers.txi 2011-09-01 09:38:52.000000000 -0400 *************** *** 836,838 **** --- 836,842 ---- @DOCSTRING(islogical) @DOCSTRING(isprime) + + If instead of knowing properties of variables, you wish to know which + variables are defined and to gather other information about the + workspace itself, see @ref{Status of Variables}. Binary files octave-3.4.2/doc/interpreter/octave.pdf and octave-3.4.3/doc/interpreter/octave.pdf differ diff -cNr octave-3.4.2/doc/interpreter/oop.texi octave-3.4.3/doc/interpreter/oop.texi *** octave-3.4.2/doc/interpreter/oop.texi 2011-06-21 12:33:54.000000000 -0400 --- octave-3.4.3/doc/interpreter/oop.texi 2011-09-29 14:46:50.000000000 -0400 *************** *** 974,981 **** @item @tab a / b @tab mrdivide (a, b) @tab Matrix right division operator @tab @item @tab a .\ b @tab ldivide (a, b) @tab Element-wise left division operator @tab @item @tab a \ b @tab mldivide (a, b) @tab Matrix left division operator @tab ! @item @tab a .^ b @tab ldivide (a, b) @tab Element-wise power operator @tab ! @item @tab a ^ b @tab mldivide (a, b) @tab Matrix power operator @tab @item @tab a < b @tab lt (a, b) @tab Less than operator @tab @item @tab a <= b @tab le (a, b) @tab Less than or equal to operator @tab @item @tab a > b @tab gt (a, b) @tab Greater than operator @tab --- 974,981 ---- @item @tab a / b @tab mrdivide (a, b) @tab Matrix right division operator @tab @item @tab a .\ b @tab ldivide (a, b) @tab Element-wise left division operator @tab @item @tab a \ b @tab mldivide (a, b) @tab Matrix left division operator @tab ! @item @tab a .^ b @tab power (a, b) @tab Element-wise power operator @tab ! @item @tab a ^ b @tab mpower (a, b) @tab Matrix power operator @tab @item @tab a < b @tab lt (a, b) @tab Less than operator @tab @item @tab a <= b @tab le (a, b) @tab Less than or equal to operator @tab @item @tab a > b @tab gt (a, b) @tab Greater than operator @tab diff -cNr octave-3.4.2/doc/interpreter/oop.txi octave-3.4.3/doc/interpreter/oop.txi *** octave-3.4.2/doc/interpreter/oop.txi 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/doc/interpreter/oop.txi 2011-09-01 09:38:52.000000000 -0400 *************** *** 578,585 **** @item @tab a / b @tab mrdivide (a, b) @tab Matrix right division operator @tab @item @tab a .\ b @tab ldivide (a, b) @tab Element-wise left division operator @tab @item @tab a \ b @tab mldivide (a, b) @tab Matrix left division operator @tab ! @item @tab a .^ b @tab ldivide (a, b) @tab Element-wise power operator @tab ! @item @tab a ^ b @tab mldivide (a, b) @tab Matrix power operator @tab @item @tab a < b @tab lt (a, b) @tab Less than operator @tab @item @tab a <= b @tab le (a, b) @tab Less than or equal to operator @tab @item @tab a > b @tab gt (a, b) @tab Greater than operator @tab --- 578,585 ---- @item @tab a / b @tab mrdivide (a, b) @tab Matrix right division operator @tab @item @tab a .\ b @tab ldivide (a, b) @tab Element-wise left division operator @tab @item @tab a \ b @tab mldivide (a, b) @tab Matrix left division operator @tab ! @item @tab a .^ b @tab power (a, b) @tab Element-wise power operator @tab ! @item @tab a ^ b @tab mpower (a, b) @tab Matrix power operator @tab @item @tab a < b @tab lt (a, b) @tab Less than operator @tab @item @tab a <= b @tab le (a, b) @tab Less than or equal to operator @tab @item @tab a > b @tab gt (a, b) @tab Greater than operator @tab diff -cNr octave-3.4.2/doc/interpreter/optim.texi octave-3.4.3/doc/interpreter/optim.texi *** octave-3.4.2/doc/interpreter/optim.texi 2011-06-21 12:33:54.000000000 -0400 --- octave-3.4.3/doc/interpreter/optim.texi 2011-09-29 14:46:50.000000000 -0400 *************** *** 700,706 **** @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tolerance}) Solve the nonlinear program @tex $$ --- 700,706 ---- @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tol}) Solve the nonlinear program @tex $$ *************** *** 740,753 **** The first argument is the initial guess for the vector @var{x0}. The second argument is a function handle pointing to the objective ! function. The objective function must be of the form ! ! @example ! @var{y} = phi (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{y} is a scalar. The second argument may also be a 2- or 3-element cell array of function handles. The first element should point to the objective --- 740,747 ---- The first argument is the initial guess for the vector @var{x0}. The second argument is a function handle pointing to the objective ! function @var{phi}. The objective function must accept one vector ! argument and return a scalar. The second argument may also be a 2- or 3-element cell array of function handles. The first element should point to the objective *************** *** 758,797 **** differences. If the Hessian function is not supplied, a BFGS update formula is used to approximate the Hessian. ! When supplied, the gradient function must be of the form ! ! @example ! @var{g} = gradient (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{g} is a vector. ! ! When supplied, the Hessian function must be of the form ! ! @example ! @var{h} = hessian (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{h} is a matrix. ! ! The third and fourth arguments are function handles pointing to ! functions that compute the equality constraints and the inequality ! constraints, respectively. ! ! If the problem does not have equality (or inequality) constraints, ! then use an empty matrix ([]) for @var{cef} (or @var{cif}). ! ! When supplied, the equality and inequality constraint functions must be ! of the form ! ! @example ! @var{r} = f (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{r} is a vector. The third and fourth arguments may also be 2-element cell arrays of function handles. The first element should point to the constraint --- 752,769 ---- differences. If the Hessian function is not supplied, a BFGS update formula is used to approximate the Hessian. ! When supplied, the gradient function @code{@var{phi}@{2@}} must accept ! one vector argument and return a vector. When supplifed, the Hessian ! function @code{@var{phi}@{3@}} must accept one vector argument and ! return a matrix. ! ! The third and fourth arguments @var{g} and @var{h} are function ! handles pointing to functions that compute the equality constraints ! and the inequality constraints, respectively. If the problem does ! not have equality (or inequality) constraints, then use an empty ! matrix ([]) for @var{g} (or @var{h}). When supplied, these equality ! and inequality constraint functions must accept one vector argument ! and return a vector. The third and fourth arguments may also be 2-element cell arrays of function handles. The first element should point to the constraint *************** *** 815,833 **** @end example @end ifnottex ! The fifth and sixth arguments contain lower and upper bounds ! on @var{x}. These must be consistent with the equality and inequality ! constraints @var{g} and @var{h}. If the arguments are vectors then ! @var{x}(i) is bound by @var{lb}(i) and @var{ub}(i). A bound can also ! be a scalar in which case all elements of @var{x} will share the same ! bound. If only one bound (lb, ub) is specified then the other will ! default to (-@var{realmax}, +@var{realmax}). ! The seventh argument specifies the maximum number of iterations. ! The default value is 100. ! The eighth argument specifies the tolerance for the stopping criteria. ! The default value is @code{sqrt(eps)}. The value returned in @var{info} may be one of the following: --- 787,806 ---- @end example @end ifnottex ! The fifth and sixth arguments, @var{lb} and @var{ub}, contain lower ! and upper bounds on @var{x}. These must be consistent with the ! equality and inequality constraints @var{g} and @var{h}. If the ! arguments are vectors then @var{x}(i) is bound by @var{lb}(i) and ! @var{ub}(i). A bound can also be a scalar in which case all elements ! of @var{x} will share the same bound. If only one bound (lb, ub) is ! specified then the other will default to (-@var{realmax}, ! +@var{realmax}). ! The seventh argument @var{maxiter} specifies the maximum number of ! iterations. The default value is 100. ! The eighth argument @var{tol} specifies the tolerance for the ! stopping criteria. The default value is @code{sqrt(eps)}. The value returned in @var{info} may be one of the following: *************** *** 841,847 **** @ifnottex delta @var{x}, @end ifnottex ! is less than @code{tol * norm (x)}. @item 102 The BFGS update failed. --- 814,820 ---- @ifnottex delta @var{x}, @end ifnottex ! is less than @code{@var{tol} * norm (x)}. @item 102 The BFGS update failed. diff -cNr octave-3.4.2/doc/interpreter/plot3.eps octave-3.4.3/doc/interpreter/plot3.eps *** octave-3.4.2/doc/interpreter/plot3.eps 2011-06-02 16:45:19.000000000 -0400 --- octave-3.4.3/doc/interpreter/plot3.eps 2011-09-29 14:47:12.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: plot3.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:19 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: plot3.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:12 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:19 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:12 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/plot3.pdf and octave-3.4.3/doc/interpreter/plot3.pdf differ diff -cNr octave-3.4.2/doc/interpreter/plot.eps octave-3.4.3/doc/interpreter/plot.eps *** octave-3.4.2/doc/interpreter/plot.eps 2011-06-02 16:45:14.000000000 -0400 --- octave-3.4.3/doc/interpreter/plot.eps 2011-09-29 14:47:07.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: plot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:14 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: plot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:07 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:14 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:07 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/plot.pdf and octave-3.4.3/doc/interpreter/plot.pdf differ diff -cNr octave-3.4.2/doc/interpreter/polar.eps octave-3.4.3/doc/interpreter/polar.eps *** octave-3.4.2/doc/interpreter/polar.eps 2011-06-02 16:45:17.000000000 -0400 --- octave-3.4.3/doc/interpreter/polar.eps 2011-09-29 14:47:10.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: polar.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:17 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: polar.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:10 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:17 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:10 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/polar.pdf and octave-3.4.3/doc/interpreter/polar.pdf differ diff -cNr octave-3.4.2/doc/interpreter/poly.texi octave-3.4.3/doc/interpreter/poly.texi *** octave-3.4.2/doc/interpreter/poly.texi 2011-06-21 12:33:55.000000000 -0400 --- octave-3.4.3/doc/interpreter/poly.texi 2011-09-29 14:46:50.000000000 -0400 *************** *** 369,376 **** @c residue scripts/polynomial/residue.m @anchor{doc-residue} @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! Compute the partial fraction expansion for the quotient of the ! polynomials, @var{b} and @var{a}. @tex $$ {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} --- 369,378 ---- @c residue scripts/polynomial/residue.m @anchor{doc-residue} @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! The first calling form computes the partial fraction expansion for the ! quotient of the polynomials, @var{b} and @var{a}. @tex $$ {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} *************** *** 427,438 **** @end ifnottex ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! Compute the reconstituted quotient of polynomials, ! @var{b}(s)/@var{a}(s), from the partial fraction expansion; ! represented by the residues, poles, and a direct polynomial specified ! by @var{r}, @var{p} and @var{k}, and the pole multiplicity @var{e}. If the multiplicity, @var{e}, is not explicitly specified the multiplicity is determined by the function @code{mpoles}. --- 429,439 ---- @end ifnottex ! The second calling form performs the inverse operation and computes ! the reconstituted quotient of polynomials, @var{b}(s)/@var{a}(s), ! from the partial fraction expansion; represented by the residues, ! poles, and a direct polynomial specified by @var{r}, @var{p} and ! @var{k}, and the pole multiplicity @var{e}. If the multiplicity, @var{e}, is not explicitly specified the multiplicity is determined by the function @code{mpoles}. diff -cNr octave-3.4.2/doc/interpreter/signal.texi octave-3.4.3/doc/interpreter/signal.texi *** octave-3.4.2/doc/interpreter/signal.texi 2011-06-21 12:33:55.000000000 -0400 --- octave-3.4.3/doc/interpreter/signal.texi 2011-09-29 14:46:51.000000000 -0400 *************** *** 713,725 **** center of the vector or matrix. If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! time samples spaced of @math{Dt} each, then @code{fftshift (fft ! (@var{x}))} corresponds to frequencies @example ! f = ((1:N) - ceil(N/2)) / N / Dt @end example If @var{x} is a matrix, the same holds for rows and columns. If @var{x} is an array, then the same holds along each dimension. --- 713,727 ---- center of the vector or matrix. If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! time samples spaced by @math{dt}, then ! @code{fftshift (fft (@var{x}))} corresponds to frequencies @example ! f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ] @end example + where @math{df} = 1 / @math{dt}. + If @var{x} is a matrix, the same holds for rows and columns. If @var{x} is an array, then the same holds along each dimension. diff -cNr octave-3.4.2/doc/interpreter/spchol.eps octave-3.4.3/doc/interpreter/spchol.eps *** octave-3.4.2/doc/interpreter/spchol.eps 2011-06-09 14:03:05.000000000 -0400 --- octave-3.4.3/doc/interpreter/spchol.eps 2011-09-29 14:47:19.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: spchol.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 9 14:03:05 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: spchol.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:18 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 9 14:03:05 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:18 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/spchol.pdf and octave-3.4.3/doc/interpreter/spchol.pdf differ diff -cNr octave-3.4.2/doc/interpreter/spcholperm.eps octave-3.4.3/doc/interpreter/spcholperm.eps *** octave-3.4.2/doc/interpreter/spcholperm.eps 2011-06-09 14:03:06.000000000 -0400 --- octave-3.4.3/doc/interpreter/spcholperm.eps 2011-09-29 14:47:20.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: spcholperm.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 9 14:03:06 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: spcholperm.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:19 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 9 14:03:06 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:19 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/spcholperm.pdf and octave-3.4.3/doc/interpreter/spcholperm.pdf differ diff -cNr octave-3.4.2/doc/interpreter/spmatrix.eps octave-3.4.3/doc/interpreter/spmatrix.eps *** octave-3.4.2/doc/interpreter/spmatrix.eps 2011-06-09 14:03:04.000000000 -0400 --- octave-3.4.3/doc/interpreter/spmatrix.eps 2011-09-29 14:47:18.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: spmatrix.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 9 14:03:04 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: spmatrix.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:47:18 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 9 14:03:04 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:47:18 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/spmatrix.pdf and octave-3.4.3/doc/interpreter/spmatrix.pdf differ diff -cNr octave-3.4.2/doc/interpreter/stamp-vti octave-3.4.3/doc/interpreter/stamp-vti *** octave-3.4.2/doc/interpreter/stamp-vti 2011-06-24 10:50:18.000000000 -0400 --- octave-3.4.3/doc/interpreter/stamp-vti 2011-10-10 10:32:15.000000000 -0400 *************** *** 1,4 **** ! @set UPDATED 21 June 2011 ! @set UPDATED-MONTH June 2011 ! @set EDITION 3.4.2 ! @set VERSION 3.4.2 --- 1,4 ---- ! @set UPDATED 1 September 2011 ! @set UPDATED-MONTH September 2011 ! @set EDITION 3.4.3 ! @set VERSION 3.4.3 diff -cNr octave-3.4.2/doc/interpreter/stmt.texi octave-3.4.3/doc/interpreter/stmt.texi *** octave-3.4.2/doc/interpreter/stmt.texi 2011-06-21 12:33:56.000000000 -0400 --- octave-3.4.3/doc/interpreter/stmt.texi 2011-09-29 14:46:52.000000000 -0400 *************** *** 582,588 **** @example @group ! a = [1,3;2,4]; b = cat(3, a, 2*a); for i = c i endfor --- 582,588 ---- @example @group ! a = [1,3;2,4]; c = cat(3, a, 2*a); for i = c i endfor diff -cNr octave-3.4.2/doc/interpreter/stmt.txi octave-3.4.3/doc/interpreter/stmt.txi *** octave-3.4.2/doc/interpreter/stmt.txi 2011-04-11 10:57:07.000000000 -0400 --- octave-3.4.3/doc/interpreter/stmt.txi 2011-09-02 11:10:19.000000000 -0400 *************** *** 580,586 **** @example @group ! a = [1,3;2,4]; b = cat(3, a, 2*a); for i = c i endfor --- 580,586 ---- @example @group ! a = [1,3;2,4]; c = cat(3, a, 2*a); for i = c i endfor diff -cNr octave-3.4.2/doc/interpreter/strings.texi octave-3.4.3/doc/interpreter/strings.texi *** octave-3.4.2/doc/interpreter/strings.texi 2011-06-21 12:33:56.000000000 -0400 --- octave-3.4.3/doc/interpreter/strings.texi 2011-09-29 14:46:52.000000000 -0400 *************** *** 807,813 **** @c strtrim scripts/strings/strtrim.m @anchor{doc-strtrim} @deftypefn {Function File} {} strtrim (@var{s}) ! Remove leading and trailing blanks and nulls from @var{s}. If @var{s} is a matrix, @var{strtrim} trims each row to the length of longest string. If @var{s} is a cell array, operate recursively on each element of the cell array. For example: --- 807,813 ---- @c strtrim scripts/strings/strtrim.m @anchor{doc-strtrim} @deftypefn {Function File} {} strtrim (@var{s}) ! Remove leading and trailing whitespace and nulls from @var{s}. If @var{s} is a matrix, @var{strtrim} trims each row to the length of longest string. If @var{s} is a cell array, operate recursively on each element of the cell array. For example: *************** *** 1722,1747 **** @c str2num scripts/strings/str2num.m @anchor{doc-str2num} ! @deftypefn {Function File} {} str2num (@var{s}) Convert the string (or character array) @var{s} to a number (or an array). Examples: @example @group ! str2num("3.141596") ! @result{} 3.141596 ! str2num(["1, 2, 3"; "4, 5, 6"]); ! @result{} ans = ! 1 2 3 ! 4 5 6 @end group @end example @strong{Caution:} As @code{str2num} uses the @code{eval} function to do the conversion, @code{str2num} will execute any code contained ! in the string @var{s}. Use @code{str2double} instead if you want to ! avoid the use of @code{eval}. @seealso{@ref{doc-str2double,,str2double}, @ref{doc-eval,,eval}} @end deftypefn --- 1722,1752 ---- @c str2num scripts/strings/str2num.m @anchor{doc-str2num} ! @deftypefn {Function File} {@var{x} =} str2num (@var{s}) ! @deftypefnx {Function File} {[@var{x}, @var{state}] =} str2num (@var{s}) Convert the string (or character array) @var{s} to a number (or an array). Examples: @example @group ! str2num ("3.141596") ! @result{} 3.141596 ! str2num (["1, 2, 3"; "4, 5, 6"]); ! @result{} ans = ! 1 2 3 ! 4 5 6 @end group @end example + The optional second output, @var{state}, is logically true when the + coversion is successful. If the conversion fails the numeric output, + @var{x}, is empty and @var{state} is false. + @strong{Caution:} As @code{str2num} uses the @code{eval} function to do the conversion, @code{str2num} will execute any code contained ! in the string @var{s}. Use @code{str2double} for a safer and faster ! conversion. @seealso{@ref{doc-str2double,,str2double}, @ref{doc-eval,,eval}} @end deftypefn diff -cNr octave-3.4.2/doc/interpreter/system.texi octave-3.4.3/doc/interpreter/system.texi *** octave-3.4.2/doc/interpreter/system.texi 2011-06-21 12:33:56.000000000 -0400 --- octave-3.4.3/doc/interpreter/system.texi 2011-09-29 14:46:52.000000000 -0400 *************** *** 252,264 **** Literal character fields: @table @code ! @item % % character. ! @item n Newline character. ! @item t Tab character. @end table --- 252,264 ---- Literal character fields: @table @code ! @item %% % character. ! @item %n Newline character. ! @item %t Tab character. @end table diff -cNr octave-3.4.2/doc/interpreter/triplot.eps octave-3.4.3/doc/interpreter/triplot.eps *** octave-3.4.2/doc/interpreter/triplot.eps 2011-06-02 16:45:02.000000000 -0400 --- octave-3.4.3/doc/interpreter/triplot.eps 2011-09-29 14:46:58.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: triplot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Jun 2 16:45:02 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: triplot.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:46:58 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Jun 2 16:45:02 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:46:58 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/triplot.pdf and octave-3.4.3/doc/interpreter/triplot.pdf differ diff -cNr octave-3.4.2/doc/interpreter/version.texi octave-3.4.3/doc/interpreter/version.texi *** octave-3.4.2/doc/interpreter/version.texi 2011-06-24 10:50:18.000000000 -0400 --- octave-3.4.3/doc/interpreter/version.texi 2011-10-10 10:32:15.000000000 -0400 *************** *** 1,4 **** ! @set UPDATED 21 June 2011 ! @set UPDATED-MONTH June 2011 ! @set EDITION 3.4.2 ! @set VERSION 3.4.2 --- 1,4 ---- ! @set UPDATED 1 September 2011 ! @set UPDATED-MONTH September 2011 ! @set EDITION 3.4.3 ! @set VERSION 3.4.3 diff -cNr octave-3.4.2/doc/interpreter/voronoi.eps octave-3.4.3/doc/interpreter/voronoi.eps *** octave-3.4.2/doc/interpreter/voronoi.eps 2011-06-06 12:02:58.000000000 -0400 --- octave-3.4.3/doc/interpreter/voronoi.eps 2011-09-29 14:46:57.000000000 -0400 *************** *** 1,7 **** %!PS-Adobe-2.0 EPSF-2.0 %%Title: voronoi.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Mon Jun 6 12:02:58 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments --- 1,7 ---- %!PS-Adobe-2.0 EPSF-2.0 %%Title: voronoi.eps %%Creator: gnuplot 4.4 patchlevel 0 ! %%CreationDate: Thu Sep 29 14:46:57 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments *************** *** 50,56 **** /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Mon Jun 6 12:02:58 2011) /DOCINFO pdfmark end } ifelse --- 50,56 ---- /Author (jwe) % /Producer (gnuplot) % /Keywords () ! /CreationDate (Thu Sep 29 14:46:57 2011) /DOCINFO pdfmark end } ifelse Binary files octave-3.4.2/doc/interpreter/voronoi.pdf and octave-3.4.3/doc/interpreter/voronoi.pdf differ Binary files octave-3.4.2/doc/liboctave/liboctave.pdf and octave-3.4.3/doc/liboctave/liboctave.pdf differ diff -cNr octave-3.4.2/doc/liboctave/Makefile.in octave-3.4.3/doc/liboctave/Makefile.in *** octave-3.4.2/doc/liboctave/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/doc/liboctave/Makefile.in 2011-10-10 10:24:11.000000000 -0400 *************** *** 66,88 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 66,90 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 92,140 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 94,149 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 327,338 **** --- 336,350 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 344,351 **** --- 356,368 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 364,369 **** --- 381,387 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 453,458 **** --- 471,478 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 460,474 **** --- 480,498 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 478,483 **** --- 502,508 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 611,616 **** --- 636,642 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 622,627 **** --- 648,654 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 652,657 **** --- 679,685 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 665,670 **** --- 693,699 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 675,682 **** --- 704,715 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 724,746 **** --- 757,788 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 758,765 **** --- 800,809 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 869,874 **** --- 913,919 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 897,908 **** --- 942,955 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 919,930 **** --- 966,979 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 992,997 **** --- 1041,1047 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1057,1064 **** --- 1107,1117 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1096,1101 **** --- 1149,1155 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/doc/liboctave/stamp-vti octave-3.4.3/doc/liboctave/stamp-vti *** octave-3.4.2/doc/liboctave/stamp-vti 2011-06-24 10:50:18.000000000 -0400 --- octave-3.4.3/doc/liboctave/stamp-vti 2011-10-10 10:32:15.000000000 -0400 *************** *** 1,4 **** ! @set UPDATED 11 April 2011 ! @set UPDATED-MONTH April 2011 ! @set EDITION 3.4.2 ! @set VERSION 3.4.2 --- 1,4 ---- ! @set UPDATED 1 September 2011 ! @set UPDATED-MONTH September 2011 ! @set EDITION 3.4.3 ! @set VERSION 3.4.3 diff -cNr octave-3.4.2/doc/liboctave/version.texi octave-3.4.3/doc/liboctave/version.texi *** octave-3.4.2/doc/liboctave/version.texi 2011-06-24 10:50:18.000000000 -0400 --- octave-3.4.3/doc/liboctave/version.texi 2011-10-10 10:32:15.000000000 -0400 *************** *** 1,4 **** ! @set UPDATED 11 April 2011 ! @set UPDATED-MONTH April 2011 ! @set EDITION 3.4.2 ! @set VERSION 3.4.2 --- 1,4 ---- ! @set UPDATED 1 September 2011 ! @set UPDATED-MONTH September 2011 ! @set EDITION 3.4.3 ! @set VERSION 3.4.3 diff -cNr octave-3.4.2/doc/Makefile.in octave-3.4.3/doc/Makefile.in *** octave-3.4.2/doc/Makefile.in 2011-06-24 10:38:37.000000000 -0400 --- octave-3.4.3/doc/Makefile.in 2011-10-10 10:24:11.000000000 -0400 *************** *** 64,86 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 64,88 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 90,138 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 92,147 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 333,344 **** --- 342,356 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 350,357 **** --- 362,374 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 370,375 **** --- 387,393 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 459,464 **** --- 477,484 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 466,480 **** --- 486,504 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 484,489 **** --- 508,514 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 617,622 **** --- 642,648 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 628,633 **** --- 654,660 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 658,663 **** --- 685,691 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 671,676 **** --- 699,705 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 681,688 **** --- 710,721 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 730,752 **** --- 763,794 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 764,771 **** --- 806,815 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 875,880 **** --- 919,925 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 903,914 **** --- 948,961 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 925,936 **** --- 972,985 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 998,1003 **** --- 1047,1053 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1063,1070 **** --- 1113,1123 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1102,1107 **** --- 1155,1161 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/doc/refcard/Makefile.in octave-3.4.3/doc/refcard/Makefile.in *** octave-3.4.2/doc/refcard/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/doc/refcard/Makefile.in 2011-10-10 10:24:12.000000000 -0400 *************** *** 64,86 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 64,88 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 90,138 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 92,147 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 293,304 **** --- 302,316 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 310,317 **** --- 322,334 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 330,335 **** --- 347,353 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 419,424 **** --- 437,444 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 426,440 **** --- 446,464 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 444,449 **** --- 468,474 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 577,582 **** --- 602,608 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 588,593 **** --- 614,620 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 618,623 **** --- 645,651 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 631,636 **** --- 659,665 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 641,648 **** --- 670,681 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 690,712 **** --- 723,754 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 724,731 **** --- 766,775 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 835,840 **** --- 879,885 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 863,874 **** --- 908,921 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 885,896 **** --- 932,945 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 958,963 **** --- 1007,1013 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1023,1030 **** --- 1073,1083 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1062,1067 **** --- 1115,1121 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ Binary files octave-3.4.2/doc/refcard/refcard-a4.pdf and octave-3.4.3/doc/refcard/refcard-a4.pdf differ Binary files octave-3.4.2/doc/refcard/refcard-legal.pdf and octave-3.4.3/doc/refcard/refcard-legal.pdf differ Binary files octave-3.4.2/doc/refcard/refcard-letter.pdf and octave-3.4.3/doc/refcard/refcard-letter.pdf differ diff -cNr octave-3.4.2/examples/Makefile.in octave-3.4.3/examples/Makefile.in *** octave-3.4.2/examples/Makefile.in 2011-06-24 10:38:38.000000000 -0400 --- octave-3.4.3/examples/Makefile.in 2011-10-10 10:24:12.000000000 -0400 *************** *** 66,88 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 66,90 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 92,140 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 94,149 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 295,306 **** --- 304,318 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 312,319 **** --- 324,336 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 332,337 **** --- 349,355 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 421,426 **** --- 439,446 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 428,442 **** --- 448,466 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 446,451 **** --- 470,476 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 579,584 **** --- 604,610 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 590,595 **** --- 616,622 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 620,625 **** --- 647,653 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 633,638 **** --- 661,667 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 643,650 **** --- 672,683 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 692,714 **** --- 725,756 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 726,733 **** --- 768,777 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 837,842 **** --- 881,887 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 865,876 **** --- 910,923 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 887,898 **** --- 934,947 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 960,965 **** --- 1009,1015 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1025,1032 **** --- 1075,1085 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1064,1069 **** --- 1117,1123 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/libcruft/Makefile.in octave-3.4.3/libcruft/Makefile.in *** octave-3.4.2/libcruft/Makefile.in 2011-06-24 10:38:39.000000000 -0400 --- octave-3.4.3/libcruft/Makefile.in 2011-10-10 10:24:13.000000000 -0400 *************** *** 77,99 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 77,101 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 103,151 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 105,160 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 772,783 **** --- 781,795 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 789,796 **** --- 801,813 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 809,814 **** --- 826,832 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 898,903 **** --- 916,923 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 905,919 **** --- 925,943 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 923,928 **** --- 947,953 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 1056,1061 **** --- 1081,1087 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 1067,1072 **** --- 1093,1099 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 1097,1102 **** --- 1124,1130 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 1110,1115 **** --- 1138,1144 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 1120,1127 **** --- 1149,1160 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 1169,1191 **** --- 1202,1233 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 1203,1210 **** --- 1245,1254 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 1314,1319 **** --- 1358,1364 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 1342,1353 **** --- 1387,1400 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 1364,1375 **** --- 1411,1424 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1437,1442 **** --- 1486,1492 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1502,1509 **** --- 1552,1562 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1541,1546 **** --- 1594,1600 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/libgnu/canonicalize-lgpl.c octave-3.4.3/libgnu/canonicalize-lgpl.c *** octave-3.4.2/libgnu/canonicalize-lgpl.c 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/libgnu/canonicalize-lgpl.c 2011-08-09 15:35:11.000000000 -0400 *************** *** 127,133 **** #else path_max = pathconf (name, _PC_PATH_MAX); if (path_max <= 0) ! path_max = 1024; #endif if (resolved == NULL) --- 127,133 ---- #else path_max = pathconf (name, _PC_PATH_MAX); if (path_max <= 0) ! path_max = 8192; #endif if (resolved == NULL) diff -cNr octave-3.4.2/libgnu/chdir-long.h octave-3.4.3/libgnu/chdir-long.h *** octave-3.4.2/libgnu/chdir-long.h 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/libgnu/chdir-long.h 2011-08-09 15:35:11.000000000 -0400 *************** *** 21,31 **** #include #include ! #ifndef PATH_MAX ! # ifdef MAXPATHLEN ! # define PATH_MAX MAXPATHLEN ! # endif ! #endif /* On systems without PATH_MAX, presume that chdir accepts arbitrarily long directory names. */ --- 21,27 ---- #include #include ! #include "pathmax.h" /* On systems without PATH_MAX, presume that chdir accepts arbitrarily long directory names. */ diff -cNr octave-3.4.2/libgnu/close.c octave-3.4.3/libgnu/close.c *** octave-3.4.2/libgnu/close.c 2011-04-19 21:36:56.000000000 -0400 --- octave-3.4.3/libgnu/close.c 2011-09-29 13:25:40.000000000 -0400 *************** *** 21,38 **** /* Specification. */ #include #include "fd-hook.h" /* Override close() to call into other gnulib modules. */ int rpl_close (int fd) - #undef close { #if WINDOWS_SOCKETS ! int retval = execute_all_close_hooks (close, fd); #else ! int retval = close (fd); #endif #if REPLACE_FCHDIR --- 21,65 ---- /* Specification. */ #include + #include + #include "fd-hook.h" + #include "msvc-inval.h" + + #undef close + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static int + close_nothrow (int fd) + { + int result; + + TRY_MSVC_INVAL + { + result = close (fd); + } + CATCH_MSVC_INVAL + { + result = -1; + errno = EBADF; + } + DONE_MSVC_INVAL; + + return result; + } + #else + # define close_nothrow close + #endif /* Override close() to call into other gnulib modules. */ int rpl_close (int fd) { #if WINDOWS_SOCKETS ! int retval = execute_all_close_hooks (close_nothrow, fd); #else ! int retval = close_nothrow (fd); #endif #if REPLACE_FCHDIR diff -cNr octave-3.4.2/libgnu/closedir.c octave-3.4.3/libgnu/closedir.c *** octave-3.4.2/libgnu/closedir.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/closedir.c 2011-09-29 13:25:40.000000000 -0400 *************** *** 0 **** --- 1,65 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Stop reading the entries of a directory. + Copyright (C) 2006-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #include + + /* Specification. */ + #include + + #if HAVE_CLOSEDIR + + /* Override closedir(), to keep track of the open file descriptors. + Needed because there is a function dirfd(). */ + + #else + + # include + + # include "dirent-private.h" + + #endif + + int + closedir (DIR *dirp) + { + # if REPLACE_FCHDIR + int fd = dirfd (dirp); + # endif + int retval; + + #if HAVE_CLOSEDIR + # undef closedir + + retval = closedir (dirp); + + #else + + if (dirp->current != INVALID_HANDLE_VALUE) + FindClose (dirp->current); + free (dirp); + + retval = 0; + + #endif + + #if REPLACE_FCHDIR + if (retval >= 0) + _gl_unregister_fd (fd); + #endif + return retval; + } diff -cNr octave-3.4.2/libgnu/dirent.in.h octave-3.4.3/libgnu/dirent.in.h *** octave-3.4.2/libgnu/dirent.in.h 2011-06-10 14:00:47.000000000 -0400 --- octave-3.4.3/libgnu/dirent.in.h 2011-09-29 13:25:40.000000000 -0400 *************** *** 24,30 **** @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ ! #@INCLUDE_NEXT@ @NEXT_DIRENT_H@ #ifndef _@GUARD_PREFIX@_DIRENT_H #define _@GUARD_PREFIX@_DIRENT_H --- 24,32 ---- @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ ! #if @HAVE_DIRENT_H@ ! # @INCLUDE_NEXT@ @NEXT_DIRENT_H@ ! #endif #ifndef _@GUARD_PREFIX@_DIRENT_H #define _@GUARD_PREFIX@_DIRENT_H *************** *** 32,37 **** --- 34,62 ---- /* Get ino_t. Needed on some systems, including glibc 2.8. */ #include + #if !@HAVE_DIRENT_H@ + /* Define types DIR and 'struct dirent'. */ + # if !GNULIB_defined_struct_dirent + struct dirent + { + char d_type; + char d_name[1]; + }; + /* Possible values for 'd_type'. */ + # define DT_UNKNOWN 0 + # define DT_FIFO 1 /* FIFO */ + # define DT_CHR 2 /* character device */ + # define DT_DIR 4 /* directory */ + # define DT_BLK 6 /* block device */ + # define DT_REG 8 /* regular file */ + # define DT_LNK 10 /* symbolic link */ + # define DT_SOCK 12 /* socket */ + # define DT_WHT 14 /* whiteout */ + typedef struct gl_directory DIR; + # define GNULIB_defined_struct_dirent 1 + # endif + #endif + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ *************** *** 41,56 **** /* Declare overridden functions. */ ! #if @REPLACE_CLOSEDIR@ ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # define closedir rpl_closedir ! # endif ! _GL_FUNCDECL_RPL (closedir, int, (DIR *) _GL_ARG_NONNULL ((1))); ! _GL_CXXALIAS_RPL (closedir, int, (DIR *)); ! #else ! _GL_CXXALIAS_SYS (closedir, int, (DIR *)); #endif _GL_CXXALIASWARN (closedir); #if @GNULIB_DIRFD@ /* Return the file descriptor associated with the given directory stream, --- 66,144 ---- /* Declare overridden functions. */ ! #if @GNULIB_OPENDIR@ ! # if @REPLACE_OPENDIR@ ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef opendir ! # define opendir rpl_opendir ! # endif ! _GL_FUNCDECL_RPL (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1))); ! _GL_CXXALIAS_RPL (opendir, DIR *, (const char *dir_name)); ! # else ! # if !@HAVE_OPENDIR@ ! _GL_FUNCDECL_SYS (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1))); ! # endif ! _GL_CXXALIAS_SYS (opendir, DIR *, (const char *dir_name)); ! # endif ! _GL_CXXALIASWARN (opendir); ! #elif defined GNULIB_POSIXCHECK ! # undef opendir ! # if HAVE_RAW_DECL_OPENDIR ! _GL_WARN_ON_USE (opendir, "opendir is not portable - " ! "use gnulib module opendir for portability"); ! # endif ! #endif ! ! #if @GNULIB_READDIR@ ! # if !@HAVE_READDIR@ ! _GL_FUNCDECL_SYS (readdir, struct dirent *, (DIR *dirp) _GL_ARG_NONNULL ((1))); ! # endif ! _GL_CXXALIAS_SYS (readdir, struct dirent *, (DIR *dirp)); ! _GL_CXXALIASWARN (readdir); ! #elif defined GNULIB_POSIXCHECK ! # undef readdir ! # if HAVE_RAW_DECL_READDIR ! _GL_WARN_ON_USE (readdir, "readdir is not portable - " ! "use gnulib module readdir for portability"); ! # endif ! #endif ! ! #if @GNULIB_REWINDDIR@ ! # if !@HAVE_REWINDDIR@ ! _GL_FUNCDECL_SYS (rewinddir, void, (DIR *dirp) _GL_ARG_NONNULL ((1))); ! # endif ! _GL_CXXALIAS_SYS (rewinddir, void, (DIR *dirp)); ! _GL_CXXALIASWARN (rewinddir); ! #elif defined GNULIB_POSIXCHECK ! # undef rewinddir ! # if HAVE_RAW_DECL_REWINDDIR ! _GL_WARN_ON_USE (rewinddir, "rewinddir is not portable - " ! "use gnulib module rewinddir for portability"); ! # endif #endif + + #if @GNULIB_CLOSEDIR@ + # if @REPLACE_CLOSEDIR@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef closedir + # define closedir rpl_closedir + # endif + _GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); + _GL_CXXALIAS_RPL (closedir, int, (DIR *dirp)); + # else + # if !@HAVE_CLOSEDIR@ + _GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); + # endif + _GL_CXXALIAS_SYS (closedir, int, (DIR *dirp)); + # endif _GL_CXXALIASWARN (closedir); + #elif defined GNULIB_POSIXCHECK + # undef closedir + # if HAVE_RAW_DECL_CLOSEDIR + _GL_WARN_ON_USE (closedir, "closedir is not portable - " + "use gnulib module closedir for portability"); + # endif + #endif #if @GNULIB_DIRFD@ /* Return the file descriptor associated with the given directory stream, *************** *** 111,127 **** # endif #endif - #if @REPLACE_OPENDIR@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) - # define opendir rpl_opendir - # endif - _GL_FUNCDECL_RPL (opendir, DIR *, (const char *) _GL_ARG_NONNULL ((1))); - _GL_CXXALIAS_RPL (opendir, DIR *, (const char *)); - #else - _GL_CXXALIAS_SYS (opendir, DIR *, (const char *)); - #endif - _GL_CXXALIASWARN (opendir); - #if @GNULIB_SCANDIR@ /* Scan the directory DIR, calling FILTER on each directory entry. Entries for which FILTER returns nonzero are individually malloc'd, --- 199,204 ---- diff -cNr octave-3.4.2/libgnu/dirent-private.h octave-3.4.3/libgnu/dirent-private.h *** octave-3.4.2/libgnu/dirent-private.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/dirent-private.h 2011-09-29 13:25:40.000000000 -0400 *************** *** 0 **** --- 1,42 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Private details of the DIR type. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #ifndef _DIRENT_PRIVATE_H + #define _DIRENT_PRIVATE_H 1 + + #define WIN32_LEAN_AND_MEAN + #include + + struct gl_directory + { + /* Status, or error code to produce in next readdir() call. + -2 means the end of the directory is already reached, + -1 means the entry was already filled by FindFirstFile, + 0 means the entry needs to be filled using FindNextFile. + A positive value is an error code. */ + int status; + /* Handle, reading the directory, at current position. */ + HANDLE current; + /* Found directory entry. */ + WIN32_FIND_DATA entry; + /* Argument to pass to FindFirstFile. It consists of the absolutized + directory name, followed by a directory separator and the wildcards. */ + char dir_name_mask[1]; + }; + + #endif /* _DIRENT_PRIVATE_H */ diff -cNr octave-3.4.2/libgnu/dup2.c octave-3.4.3/libgnu/dup2.c *** octave-3.4.2/libgnu/dup2.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/dup2.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 27,47 **** #include #include - #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ - /* Get declarations of the Win32 API functions. */ - # define WIN32_LEAN_AND_MEAN - # include - #endif - #if HAVE_DUP2 # undef dup2 ! int ! rpl_dup2 (int fd, int desired_fd) { int result; ! # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open, dup2 (fd, fd) returns 0, but all further attempts to use fd in future dup2 calls will hang. */ --- 27,52 ---- #include #include #if HAVE_DUP2 # undef dup2 ! # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ! ! /* Get declarations of the Win32 API functions. */ ! # define WIN32_LEAN_AND_MEAN ! # include ! ! # include "msvc-inval.h" ! ! /* Get _get_osfhandle. */ ! # include "msvc-nothrow.h" ! ! static int ! ms_windows_dup2 (int fd, int desired_fd) { int result; ! /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open, dup2 (fd, fd) returns 0, but all further attempts to use fd in future dup2 calls will hang. */ *************** *** 54,59 **** --- 59,65 ---- } return fd; } + /* Wine 1.0.1 return 0 when desired_fd is negative but not -1: http://bugs.winehq.org/show_bug.cgi?id=21289 */ if (desired_fd < 0) *************** *** 61,86 **** errno = EBADF; return -1; } ! # elif !defined __linux__ ! /* On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */ ! if (fd == desired_fd) ! return fcntl (fd, F_GETFL) == -1 ? -1 : fd; ! # endif ! result = dup2 (fd, desired_fd); ! # ifdef __linux__ ! /* Correct a Linux return value. ! ! */ ! if (fd == desired_fd && result == (unsigned int) -EBADF) { errno = EBADF; result = -1; } ! # endif if (result == 0) result = desired_fd; ! /* Correct a cygwin 1.5.x errno value. */ ! else if (result == -1 && errno == EMFILE) errno = EBADF; # if REPLACE_FCHDIR if (fd != desired_fd && result != -1) --- 67,111 ---- errno = EBADF; return -1; } ! ! TRY_MSVC_INVAL ! { ! result = dup2 (fd, desired_fd); ! } ! CATCH_MSVC_INVAL { errno = EBADF; result = -1; } ! DONE_MSVC_INVAL; ! if (result == 0) result = desired_fd; ! ! return result; ! } ! ! # define dup2 ms_windows_dup2 ! ! # endif ! ! int ! rpl_dup2 (int fd, int desired_fd) ! { ! int result; ! ! # ifdef F_GETFL ! /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF. ! On Cygwin 1.5.x, dup2 (1, 1) returns 0. ! On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */ ! if (fd == desired_fd) ! return fcntl (fd, F_GETFL) == -1 ? -1 : fd; ! # endif ! ! result = dup2 (fd, desired_fd); ! ! /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */ ! if (result == -1 && errno == EMFILE) errno = EBADF; # if REPLACE_FCHDIR if (fd != desired_fd && result != -1) diff -cNr octave-3.4.2/libgnu/dup.c octave-3.4.3/libgnu/dup.c *** octave-3.4.2/libgnu/dup.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/dup.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 0 **** --- 1,63 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Duplicate an open file descriptor. + + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #include + + /* Specification. */ + #include + + #include + + #include "msvc-inval.h" + + #undef dup + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static inline int + dup_nothrow (int fd) + { + int result; + + TRY_MSVC_INVAL + { + result = dup (fd); + } + CATCH_MSVC_INVAL + { + result = -1; + errno = EBADF; + } + DONE_MSVC_INVAL; + + return result; + } + #else + # define dup_nothrow dup + #endif + + int + rpl_dup (int fd) + { + int result = dup_nothrow (fd); + #if REPLACE_FCHDIR + if (result >= 0) + result = _gl_register_dup (fd, result); + #endif + return result; + } diff -cNr octave-3.4.2/libgnu/errno.in.h octave-3.4.3/libgnu/errno.in.h *** octave-3.4.2/libgnu/errno.in.h 2011-06-10 14:00:47.000000000 -0400 --- octave-3.4.3/libgnu/errno.in.h 2011-08-03 23:59:51.000000000 -0400 *************** *** 149,154 **** --- 149,164 ---- # define GNULIB_defined_ENOTSUP 1 # endif + # ifndef ENETRESET + # define ENETRESET 2011 + # define GNULIB_defined_ENETRESET 1 + # endif + + # ifndef ECONNABORTED + # define ECONNABORTED 2012 + # define GNULIB_defined_ECONNABORTED 1 + # endif + # ifndef ESTALE # define ESTALE 2009 # define GNULIB_defined_ESTALE 1 diff -cNr octave-3.4.2/libgnu/error.c octave-3.4.3/libgnu/error.c *** octave-3.4.2/libgnu/error.c 2011-06-10 14:00:47.000000000 -0400 --- octave-3.4.3/libgnu/error.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 94,99 **** --- 94,101 ---- /* Get declarations of the Win32 API functions. */ # define WIN32_LEAN_AND_MEAN # include + /* Get _get_osfhandle. */ + # include "msvc-nothrow.h" # endif /* The gnulib override of fcntl is not needed in this file. */ diff -cNr octave-3.4.2/libgnu/fchdir.c octave-3.4.3/libgnu/fchdir.c *** octave-3.4.2/libgnu/fchdir.c 2011-06-10 14:00:47.000000000 -0400 --- octave-3.4.3/libgnu/fchdir.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 199,267 **** return NULL; } - #if REPLACE_OPEN_DIRECTORY - /* Return stat information about FD in STATBUF. Needed when - rpl_open() used a dummy file to work around an open() that can't - normally visit directories. */ - # undef fstat - int - rpl_fstat (int fd, struct stat *statbuf) - { - if (0 <= fd && fd < dirs_allocated && dirs[fd].name != NULL) - return stat (dirs[fd].name, statbuf); - return fstat (fd, statbuf); - } - #endif - - /* Override opendir() and closedir(), to keep track of the open file - descriptors. Needed because there is a function dirfd(). */ - - int - rpl_closedir (DIR *dp) - #undef closedir - { - int fd = dirfd (dp); - int retval = closedir (dp); - - if (retval >= 0) - _gl_unregister_fd (fd); - return retval; - } - - DIR * - rpl_opendir (const char *filename) - #undef opendir - { - DIR *dp; - - dp = opendir (filename); - if (dp != NULL) - { - int fd = dirfd (dp); - if (0 <= fd && _gl_register_fd (fd, filename) != fd) - { - int saved_errno = errno; - closedir (dp); - errno = saved_errno; - return NULL; - } - } - return dp; - } - - /* Override dup(), to keep track of open file descriptors. */ - - int - rpl_dup (int oldfd) - #undef dup - { - int newfd = dup (oldfd); - - if (0 <= newfd) - newfd = _gl_register_dup (oldfd, newfd); - return newfd; - } - /* Implement fchdir() in terms of chdir(). */ --- 199,204 ---- diff -cNr octave-3.4.2/libgnu/fclose.c octave-3.4.3/libgnu/fclose.c *** octave-3.4.2/libgnu/fclose.c 2011-06-10 14:00:47.000000000 -0400 --- octave-3.4.3/libgnu/fclose.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 25,36 **** #include #include "freading.h" /* Override fclose() to call the overridden fflush() or close(). */ int rpl_fclose (FILE *fp) - #undef fclose { int saved_errno = 0; int fd; --- 25,61 ---- #include #include "freading.h" + #include "msvc-inval.h" + + #undef fclose + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static int + fclose_nothrow (FILE *fp) + { + int result; + + TRY_MSVC_INVAL + { + result = fclose (fp); + } + CATCH_MSVC_INVAL + { + result = EOF; + errno = EBADF; + } + DONE_MSVC_INVAL; + + return result; + } + #else + # define fclose_nothrow fclose + #endif /* Override fclose() to call the overridden fflush() or close(). */ int rpl_fclose (FILE *fp) { int saved_errno = 0; int fd; *************** *** 39,45 **** /* Don't change behavior on memstreams. */ fd = fileno (fp); if (fd < 0) ! return fclose (fp); /* We only need to flush the file if it is not reading or if it is seekable. This only guarantees the file position of input files --- 64,70 ---- /* Don't change behavior on memstreams. */ fd = fileno (fp); if (fd < 0) ! return fclose_nothrow (fp); /* We only need to flush the file if it is not reading or if it is seekable. This only guarantees the file position of input files *************** *** 57,63 **** if (close (fd) < 0 && saved_errno == 0) saved_errno = errno; ! fclose (fp); /* will fail with errno = EBADF, if we did not lose a race */ #else /* !WINDOWS_SOCKETS */ /* Call fclose() and invoke all hooks of the overridden close(). */ --- 82,89 ---- if (close (fd) < 0 && saved_errno == 0) saved_errno = errno; ! fclose_nothrow (fp); /* will fail with errno = EBADF, ! if we did not lose a race */ #else /* !WINDOWS_SOCKETS */ /* Call fclose() and invoke all hooks of the overridden close(). */ *************** *** 66,77 **** /* Note about multithread-safety: There is a race condition here as well. Some other thread could open fd between our calls to fclose and _gl_unregister_fd. */ ! result = fclose (fp); if (result == 0) _gl_unregister_fd (fd); # else /* No race condition here. */ ! result = fclose (fp); # endif #endif /* !WINDOWS_SOCKETS */ --- 92,103 ---- /* Note about multithread-safety: There is a race condition here as well. Some other thread could open fd between our calls to fclose and _gl_unregister_fd. */ ! result = fclose_nothrow (fp); if (result == 0) _gl_unregister_fd (fd); # else /* No race condition here. */ ! result = fclose_nothrow (fp); # endif #endif /* !WINDOWS_SOCKETS */ diff -cNr octave-3.4.2/libgnu/fcntl.c octave-3.4.3/libgnu/fcntl.c *** octave-3.4.2/libgnu/fcntl.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/fcntl.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 39,44 **** --- 39,47 ---- # define WIN32_LEAN_AND_MEAN # include + /* Get _get_osfhandle. */ + # include "msvc-nothrow.h" + /* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ # define OPEN_MAX_MAX 0x10000 diff -cNr octave-3.4.2/libgnu/fflush.c octave-3.4.3/libgnu/fflush.c *** octave-3.4.2/libgnu/fflush.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/fflush.c 2011-08-03 23:59:51.000000000 -0400 *************** *** 62,68 **** fp->_ungetc_count = 0; fp->_rcount = - fp->_rcount; } ! # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */ /* Nothing to do. */ # else /* other implementations */ fseeko (fp, 0, SEEK_CUR); --- 62,68 ---- fp->_ungetc_count = 0; fp->_rcount = - fp->_rcount; } ! # elif defined _IOERR /* Minix, AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */ /* Nothing to do. */ # else /* other implementations */ fseeko (fp, 0, SEEK_CUR); diff -cNr octave-3.4.2/libgnu/filename.h octave-3.4.3/libgnu/filename.h *** octave-3.4.2/libgnu/filename.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/filename.h 2011-09-29 13:25:41.000000000 -0400 *************** *** 0 **** --- 1,56 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Basic filename support macros. + Copyright (C) 2001-2004, 2007-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #ifndef _FILENAME_H + #define _FILENAME_H + + #ifdef __cplusplus + extern "C" { + #endif + + + /* Pathname support. + ISSLASH(C) tests whether C is a directory separator character. + IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, + it may be concatenated to a directory pathname. + IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. + */ + #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + /* Win32, Cygwin, OS/2, DOS */ + # define ISSLASH(C) ((C) == '/' || (C) == '\\') + # define HAS_DEVICE(P) \ + ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ + && (P)[1] == ':') + # define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) + # define IS_PATH_WITH_DIR(P) \ + (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) + # define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) + #else + /* Unix */ + # define ISSLASH(C) ((C) == '/') + # define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) + # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) + # define FILE_SYSTEM_PREFIX_LEN(P) 0 + #endif + + + #ifdef __cplusplus + } + #endif + + #endif /* _FILENAME_H */ diff -cNr octave-3.4.2/libgnu/fopen.c octave-3.4.3/libgnu/fopen.c *** octave-3.4.2/libgnu/fopen.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/fopen.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 0 **** --- 1,112 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Open a stream to a file. + Copyright (C) 2007-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* Written by Bruno Haible , 2007. */ + + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_fopen doesn't recurse to + rpl_fopen. */ + #define __need_FILE + #include + + /* Get the original definition of fopen. It might be defined as a macro. */ + #include + #undef __need_FILE + + static inline FILE * + orig_fopen (const char *filename, const char *mode) + { + return fopen (filename, mode); + } + + /* Specification. */ + /* Write "stdio.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates + this include because of the preliminary #include above. */ + #include "stdio.h" + + #include + #include + #include + #include + #include + #include + + FILE * + rpl_fopen (const char *filename, const char *mode) + { + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + if (strcmp (filename, "/dev/null") == 0) + filename = "NUL"; + #endif + + #if FOPEN_TRAILING_SLASH_BUG + /* If the filename ends in a slash and a mode that requires write access is + specified, then fail. + Rationale: POSIX + says that + "A pathname that contains at least one non-slash character and that + ends with one or more trailing slashes shall be resolved as if a + single dot character ( '.' ) were appended to the pathname." + and + "The special filename dot shall refer to the directory specified by + its predecessor." + If the named file already exists as a directory, then if a mode that + requires write access is specified, fopen() must fail because POSIX + says that it + fails with errno = EISDIR in this case. + If the named file does not exist or does not name a directory, then + fopen() must fail since the file does not contain a '.' directory. */ + { + size_t len = strlen (filename); + if (len > 0 && filename[len - 1] == '/') + { + int fd; + struct stat statbuf; + FILE *fp; + + if (mode[0] == 'w' || mode[0] == 'a') + { + errno = EISDIR; + return NULL; + } + + fd = open (filename, O_RDONLY); + if (fd < 0) + return NULL; + + if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) + { + close (fd); + errno = ENOTDIR; + return NULL; + } + + fp = fdopen (fd, mode); + if (fp == NULL) + { + int saved_errno = errno; + close (fd); + errno = saved_errno; + } + return fp; + } + } + # endif + + return orig_fopen (filename, mode); + } diff -cNr octave-3.4.2/libgnu/fpurge.c octave-3.4.3/libgnu/fpurge.c *** octave-3.4.2/libgnu/fpurge.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/fpurge.c 2011-08-03 23:59:51.000000000 -0400 *************** *** 93,98 **** --- 93,103 ---- fp->_wcount = 0; fp->_ungetc_count = 0; return 0; + # elif defined __minix /* Minix */ + fp->_ptr = fp->_buf; + if (fp->_ptr != NULL) + fp->_count = 0; + return 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */ fp->_ptr = fp->_base; if (fp->_ptr != NULL) diff -cNr octave-3.4.2/libgnu/freading.c octave-3.4.3/libgnu/freading.c *** octave-3.4.2/libgnu/freading.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/freading.c 2011-08-03 23:59:51.000000000 -0400 *************** *** 41,46 **** --- 41,48 ---- return (fp_->_flags & __SRD) != 0; # elif defined __EMX__ /* emx+gcc */ return (fp->_flags & _IOREAD) != 0; + # elif defined __minix /* Minix */ + return (fp->_flags & _IOREADING) != 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */ # if defined __sun /* Solaris */ return (fp->_flag & _IOREAD) != 0 && (fp->_flag & _IOWRT) == 0; diff -cNr octave-3.4.2/libgnu/fseeko.c octave-3.4.3/libgnu/fseeko.c *** octave-3.4.2/libgnu/fseeko.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/fseeko.c 2011-08-09 22:10:48.000000000 -0400 *************** *** 71,76 **** --- 71,79 ---- && fp->_rcount == 0 && fp->_wcount == 0 && fp->_ungetc_count == 0) + #elif defined __minix /* Minix */ + if (fp_->_ptr == fp_->_buf + && (fp_->_ptr == NULL || fp_->_count == 0)) #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */ if (fp_->_ptr == fp_->_base && (fp_->_ptr == NULL || fp_->_cnt == 0)) *************** *** 92,105 **** #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib." #endif { ! /* We get here when an fflush() call immediately preceded this one. We ! know there are no buffers. ! POSIX requires us to modify the file descriptor's position. ! But we cannot position beyond end of file here. */ ! off_t pos = ! lseek (fileno (fp), ! whence == SEEK_END && offset > 0 ? 0 : offset, ! whence); if (pos == -1) { #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ --- 95,104 ---- #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib." #endif { ! /* We get here when an fflush() call immediately preceded this one (or ! if ftell() has created buffers but no I/O has occurred on a ! newly-opened stream). We know there are no buffers. */ ! off_t pos = lseek (fileno (fp), offset, whence); if (pos == -1) { #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ *************** *** 110,115 **** --- 109,115 ---- #if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_flags &= ~_IO_EOF_SEEN; + fp->_offset = pos; #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ # if defined __CYGWIN__ /* fp_->_offset is typed as an integer. */ *************** *** 139,148 **** fp->__offset = pos; fp->__eof = 0; #endif ! /* If we were not requested to position beyond end of file, we're ! done. */ ! if (!(whence == SEEK_END && offset > 0)) ! return 0; } return fseeko (fp, offset, whence); } --- 139,145 ---- fp->__offset = pos; fp->__eof = 0; #endif ! return 0; } return fseeko (fp, offset, whence); } diff -cNr octave-3.4.2/libgnu/fstatat.c octave-3.4.3/libgnu/fstatat.c *** octave-3.4.2/libgnu/fstatat.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/fstatat.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 19,49 **** /* Written by Paul Eggert and Jim Meyering. */ #include #include #include #include #include ! #if HAVE_FSTATAT ! # undef fstatat /* fstatat should always follow symbolic links that end in /, but on Solaris 9 it doesn't if AT_SYMLINK_NOFOLLOW is specified. Likewise, trailing slash on a non-directory should be an error. These are the same problems that lstat.c and stat.c address, so ! solve it in a similar way. */ int rpl_fstatat (int fd, char const *file, struct stat *st, int flag) { ! int result = fstatat (fd, file, st, flag); size_t len; ! if (result != 0) return result; len = strlen (file); if (flag & AT_SYMLINK_NOFOLLOW) --- 19,74 ---- /* Written by Paul Eggert and Jim Meyering. */ + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_fstatat doesn't recurse to + rpl_fstatat. */ + #define __need_system_sys_stat_h #include + /* Get the original definition of fstatat. It might be defined as a macro. */ + #include #include + #undef __need_system_sys_stat_h + + #if HAVE_FSTATAT + static inline int + orig_fstatat (int fd, char const *filename, struct stat *buf, int flags) + { + return fstatat (fd, filename, buf, flags); + } + #endif + + /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc + eliminates this include because of the preliminary #include + above. */ + #include "sys/stat.h" #include #include #include ! #if HAVE_FSTATAT && !FSTATAT_ZERO_FLAG_BROKEN ! # ifndef LSTAT_FOLLOWS_SLASHED_SYMLINK ! # define LSTAT_FOLLOWS_SLASHED_SYMLINK 0 ! # endif /* fstatat should always follow symbolic links that end in /, but on Solaris 9 it doesn't if AT_SYMLINK_NOFOLLOW is specified. Likewise, trailing slash on a non-directory should be an error. These are the same problems that lstat.c and stat.c address, so ! solve it in a similar way. ! ! AIX 7.1 fstatat (AT_FDCWD, ..., 0) always fails, which is a bug. ! Work around this bug if FSTATAT_AT_FDCWD_0_BROKEN is nonzero. */ int rpl_fstatat (int fd, char const *file, struct stat *st, int flag) { ! int result = orig_fstatat (fd, file, st, flag); size_t len; ! if (LSTAT_FOLLOWS_SLASHED_SYMLINK || result != 0) return result; len = strlen (file); if (flag & AT_SYMLINK_NOFOLLOW) *************** *** 56,62 **** errno = ENOTDIR; return -1; } ! result = fstatat (fd, file, st, flag & ~AT_SYMLINK_NOFOLLOW); } /* Fix stat behavior. */ if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') --- 81,87 ---- errno = ENOTDIR; return -1; } ! result = orig_fstatat (fd, file, st, flag & ~AT_SYMLINK_NOFOLLOW); } /* Fix stat behavior. */ if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') *************** *** 67,73 **** return result; } ! #else /* !HAVE_FSTATAT */ /* On mingw, the gnulib defines `stat' as a function-like macro; but using it in AT_FUNC_F2 causes compilation failure --- 92,98 ---- return result; } ! #else /* !HAVE_FSTATAT || FSTATAT_ZERO_FLAG_BROKEN */ /* On mingw, the gnulib defines `stat' as a function-like macro; but using it in AT_FUNC_F2 causes compilation failure *************** *** 95,101 **** then give a diagnostic and exit nonzero. Otherwise, this function works just like Solaris' fstatat. */ ! # define AT_FUNC_NAME fstatat # define AT_FUNC_F1 lstat # define AT_FUNC_F2 stat_func # define AT_FUNC_USE_F1_COND AT_SYMLINK_NOFOLLOW --- 120,130 ---- then give a diagnostic and exit nonzero. Otherwise, this function works just like Solaris' fstatat. */ ! # if FSTATAT_ZERO_FLAG_BROKEN ! # define AT_FUNC_NAME rpl_fstatat ! # else ! # define AT_FUNC_NAME fstatat ! # endif # define AT_FUNC_F1 lstat # define AT_FUNC_F2 stat_func # define AT_FUNC_USE_F1_COND AT_SYMLINK_NOFOLLOW diff -cNr octave-3.4.2/libgnu/fstat.c octave-3.4.3/libgnu/fstat.c *** octave-3.4.2/libgnu/fstat.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/fstat.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 0 **** --- 1,84 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* fstat() replacement. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_fstat doesn't recurse to + rpl_fstat. */ + #define __need_system_sys_stat_h + #include + + /* Get the original definition of fstat. It might be defined as a macro. */ + #include + #include + #undef __need_system_sys_stat_h + + static inline int + orig_fstat (int fd, struct stat *buf) + { + return fstat (fd, buf); + } + + /* Specification. */ + /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc + eliminates this include because of the preliminary #include + above. */ + #include "sys/stat.h" + + #include + #include + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + # include "msvc-inval.h" + #endif + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static inline int + fstat_nothrow (int fd, struct stat *buf) + { + int result; + + TRY_MSVC_INVAL + { + result = orig_fstat (fd, buf); + } + CATCH_MSVC_INVAL + { + result = -1; + errno = EBADF; + } + DONE_MSVC_INVAL; + + return result; + } + #else + # define fstat_nothrow orig_fstat + #endif + + int + rpl_fstat (int fd, struct stat *buf) + { + #if REPLACE_FCHDIR && REPLACE_OPEN_DIRECTORY + /* Handle the case when rpl_open() used a dummy file descriptor to work + around an open() that can't normally visit directories. */ + const char *name = _gl_directory_name (fd); + if (name != NULL) + return stat (name, buf); + #endif + + return fstat_nothrow (fd, buf); + } diff -cNr octave-3.4.2/libgnu/ftell.c octave-3.4.3/libgnu/ftell.c *** octave-3.4.2/libgnu/ftell.c 2011-06-15 11:19:35.000000000 -0400 --- octave-3.4.3/libgnu/ftell.c 2011-08-03 23:59:52.000000000 -0400 *************** *** 22,37 **** #include #include ! /* Get off_t. */ ! #include long ftell (FILE *fp) { /* Use the replacement ftello function with all its workarounds. */ off_t offset = ftello (fp); ! if (offset == (long)offset) ! return (long)offset; else { errno = EOVERFLOW; --- 22,36 ---- #include #include ! #include long ftell (FILE *fp) { /* Use the replacement ftello function with all its workarounds. */ off_t offset = ftello (fp); ! if (LONG_MIN <= offset && offset <= LONG_MAX) ! return /* (long) */ offset; else { errno = EOVERFLOW; diff -cNr octave-3.4.2/libgnu/getcwd.c octave-3.4.3/libgnu/getcwd.c *** octave-3.4.2/libgnu/getcwd.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/getcwd.c 2011-09-29 13:25:41.000000000 -0400 *************** *** 29,37 **** #include /* For AT_FDCWD on Solaris 9. */ ! /* If this host provides the openat function, then enable ! code below to make getcwd more efficient and robust. */ ! #ifdef HAVE_OPENAT # define HAVE_OPENAT_SUPPORT 1 #else # define HAVE_OPENAT_SUPPORT 0 --- 29,38 ---- #include /* For AT_FDCWD on Solaris 9. */ ! /* If this host provides the openat function or if we're using the ! gnulib replacement function, then enable code below to make getcwd ! more efficient and robust. */ ! #if defined HAVE_OPENAT || defined GNULIB_OPENAT # define HAVE_OPENAT_SUPPORT 1 #else # define HAVE_OPENAT_SUPPORT 0 *************** *** 59,66 **** # endif #endif - #include - #ifndef MAX # define MAX(a, b) ((a) < (b) ? (b) : (a)) #endif --- 60,65 ---- *************** *** 68,79 **** # define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif #ifndef PATH_MAX ! # ifdef MAXPATHLEN ! # define PATH_MAX MAXPATHLEN ! # else ! # define PATH_MAX 1024 ! # endif #endif #if D_INO_IN_DIRENT --- 67,78 ---- # define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif + #include "pathmax.h" + + /* In this file, PATH_MAX only serves as a threshold for choosing among two + algorithms. */ #ifndef PATH_MAX ! # define PATH_MAX 8192 #endif #if D_INO_IN_DIRENT *************** *** 150,156 **** # undef getcwd dir = getcwd (buf, size); ! if (dir) return dir; /* Solaris getcwd (NULL, 0) fails with errno == EINVAL, but it has --- 149,155 ---- # undef getcwd dir = getcwd (buf, size); ! if (dir || (size && errno == ERANGE)) return dir; /* Solaris getcwd (NULL, 0) fails with errno == EINVAL, but it has diff -cNr octave-3.4.2/libgnu/getdtablesize.c octave-3.4.3/libgnu/getdtablesize.c *** octave-3.4.2/libgnu/getdtablesize.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/getdtablesize.c 2011-09-29 13:25:42.000000000 -0400 *************** *** 26,31 **** --- 26,54 ---- #include + #include "msvc-inval.h" + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static inline int + _setmaxstdio_nothrow (int newmax) + { + int result; + + TRY_MSVC_INVAL + { + result = _setmaxstdio (newmax); + } + CATCH_MSVC_INVAL + { + result = -1; + } + DONE_MSVC_INVAL; + + return result; + } + # define _setmaxstdio _setmaxstdio_nothrow + #endif + /* Cache for the previous getdtablesize () result. */ static int dtablesize; diff -cNr octave-3.4.2/libgnu/getopt.c octave-3.4.3/libgnu/getopt.c *** octave-3.4.2/libgnu/getopt.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/getopt.c 2011-08-03 23:59:52.000000000 -0400 *************** *** 841,846 **** --- 841,849 ---- int indfound = 0; int option_index; + if (longopts == NULL) + goto no_longs; + /* This is an option that requires an argument. */ if (*d->__nextchar != '\0') { *************** *** 1048,1055 **** } return pfound->val; } ! d->__nextchar = NULL; ! return 'W'; /* Let the application handle it. */ } if (temp[1] == ':') { --- 1051,1060 ---- } return pfound->val; } ! ! no_longs: ! d->__nextchar = NULL; ! return 'W'; /* Let the application handle it. */ } if (temp[1] == ':') { diff -cNr octave-3.4.2/libgnu/gnulib.mk octave-3.4.3/libgnu/gnulib.mk *** octave-3.4.2/libgnu/gnulib.mk 2011-06-21 12:43:01.000000000 -0400 --- octave-3.4.3/libgnu/gnulib.mk 2011-09-29 13:25:40.000000000 -0400 *************** *** 2,15 **** ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software, distributed under the terms of the GNU ! # General Public License. As a special exception to the GNU General ! # Public License, this file may be distributed as part of a program ! # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. ! # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fcntl filemode fnmatch getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint strftime strptime symlink sys_stat sys_time sys_times time times trunc truncf unistd unlink vsnprintf AUTOMAKE_OPTIONS = 1.5 gnits --- 2,27 ---- ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 3 of the License, or ! # (at your option) any later version. ! # ! # This file is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this file. If not, see . ! # ! # As a special exception to the GNU General Public License, ! # this file may be distributed as part of a program that ! # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. ! # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fclose fcntl fflush filemode fnmatch fopen fseek ftell getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint stdio strftime strptime symlink sys_stat sys_time sys_times time times tmpfile trunc truncf unistd unlink vsnprintf AUTOMAKE_OPTIONS = 1.5 gnits *************** *** 42,47 **** --- 54,60 ---- libgnu_la_LDFLAGS += $(GETHOSTNAME_LIB) libgnu_la_LDFLAGS += $(LIBSOCKET) libgnu_la_LDFLAGS += $(LIB_NANOSLEEP) + libgnu_la_LDFLAGS += $(LIB_SELECT) libgnu_la_LDFLAGS += $(LTLIBINTL) libgnu_la_LDFLAGS += $(ROUNDF_LIBM) libgnu_la_LDFLAGS += $(ROUND_LIBM) *************** *** 89,142 **** ## end gnulib module alloca-opt - ## begin gnulib module arg-nonnull - - # The BUILT_SOURCES created by this Makefile snippet are not used via #include - # statements but through direct file reference. Therefore this snippet must be - # present in all Makefile.am that need it. This is ensured by the applicability - # 'all' defined above. - - BUILT_SOURCES += arg-nonnull.h - # The arg-nonnull.h that gets inserted into generated .h files is the same as - # build-aux/arg-nonnull.h, except that it has the copyright header cut off. - arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/GL_ARG_NONNULL/,$$p' \ - < $(top_srcdir)/build-aux/arg-nonnull.h \ - > $@-t && \ - mv $@-t $@ - MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t - - ARG_NONNULL_H=arg-nonnull.h - - EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h - - ## end gnulib module arg-nonnull - - ## begin gnulib module c++defs - - # The BUILT_SOURCES created by this Makefile snippet are not used via #include - # statements but through direct file reference. Therefore this snippet must be - # present in all Makefile.am that need it. This is ensured by the applicability - # 'all' defined above. - - BUILT_SOURCES += c++defs.h - # The c++defs.h that gets inserted into generated .h files is the same as - # build-aux/c++defs.h, except that it has the copyright header cut off. - c++defs.h: $(top_srcdir)/build-aux/c++defs.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/_GL_CXXDEFS/,$$p' \ - < $(top_srcdir)/build-aux/c++defs.h \ - > $@-t && \ - mv $@-t $@ - MOSTLYCLEANFILES += c++defs.h c++defs.h-t - - CXXDEFS_H=c++defs.h - - EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h - - ## end gnulib module c++defs - ## begin gnulib module c-ctype libgnu_la_SOURCES += c-ctype.h c-ctype.c --- 102,107 ---- *************** *** 193,198 **** --- 158,172 ---- ## end gnulib module close + ## begin gnulib module closedir + + + EXTRA_DIST += closedir.c dirent-private.h + + EXTRA_libgnu_la_SOURCES += closedir.c + + ## end gnulib module closedir + ## begin gnulib module configmake # Listed in the same order as the GNU makefile conventions, and *************** *** 229,240 **** echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ echo '#define PKGLIBDIR "$(pkglibdir)"'; \ echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ ! } | sed '/""/d' > $@-t && \ ! if test -f $@ && cmp $@-t $@ > /dev/null; then \ ! rm -f $@-t; \ ! else \ ! rm -f $@; mv $@-t $@; \ ! fi BUILT_SOURCES += configmake.h CLEANFILES += configmake.h configmake.h-t --- 203,210 ---- echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ echo '#define PKGLIBDIR "$(pkglibdir)"'; \ echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ ! } | sed '/""/d' > $@-t ! mv -f $@-t $@ BUILT_SOURCES += configmake.h CLEANFILES += configmake.h configmake.h-t *************** *** 259,281 **** $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ - -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ --- 229,260 ---- $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ + -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \ + -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \ + -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \ + -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \ -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ + -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \ + -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \ + -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \ + -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \ -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ + -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ *************** *** 312,317 **** --- 291,305 ---- ## end gnulib module dosname + ## begin gnulib module dup + + + EXTRA_DIST += dup.c + + EXTRA_libgnu_la_SOURCES += dup.c + + ## end gnulib module dup + ## begin gnulib module dup2 *************** *** 468,473 **** --- 456,468 ---- ## end gnulib module filemode + ## begin gnulib module filename + + + EXTRA_DIST += filename.h + + ## end gnulib module filename + ## begin gnulib module filenamecat-lgpl libgnu_la_SOURCES += filenamecat-lgpl.c *************** *** 541,546 **** --- 536,550 ---- ## end gnulib module fnmatch + ## begin gnulib module fopen + + + EXTRA_DIST += fopen.c + + EXTRA_libgnu_la_SOURCES += fopen.c + + ## end gnulib module fopen + ## begin gnulib module fpurge *************** *** 576,581 **** --- 580,594 ---- ## end gnulib module fseeko + ## begin gnulib module fstat + + + EXTRA_DIST += fstat.c + + EXTRA_libgnu_la_SOURCES += fstat.c + + ## end gnulib module fstat + ## begin gnulib module ftell *************** *** 1049,1054 **** --- 1062,1085 ---- ## end gnulib module mktime + ## begin gnulib module msvc-inval + + + EXTRA_DIST += msvc-inval.c msvc-inval.h + + EXTRA_libgnu_la_SOURCES += msvc-inval.c + + ## end gnulib module msvc-inval + + ## begin gnulib module msvc-nothrow + + + EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h + + EXTRA_libgnu_la_SOURCES += msvc-nothrow.c + + ## end gnulib module msvc-nothrow + ## begin gnulib module nanosleep *************** *** 1090,1095 **** --- 1121,1135 ---- ## end gnulib module openat-die + ## begin gnulib module opendir + + + EXTRA_DIST += dirent-private.h opendir.c + + EXTRA_libgnu_la_SOURCES += opendir.c + + ## end gnulib module opendir + ## begin gnulib module pathmax *************** *** 1103,1108 **** --- 1143,1166 ---- ## end gnulib module progname + ## begin gnulib module raise + + + EXTRA_DIST += raise.c + + EXTRA_libgnu_la_SOURCES += raise.c + + ## end gnulib module raise + + ## begin gnulib module readdir + + + EXTRA_DIST += dirent-private.h readdir.c + + EXTRA_libgnu_la_SOURCES += readdir.c + + ## end gnulib module readdir + ## begin gnulib module readlink *************** *** 1190,1196 **** ## end gnulib module sigaction ! ## begin gnulib module signal BUILT_SOURCES += signal.h --- 1248,1254 ---- ## end gnulib module sigaction ! ## begin gnulib module signal-h BUILT_SOURCES += signal.h *************** *** 1204,1219 **** --- 1262,1283 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ + -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ + -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ + -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ + -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ + -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ + -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ *************** *** 1224,1230 **** EXTRA_DIST += signal.in.h ! ## end gnulib module signal ## begin gnulib module sigprocmask --- 1288,1294 ---- EXTRA_DIST += signal.in.h ! ## end gnulib module signal-h ## begin gnulib module sigprocmask *************** *** 1250,1255 **** --- 1314,1400 ---- ## end gnulib module sleep + ## begin gnulib module snippet/_Noreturn + + # Because this Makefile snippet defines a variable used by other + # gnulib Makefile snippets, it must be present in all Makefile.am that + # need it. This is ensured by the applicability 'all' defined above. + + _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h + + EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h + + ## end gnulib module snippet/_Noreturn + + ## begin gnulib module snippet/arg-nonnull + + # The BUILT_SOURCES created by this Makefile snippet are not used via #include + # statements but through direct file reference. Therefore this snippet must be + # present in all Makefile.am that need it. This is ensured by the applicability + # 'all' defined above. + + BUILT_SOURCES += arg-nonnull.h + # The arg-nonnull.h that gets inserted into generated .h files is the same as + # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut + # off. + arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ + MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t + + ARG_NONNULL_H=arg-nonnull.h + + EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h + + ## end gnulib module snippet/arg-nonnull + + ## begin gnulib module snippet/c++defs + + # The BUILT_SOURCES created by this Makefile snippet are not used via #include + # statements but through direct file reference. Therefore this snippet must be + # present in all Makefile.am that need it. This is ensured by the applicability + # 'all' defined above. + + BUILT_SOURCES += c++defs.h + # The c++defs.h that gets inserted into generated .h files is the same as + # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. + c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/_GL_CXXDEFS/,$$p' \ + < $(top_srcdir)/build-aux/snippet/c++defs.h \ + > $@-t && \ + mv $@-t $@ + MOSTLYCLEANFILES += c++defs.h c++defs.h-t + + CXXDEFS_H=c++defs.h + + EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h + + ## end gnulib module snippet/c++defs + + ## begin gnulib module snippet/warn-on-use + + BUILT_SOURCES += warn-on-use.h + # The warn-on-use.h that gets inserted into generated .h files is the same as + # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut + # off. + warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/^.ifndef/,$$p' \ + < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ + > $@-t && \ + mv $@-t $@ + MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t + + WARN_ON_USE_H=warn-on-use.h + + EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h + + ## end gnulib module snippet/warn-on-use + ## begin gnulib module sockets libgnu_la_SOURCES += sockets.h sockets.c *************** *** 1386,1391 **** --- 1531,1537 ---- -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ + -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ *************** *** 1410,1415 **** --- 1556,1562 ---- -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ + -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ *************** *** 1448,1458 **** --- 1595,1608 ---- -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ + -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ + -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ + -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ *************** *** 1500,1506 **** # We need the following in order to create when the system # doesn't have one that works with the given compiler. ! stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ --- 1650,1657 ---- # We need the following in order to create when the system # doesn't have one that works with the given compiler. ! stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ ! $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ *************** *** 1574,1579 **** --- 1725,1731 ---- -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ *************** *** 1584,1589 **** --- 1736,1750 ---- ## end gnulib module stdlib + ## begin gnulib module strcase + + + EXTRA_DIST += strcasecmp.c strncasecmp.c + + EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c + + ## end gnulib module strcase + ## begin gnulib module strdup-posix *************** *** 1640,1645 **** --- 1801,1808 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ + -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ + -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ *************** *** 1676,1682 **** -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ ! sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ --- 1839,1847 ---- -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ ! sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ ! -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ ! -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ *************** *** 1722,1727 **** --- 1887,1923 ---- ## end gnulib module string + ## begin gnulib module strings + + BUILT_SOURCES += strings.h + + # We need the following in order to create when the system + # doesn't have one that works with the given compiler. + strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ + -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \ + -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ + -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ + -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/strings.in.h; \ + } > $@-t && \ + mv $@-t $@ + MOSTLYCLEANFILES += strings.h strings.h-t + + EXTRA_DIST += strings.in.h + + ## end gnulib module strings + ## begin gnulib module strnlen1 libgnu_la_SOURCES += strnlen1.h strnlen1.c *************** *** 1762,1769 **** --- 1958,1968 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ + -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ + -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ *************** *** 1844,1849 **** --- 2043,2049 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ + -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ *************** *** 1905,1910 **** --- 2105,2111 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ *************** *** 1951,1956 **** --- 2152,2181 ---- ## end gnulib module sys_times + ## begin gnulib module sys_types + + BUILT_SOURCES += sys/types.h + + # We need the following in order to create when the system + # doesn't have one that works with the given compiler. + sys/types.h: sys_types.in.h $(top_builddir)/config.status + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ + < $(srcdir)/sys_types.in.h; \ + } > $@-t && \ + mv $@-t $@ + MOSTLYCLEANFILES += sys/types.h sys/types.h-t + + EXTRA_DIST += sys_types.in.h + + ## end gnulib module sys_types + ## begin gnulib module sys_uio BUILT_SOURCES += sys/uio.h *************** *** 2045,2050 **** --- 2270,2290 ---- ## end gnulib module times + ## begin gnulib module tmpdir + + libgnu_la_SOURCES += tmpdir.h tmpdir.c + + ## end gnulib module tmpdir + + ## begin gnulib module tmpfile + + + EXTRA_DIST += tmpfile.c + + EXTRA_libgnu_la_SOURCES += tmpfile.c + + ## end gnulib module tmpfile + ## begin gnulib module trunc *************** *** 2078,2085 **** --- 2318,2327 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ + -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ *************** *** 2087,2092 **** --- 2329,2335 ---- -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ + -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ *************** *** 2130,2135 **** --- 2373,2379 ---- -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ + -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ *************** *** 2154,2159 **** --- 2398,2404 ---- -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ + -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ *************** *** 2243,2267 **** ## end gnulib module vsnprintf - ## begin gnulib module warn-on-use - - BUILT_SOURCES += warn-on-use.h - # The warn-on-use.h that gets inserted into generated .h files is the same as - # build-aux/warn-on-use.h, except that it has the copyright header cut off. - warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/^.ifndef/,$$p' \ - < $(top_srcdir)/build-aux/warn-on-use.h \ - > $@-t && \ - mv $@-t $@ - MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t - - WARN_ON_USE_H=warn-on-use.h - - EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h - - ## end gnulib module warn-on-use - ## begin gnulib module wchar BUILT_SOURCES += wchar.h --- 2488,2493 ---- *************** *** 2410,2415 **** --- 2636,2642 ---- -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ + -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/wctype.in.h; \ diff -cNr octave-3.4.2/libgnu/link.c octave-3.4.3/libgnu/link.c *** octave-3.4.2/libgnu/link.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/link.c 2011-08-03 23:59:52.000000000 -0400 *************** *** 157,165 **** int rpl_link (char const *file1, char const *file2) { /* Reject trailing slashes on non-directories. */ ! size_t len1 = strlen (file1); ! size_t len2 = strlen (file2); if ((len1 && file1[len1 - 1] == '/') || (len2 && file2[len2 - 1] == '/')) { --- 157,176 ---- int rpl_link (char const *file1, char const *file2) { + size_t len1; + size_t len2; + struct stat st; + + /* Don't allow IRIX to dereference dangling file2 symlink. */ + if (!lstat (file2, &st)) + { + errno = EEXIST; + return -1; + } + /* Reject trailing slashes on non-directories. */ ! len1 = strlen (file1); ! len2 = strlen (file2); if ((len1 && file1[len1 - 1] == '/') || (len2 && file2[len2 - 1] == '/')) { *************** *** 167,173 **** If stat() fails, then link() should fail for the same reason (although on Solaris 9, link("file/","oops") mistakenly succeeds); if stat() succeeds, require a directory. */ - struct stat st; if (stat (file1, &st)) return -1; if (!S_ISDIR (st.st_mode)) --- 178,183 ---- *************** *** 180,186 **** { /* Fix Cygwin 1.5.x bug where link("a","b/.") creates file "b". */ char *dir = strdup (file2); - struct stat st; char *p; if (!dir) return -1; --- 190,195 ---- diff -cNr octave-3.4.2/libgnu/lseek.c octave-3.4.3/libgnu/lseek.c *** octave-3.4.2/libgnu/lseek.c 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/lseek.c 2011-09-29 13:25:42.000000000 -0400 *************** *** 26,31 **** --- 26,33 ---- /* Windows platforms. */ /* Get GetFileType. */ # include + /* Get _get_osfhandle. */ + # include "msvc-nothrow.h" #else # include #endif diff -cNr octave-3.4.2/libgnu/lstat.c octave-3.4.3/libgnu/lstat.c *** octave-3.4.2/libgnu/lstat.c 2011-04-19 21:36:57.000000000 -0400 --- octave-3.4.3/libgnu/lstat.c 2011-09-29 13:25:42.000000000 -0400 *************** *** 19,24 **** --- 19,28 ---- /* written by Jim Meyering */ + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_lstat doesn't recurse to + rpl_lstat. */ + #define __need_system_sys_stat_h #include #if !HAVE_LSTAT *************** *** 29,35 **** #else /* HAVE_LSTAT */ /* Get the original definition of lstat. It might be defined as a macro. */ - # define __need_system_sys_stat_h # include # include # undef __need_system_sys_stat_h --- 33,38 ---- *************** *** 41,47 **** } /* Specification. */ ! # include # include # include --- 44,53 ---- } /* Specification. */ ! /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc ! eliminates this include because of the preliminary #include ! above. */ ! # include "sys/stat.h" # include # include diff -cNr octave-3.4.2/libgnu/Makefile.in octave-3.4.3/libgnu/Makefile.in *** octave-3.4.2/libgnu/Makefile.in 2011-06-24 10:38:39.000000000 -0400 --- octave-3.4.3/libgnu/Makefile.in 2011-10-10 10:24:13.000000000 -0400 *************** *** 37,50 **** # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software, distributed under the terms of the GNU ! # General Public License. As a special exception to the GNU General ! # Public License, this file may be distributed as part of a program ! # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. ! # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fcntl filemode fnmatch getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint strftime strptime symlink sys_stat sys_time sys_times time times trunc truncf unistd unlink vsnprintf --- 37,62 ---- # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 3 of the License, or ! # (at your option) any later version. ! # ! # This file is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this file. If not, see . ! # ! # As a special exception to the GNU General Public License, ! # this file may be distributed as part of a program that ! # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. ! # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fclose fcntl fflush filemode fnmatch fopen fseek ftell getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint stdio strftime strptime symlink sys_stat sys_time sys_times time times tmpfile trunc truncf unistd unlink vsnprintf *************** *** 78,100 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 90,114 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 104,152 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 118,173 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 168,175 **** stripslash.lo exitfail.lo fd-hook.lo filemode.lo \ filenamecat-lgpl.lo freading.lo localcharset.lo malloca.lo \ nproc.lo openat-die.lo progname.lo save-cwd.lo sockets.lo \ ! strftime.lo strnlen1.lo tempname.lo dup-safer.lo fd-safer.lo \ ! pipe-safer.lo libgnu_la_OBJECTS = $(am_libgnu_la_OBJECTS) libgnu_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ --- 189,196 ---- stripslash.lo exitfail.lo fd-hook.lo filemode.lo \ filenamecat-lgpl.lo freading.lo localcharset.lo malloca.lo \ nproc.lo openat-die.lo progname.lo save-cwd.lo sockets.lo \ ! strftime.lo strnlen1.lo tempname.lo tmpdir.lo dup-safer.lo \ ! fd-safer.lo pipe-safer.lo libgnu_la_OBJECTS = $(am_libgnu_la_OBJECTS) libgnu_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ *************** *** 370,381 **** --- 391,405 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 387,394 **** --- 411,423 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 407,412 **** --- 436,442 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 496,501 **** --- 526,533 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 503,517 **** --- 535,553 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 521,526 **** --- 557,563 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 651,656 **** --- 688,694 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 662,667 **** --- 700,706 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 692,697 **** --- 731,737 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 705,710 **** --- 745,751 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 715,722 **** --- 756,767 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 764,786 **** --- 809,840 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 798,805 **** --- 852,861 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 909,914 **** --- 965,971 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 937,948 **** --- 994,1007 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 959,970 **** --- 1018,1031 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1032,1037 **** --- 1093,1099 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1097,1104 **** --- 1159,1169 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1136,1141 **** --- 1201,1207 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ *************** *** 1325,1342 **** noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = libgnu.la ! EXTRA_DIST = alignof.h alloca.c alloca.in.h \ ! $(top_srcdir)/build-aux/arg-nonnull.h \ ! $(top_srcdir)/build-aux/c++defs.h canonicalize-lgpl.c \ chdir-long.c chdir-long.h chown.c fchown-stub.c cloexec.h \ ! close.c md5.h dirent.in.h dirfd.c dirname.h dosname.h dup2.c \ ! errno.in.h error.c error.h exitfail.h fchdir.c fclose.c \ ! fcntl.c fcntl.in.h fd-hook.h fdopendir.c openat-priv.h \ ! openat-proc.c fflush.c stdio-impl.h filemode.h filenamecat.h \ ! float.c float.in.h floor.c fnmatch.c fnmatch.in.h \ ! fnmatch_loop.c fpurge.c stdio-impl.h freading.h stdio-impl.h \ ! fseek.c fseeko.c stdio-impl.h ftell.c ftello.c stdio-impl.h \ ! getcwd.c getcwd-lgpl.c getdtablesize.c gethostname.c w32sock.h \ getlogin_r.c getopt.c getopt.in.h getopt1.c getopt_int.h \ gettimeofday.c glob-libc.h glob.c glob.in.h intprops.h \ lchown.c link.c config.charset ref-add.sin ref-del.sin lseek.c \ --- 1391,1407 ---- noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = libgnu.la ! EXTRA_DIST = alignof.h alloca.c alloca.in.h canonicalize-lgpl.c \ chdir-long.c chdir-long.h chown.c fchown-stub.c cloexec.h \ ! close.c closedir.c dirent-private.h md5.h dirent.in.h dirfd.c \ ! dirname.h dosname.h dup.c dup2.c errno.in.h error.c error.h \ ! exitfail.h fchdir.c fclose.c fcntl.c fcntl.in.h fd-hook.h \ ! fdopendir.c openat-priv.h openat-proc.c fflush.c stdio-impl.h \ ! filemode.h filename.h filenamecat.h float.c float.in.h floor.c \ ! fnmatch.c fnmatch.in.h fnmatch_loop.c fopen.c fpurge.c \ ! stdio-impl.h freading.h stdio-impl.h fseek.c fseeko.c \ ! stdio-impl.h fstat.c ftell.c ftello.c stdio-impl.h getcwd.c \ ! getcwd-lgpl.c getdtablesize.c gethostname.c w32sock.h \ getlogin_r.c getopt.c getopt.in.h getopt1.c getopt_int.h \ gettimeofday.c glob-libc.h glob.c glob.in.h intprops.h \ lchown.c link.c config.charset ref-add.sin ref-del.sin lseek.c \ *************** *** 1344,1364 **** mbrtowc.c mbsinit.c mbsrtowcs-impl.h mbsrtowcs-state.c \ mbsrtowcs.c memchr.c memchr.valgrind mempcpy.c memrchr.c \ mkdir.c mkfifo.c mkstemp.c mktime-internal.h mktime.c \ nanosleep.c nproc.h open.c at-func.c fchmodat.c fchownat.c \ fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c \ ! openat.h unlinkat.c pathmax.h readlink.c realloc.c rename.c \ ! rmdir.c round.c round.c roundf.c same-inode.h save-cwd.h \ ! select.c sig-handler.h sigaction.c signal.in.h sigprocmask.c \ ! sleep.c w32sock.h stat.c stdbool.in.h stddef.in.h stdint.in.h \ ! stdio.in.h stdlib.in.h strdup.c streq.h strerror.c \ strerror-override.c strerror-override.h strftime.h string.in.h \ ! strptime.c symlink.c sys_select.in.h sys_socket.in.h \ ! sys_stat.in.h sys_time.in.h sys_times.in.h sys_uio.in.h \ ! tempname.h time.in.h time_r.c times.c trunc.c trunc.c truncf.c \ ! unistd.in.h unistd--.h unistd-safer.h unlink.c asnprintf.c \ ! float+.h printf-args.c printf-args.h printf-parse.c \ ! printf-parse.h vasnprintf.c vasnprintf.h verify.h vsnprintf.c \ ! $(top_srcdir)/build-aux/warn-on-use.h wchar.in.h wctype.in.h # The BUILT_SOURCES created by this Makefile snippet are not used via #include # statements but through direct file reference. Therefore this snippet must be --- 1409,1437 ---- mbrtowc.c mbsinit.c mbsrtowcs-impl.h mbsrtowcs-state.c \ mbsrtowcs.c memchr.c memchr.valgrind mempcpy.c memrchr.c \ mkdir.c mkfifo.c mkstemp.c mktime-internal.h mktime.c \ + msvc-inval.c msvc-inval.h msvc-nothrow.c msvc-nothrow.h \ nanosleep.c nproc.h open.c at-func.c fchmodat.c fchownat.c \ fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c \ ! openat.h unlinkat.c dirent-private.h opendir.c pathmax.h \ ! raise.c dirent-private.h readdir.c readlink.c realloc.c \ ! rename.c rmdir.c round.c round.c roundf.c same-inode.h \ ! save-cwd.h select.c sig-handler.h sigaction.c signal.in.h \ ! sigprocmask.c sleep.c \ ! $(top_srcdir)/build-aux/snippet/_Noreturn.h \ ! $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ ! $(top_srcdir)/build-aux/snippet/c++defs.h \ ! $(top_srcdir)/build-aux/snippet/warn-on-use.h w32sock.h stat.c \ ! stdbool.in.h stddef.in.h stdint.in.h stdio.in.h stdlib.in.h \ ! strcasecmp.c strncasecmp.c strdup.c streq.h strerror.c \ strerror-override.c strerror-override.h strftime.h string.in.h \ ! strings.in.h strptime.c symlink.c sys_select.in.h \ ! sys_socket.in.h sys_stat.in.h sys_time.in.h sys_times.in.h \ ! sys_types.in.h sys_uio.in.h tempname.h time.in.h time_r.c \ ! times.c tmpfile.c trunc.c trunc.c truncf.c unistd.in.h \ ! unistd--.h unistd-safer.h unlink.c asnprintf.c float+.h \ ! printf-args.c printf-args.h printf-parse.c printf-parse.h \ ! vasnprintf.c vasnprintf.h verify.h vsnprintf.c wchar.in.h \ ! wctype.in.h # The BUILT_SOURCES created by this Makefile snippet are not used via #include # statements but through direct file reference. Therefore this snippet must be *************** *** 1369,1392 **** # statements but through direct file reference. Therefore this snippet must be # present in all Makefile.am that need it. This is ensured by the applicability # 'all' defined above. ! BUILT_SOURCES = $(ALLOCA_H) arg-nonnull.h c++defs.h configmake.h \ ! dirent.h $(ERRNO_H) fcntl.h $(FLOAT_H) $(FNMATCH_H) \ ! $(GETOPT_H) $(GLOB_H) math.h signal.h $(STDBOOL_H) $(STDDEF_H) \ ! $(STDINT_H) stdio.h stdlib.h string.h sys/select.h \ ! sys/socket.h sys/stat.h sys/time.h sys/times.h sys/uio.h \ ! time.h unistd.h warn-on-use.h wchar.h wctype.h SUFFIXES = .sed .sin ! MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t arg-nonnull.h \ ! arg-nonnull.h-t c++defs.h c++defs.h-t dirent.h dirent.h-t \ ! errno.h errno.h-t fcntl.h fcntl.h-t float.h float.h-t \ ! fnmatch.h fnmatch.h-t getopt.h getopt.h-t glob.h glob.h-t \ ! math.h math.h-t signal.h signal.h-t stdbool.h stdbool.h-t \ ! stddef.h stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t \ ! stdlib.h stdlib.h-t string.h string.h-t sys/select.h \ sys/select.h-t sys/socket.h sys/socket.h-t sys/stat.h \ sys/stat.h-t sys/time.h sys/time.h-t sys/times.h sys/times.h-t \ ! sys/uio.h sys/uio.h-t time.h time.h-t unistd.h unistd.h-t \ ! warn-on-use.h warn-on-use.h-t wchar.h wchar.h-t wctype.h \ wctype.h-t MOSTLYCLEANDIRS = sys sys sys sys sys CLEANFILES = configmake.h configmake.h-t charset.alias ref-add.sed \ --- 1442,1466 ---- # statements but through direct file reference. Therefore this snippet must be # present in all Makefile.am that need it. This is ensured by the applicability # 'all' defined above. ! BUILT_SOURCES = $(ALLOCA_H) configmake.h dirent.h $(ERRNO_H) fcntl.h \ ! $(FLOAT_H) $(FNMATCH_H) $(GETOPT_H) $(GLOB_H) math.h signal.h \ ! arg-nonnull.h c++defs.h warn-on-use.h $(STDBOOL_H) $(STDDEF_H) \ ! $(STDINT_H) stdio.h stdlib.h string.h strings.h sys/select.h \ ! sys/socket.h sys/stat.h sys/time.h sys/times.h sys/types.h \ ! sys/uio.h time.h unistd.h wchar.h wctype.h SUFFIXES = .sed .sin ! MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t dirent.h \ ! dirent.h-t errno.h errno.h-t fcntl.h fcntl.h-t float.h \ ! float.h-t fnmatch.h fnmatch.h-t getopt.h getopt.h-t glob.h \ ! glob.h-t math.h math.h-t signal.h signal.h-t arg-nonnull.h \ ! arg-nonnull.h-t c++defs.h c++defs.h-t warn-on-use.h \ ! warn-on-use.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t \ ! stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t \ ! string.h string.h-t strings.h strings.h-t sys/select.h \ sys/select.h-t sys/socket.h sys/socket.h-t sys/stat.h \ sys/stat.h-t sys/time.h sys/time.h-t sys/times.h sys/times.h-t \ ! sys/types.h sys/types.h-t sys/uio.h sys/uio.h-t time.h \ ! time.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h \ wctype.h-t MOSTLYCLEANDIRS = sys sys sys sys sys CLEANFILES = configmake.h configmake.h-t charset.alias ref-add.sed \ *************** *** 1401,1434 **** filenamecat-lgpl.c freading.c gettext.h localcharset.h \ localcharset.c malloca.c nproc.c openat-die.c progname.h \ progname.c save-cwd.c size_max.h sockets.h sockets.c \ ! strftime.c strnlen1.h strnlen1.c tempname.c dup-safer.c \ ! fd-safer.c pipe-safer.c xsize.h libgnu_la_LIBADD = $(gl_LTLIBOBJS) @LTALLOCA@ libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS) @LTALLOCA@ EXTRA_libgnu_la_SOURCES = alloca.c canonicalize-lgpl.c chdir-long.c \ ! chown.c fchown-stub.c close.c dirfd.c dup2.c error.c fchdir.c \ ! fclose.c fcntl.c fdopendir.c openat-proc.c fflush.c float.c \ ! floor.c fnmatch.c fnmatch_loop.c fpurge.c fseek.c fseeko.c \ ! ftell.c ftello.c getcwd.c getcwd-lgpl.c getdtablesize.c \ ! gethostname.c getlogin_r.c getopt.c getopt1.c gettimeofday.c \ ! glob.c lchown.c link.c lseek.c lstat.c malloc.c mbrtowc.c \ ! mbsinit.c mbsrtowcs-state.c mbsrtowcs.c memchr.c mempcpy.c \ ! memrchr.c mkdir.c mkfifo.c mkstemp.c mktime.c nanosleep.c \ open.c at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c \ ! openat-proc.c openat.c unlinkat.c readlink.c realloc.c \ ! rename.c rmdir.c round.c round.c roundf.c select.c sigaction.c \ ! sigprocmask.c sleep.c stat.c strdup.c strerror.c \ ! strerror-override.c strptime.c symlink.c time_r.c times.c \ ! trunc.c trunc.c truncf.c unlink.c asnprintf.c printf-args.c \ printf-parse.c vasnprintf.c vsnprintf.c libgnu_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(COPYSIGN_LIBM) \ $(FLOOR_LIBM) $(GETHOSTNAME_LIB) $(LIBSOCKET) $(LIB_NANOSLEEP) \ ! $(LTLIBINTL) $(ROUNDF_LIBM) $(ROUND_LIBM) $(TRUNCF_LIBM) \ ! $(TRUNC_LIBM) ! ARG_NONNULL_H = arg-nonnull.h ! CXXDEFS_H = c++defs.h charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp WARN_ON_USE_H = warn-on-use.h all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive --- 1475,1515 ---- filenamecat-lgpl.c freading.c gettext.h localcharset.h \ localcharset.c malloca.c nproc.c openat-die.c progname.h \ progname.c save-cwd.c size_max.h sockets.h sockets.c \ ! strftime.c strnlen1.h strnlen1.c tempname.c tmpdir.h tmpdir.c \ ! dup-safer.c fd-safer.c pipe-safer.c xsize.h libgnu_la_LIBADD = $(gl_LTLIBOBJS) @LTALLOCA@ libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS) @LTALLOCA@ EXTRA_libgnu_la_SOURCES = alloca.c canonicalize-lgpl.c chdir-long.c \ ! chown.c fchown-stub.c close.c closedir.c dirfd.c dup.c dup2.c \ ! error.c fchdir.c fclose.c fcntl.c fdopendir.c openat-proc.c \ ! fflush.c float.c floor.c fnmatch.c fnmatch_loop.c fopen.c \ ! fpurge.c fseek.c fseeko.c fstat.c ftell.c ftello.c getcwd.c \ ! getcwd-lgpl.c getdtablesize.c gethostname.c getlogin_r.c \ ! getopt.c getopt1.c gettimeofday.c glob.c lchown.c link.c \ ! lseek.c lstat.c malloc.c mbrtowc.c mbsinit.c mbsrtowcs-state.c \ ! mbsrtowcs.c memchr.c mempcpy.c memrchr.c mkdir.c mkfifo.c \ ! mkstemp.c mktime.c msvc-inval.c msvc-nothrow.c nanosleep.c \ open.c at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c \ ! openat-proc.c openat.c unlinkat.c opendir.c raise.c readdir.c \ ! readlink.c realloc.c rename.c rmdir.c round.c round.c roundf.c \ ! select.c sigaction.c sigprocmask.c sleep.c stat.c strcasecmp.c \ ! strncasecmp.c strdup.c strerror.c strerror-override.c \ ! strptime.c symlink.c time_r.c times.c tmpfile.c trunc.c \ ! trunc.c truncf.c unlink.c asnprintf.c printf-args.c \ printf-parse.c vasnprintf.c vsnprintf.c libgnu_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(COPYSIGN_LIBM) \ $(FLOOR_LIBM) $(GETHOSTNAME_LIB) $(LIBSOCKET) $(LIB_NANOSLEEP) \ ! $(LIB_SELECT) $(LTLIBINTL) $(ROUNDF_LIBM) $(ROUND_LIBM) \ ! $(TRUNCF_LIBM) $(TRUNC_LIBM) charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp + + # Because this Makefile snippet defines a variable used by other + # gnulib Makefile snippets, it must be present in all Makefile.am that + # need it. This is ensured by the applicability 'all' defined above. + _NORETURN_H = $(top_srcdir)/build-aux/snippet/_Noreturn.h + ARG_NONNULL_H = arg-nonnull.h + CXXDEFS_H = c++defs.h WARN_ON_USE_H = warn-on-use.h all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive *************** *** 1499,1507 **** --- 1580,1590 ---- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cloexec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/close.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closedir.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirfd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname-lgpl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup-safer.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exitfail.Plo@am__quote@ *************** *** 1521,1530 **** --- 1604,1615 ---- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/floor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fnmatch.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fnmatch_loop.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fopen.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fpurge.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/freading.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseek.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseeko.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstatat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftello.Plo@am__quote@ *************** *** 1557,1572 **** --- 1642,1662 ---- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkfifo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkstemp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-inval.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nproc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-die.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-proc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opendir.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe-safer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/raise.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readdir.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realloc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rename.Plo@am__quote@ *************** *** 1580,1596 **** --- 1670,1690 ---- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sleep.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockets.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasecmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strftime.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strncasecmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen1.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strptime.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempname.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tmpdir.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tmpfile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trunc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/truncf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Plo@am__quote@ *************** *** 1957,1978 **** @GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@ @GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ - # The arg-nonnull.h that gets inserted into generated .h files is the same as - # build-aux/arg-nonnull.h, except that it has the copyright header cut off. - arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/GL_ARG_NONNULL/,$$p' \ - < $(top_srcdir)/build-aux/arg-nonnull.h \ - > $@-t && \ - mv $@-t $@ - # The c++defs.h that gets inserted into generated .h files is the same as - # build-aux/c++defs.h, except that it has the copyright header cut off. - c++defs.h: $(top_srcdir)/build-aux/c++defs.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/_GL_CXXDEFS/,$$p' \ - < $(top_srcdir)/build-aux/c++defs.h \ - > $@-t && \ - mv $@-t $@ # Listed in the same order as the GNU makefile conventions, and # provided by autoconf 2.59c+. --- 2051,2056 ---- *************** *** 2008,2019 **** echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ echo '#define PKGLIBDIR "$(pkglibdir)"'; \ echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ ! } | sed '/""/d' > $@-t && \ ! if test -f $@ && cmp $@-t $@ > /dev/null; then \ ! rm -f $@-t; \ ! else \ ! rm -f $@; mv $@-t $@; \ ! fi # We need the following in order to create when the system # doesn't have one that works with the given compiler. --- 2086,2093 ---- echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ echo '#define PKGLIBDIR "$(pkglibdir)"'; \ echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ ! } | sed '/""/d' > $@-t ! mv -f $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. *************** *** 2021,2043 **** $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ - -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ --- 2095,2126 ---- $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ + -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \ + -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \ + -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \ + -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \ -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ + -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \ + -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \ + -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \ + -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \ -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ + -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ *************** *** 2327,2348 **** --- 2410,2463 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ + -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ + -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ + -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ + -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ + -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ + -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/signal.in.h; \ } > $@-t && \ mv $@-t $@ + # The arg-nonnull.h that gets inserted into generated .h files is the same as + # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut + # off. + arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ + # The c++defs.h that gets inserted into generated .h files is the same as + # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. + c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/_GL_CXXDEFS/,$$p' \ + < $(top_srcdir)/build-aux/snippet/c++defs.h \ + > $@-t && \ + mv $@-t $@ + # The warn-on-use.h that gets inserted into generated .h files is the same as + # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut + # off. + warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/^.ifndef/,$$p' \ + < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ + > $@-t && \ + mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works. *************** *** 2423,2428 **** --- 2538,2544 ---- -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ + -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ *************** *** 2447,2452 **** --- 2563,2569 ---- -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ + -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ *************** *** 2485,2495 **** --- 2602,2615 ---- -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ + -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ + -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ + -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ *************** *** 2528,2534 **** # We need the following in order to create when the system # doesn't have one that works with the given compiler. ! stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ --- 2648,2655 ---- # We need the following in order to create when the system # doesn't have one that works with the given compiler. ! stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ ! $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ *************** *** 2602,2607 **** --- 2723,2729 ---- -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ *************** *** 2617,2622 **** --- 2739,2746 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ + -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ + -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ *************** *** 2653,2659 **** -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ ! sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ --- 2777,2785 ---- -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ ! sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ ! -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ ! -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ *************** *** 2694,2699 **** --- 2820,2847 ---- } > $@-t && \ mv $@-t $@ + # We need the following in order to create when the system + # doesn't have one that works with the given compiler. + strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ + -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \ + -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ + -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ + -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/strings.in.h; \ + } > $@-t && \ + mv $@-t $@ + # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) *************** *** 2706,2713 **** --- 2854,2864 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ + -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ + -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ *************** *** 2768,2773 **** --- 2919,2925 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ + -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ *************** *** 2819,2824 **** --- 2971,2977 ---- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ *************** *** 2850,2855 **** --- 3003,3023 ---- } > $@-t && \ mv $@-t $@ + # We need the following in order to create when the system + # doesn't have one that works with the given compiler. + sys/types.h: sys_types.in.h $(top_builddir)/config.status + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ + < $(srcdir)/sys_types.in.h; \ + } > $@-t && \ + mv $@-t $@ + # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status *************** *** 2910,2917 **** --- 3078,3087 ---- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ + -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ *************** *** 2919,2924 **** --- 3089,3095 ---- -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ + -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ *************** *** 2962,2967 **** --- 3133,3139 ---- -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ + -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ *************** *** 2986,2991 **** --- 3158,3164 ---- -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ + -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ *************** *** 3027,3040 **** -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ - # The warn-on-use.h that gets inserted into generated .h files is the same as - # build-aux/warn-on-use.h, except that it has the copyright header cut off. - warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h - $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/^.ifndef/,$$p' \ - < $(top_srcdir)/build-aux/warn-on-use.h \ - > $@-t && \ - mv $@-t $@ # We need the following in order to create when the system # version does not work standalone. --- 3200,3205 ---- *************** *** 3171,3176 **** --- 3336,3342 ---- -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ + -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/wctype.in.h; \ diff -cNr octave-3.4.2/libgnu/math.in.h octave-3.4.3/libgnu/math.in.h *** octave-3.4.2/libgnu/math.in.h 2011-06-10 14:00:48.000000000 -0400 --- octave-3.4.3/libgnu/math.in.h 2011-09-29 13:25:42.000000000 -0400 *************** *** 77,84 **** #if !defined NAN || @REPLACE_NAN@ # if !GNULIB_defined_NAN # undef NAN ! /* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ ! # ifdef __DECC static float _NaN () { --- 77,85 ---- #if !defined NAN || @REPLACE_NAN@ # if !GNULIB_defined_NAN # undef NAN ! /* The Compaq (ex-DEC) C 6.4 compiler and the Microsoft MSVC 9 compiler ! choke on the expression 0.0 / 0.0. */ ! # if defined __DECC || defined _MSC_VER static float _NaN () { *************** *** 188,193 **** --- 189,195 ---- #if @GNULIB_CEILF@ # if @REPLACE_CEILF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef ceilf # define ceilf rpl_ceilf # endif _GL_FUNCDECL_RPL (ceilf, float, (float x)); *************** *** 223,228 **** --- 225,231 ---- #if @GNULIB_CEILL@ # if @REPLACE_CEILL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef ceill # define ceill rpl_ceill # endif _GL_FUNCDECL_RPL (ceill, long double, (long double x)); *************** *** 276,281 **** --- 279,285 ---- #if @GNULIB_FLOORF@ # if @REPLACE_FLOORF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef floorf # define floorf rpl_floorf # endif _GL_FUNCDECL_RPL (floorf, float, (float x)); *************** *** 311,316 **** --- 315,321 ---- #if @GNULIB_FLOORL@ # if @REPLACE_FLOORL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef floorl # define floorl rpl_floorl # endif _GL_FUNCDECL_RPL (floorl, long double, (long double x)); *************** *** 340,345 **** --- 345,351 ---- Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXPL@ && @REPLACE_FREXPL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef frexpl # define frexpl rpl_frexpl # endif _GL_FUNCDECL_RPL (frexpl, long double, *************** *** 369,374 **** --- 375,381 ---- /* Return x * 2^exp. */ #if @GNULIB_LDEXPL@ && @REPLACE_LDEXPL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef ldexpl # define ldexpl rpl_ldexpl # endif _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp)); diff -cNr octave-3.4.2/libgnu/msvc-inval.c octave-3.4.3/libgnu/msvc-inval.c *** octave-3.4.2/libgnu/msvc-inval.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/msvc-inval.c 2011-09-29 13:25:42.000000000 -0400 *************** *** 0 **** --- 1,132 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Invalid parameter handler for MSVC runtime libraries. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #include + + /* Specification. */ + #include "msvc-inval.h" + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ + && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) + + /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler + declaration. */ + # include + + # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING + + static void cdecl + gl_msvc_invalid_parameter_handler (const wchar_t *expression, + const wchar_t *function, + const wchar_t *file, + unsigned int line, + uintptr_t dummy) + { + } + + # else + + /* Get declarations of the Win32 API functions. */ + # define WIN32_LEAN_AND_MEAN + # include + + # if defined _MSC_VER + + static void cdecl + gl_msvc_invalid_parameter_handler (const wchar_t *expression, + const wchar_t *function, + const wchar_t *file, + unsigned int line, + uintptr_t dummy) + { + RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); + } + + # else + + /* An index to thread-local storage. */ + static DWORD tls_index; + static int tls_initialized /* = 0 */; + + /* Used as a fallback only. */ + static struct gl_msvc_inval_per_thread not_per_thread; + + struct gl_msvc_inval_per_thread * + gl_msvc_inval_current (void) + { + if (!tls_initialized) + { + tls_index = TlsAlloc (); + tls_initialized = 1; + } + if (tls_index == TLS_OUT_OF_INDEXES) + /* TlsAlloc had failed. */ + return ¬_per_thread; + else + { + struct gl_msvc_inval_per_thread *pointer = + (struct gl_msvc_inval_per_thread *) TlsGetValue (tls_index); + if (pointer == NULL) + { + /* First call. Allocate a new 'struct gl_msvc_inval_per_thread'. */ + pointer = + (struct gl_msvc_inval_per_thread *) + malloc (sizeof (struct gl_msvc_inval_per_thread)); + if (pointer == NULL) + /* Could not allocate memory. Use the global storage. */ + pointer = ¬_per_thread; + TlsSetValue (tls_index, pointer); + } + return pointer; + } + } + + static void cdecl + gl_msvc_invalid_parameter_handler (const wchar_t *expression, + const wchar_t *function, + const wchar_t *file, + unsigned int line, + uintptr_t dummy) + { + struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); + if (current->restart_valid) + longjmp (current->restart, 1); + else + /* An invalid parameter notification from outside the gnulib code. + Give the caller a chance to intervene. */ + RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); + } + + # endif + + # endif + + static int gl_msvc_inval_initialized /* = 0 */; + + void + gl_msvc_inval_ensure_handler (void) + { + if (gl_msvc_inval_initialized == 0) + { + _set_invalid_parameter_handler (gl_msvc_invalid_parameter_handler); + gl_msvc_inval_initialized = 1; + } + } + + #endif diff -cNr octave-3.4.2/libgnu/msvc-inval.h octave-3.4.3/libgnu/msvc-inval.h *** octave-3.4.2/libgnu/msvc-inval.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/msvc-inval.h 2011-09-29 13:25:42.000000000 -0400 *************** *** 0 **** --- 1,225 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Invalid parameter handler for MSVC runtime libraries. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #ifndef _MSVC_INVAL_H + #define _MSVC_INVAL_H + + /* With MSVC runtime libraries with the "invalid parameter handler" concept, + functions like fprintf(), dup2(), or close() crash when the caller passes + an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) + instead. + This file defines macros that turn such an invalid parameter notification + into a non-local exit. An error code can then be produced at the target + of this exit. You can thus write code like + + TRY_MSVC_INVAL + { + + } + CATCH_MSVC_INVAL + { + + } + DONE_MSVC_INVAL; + + This entire block expands to a single statement. + + The handling of invalid parameters can be done in three ways: + + * The default way, which is reasonable for programs (not libraries): + AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [DEFAULT_HANDLING]) + + * The way for libraries that make "hairy" calls (like close(-1), or + fclose(fp) where fileno(fp) is closed, or simply getdtablesize()): + AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [HAIRY_LIBRARY_HANDLING]) + + * The way for libraries that make no "hairy" calls: + AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [SANE_LIBRARY_HANDLING]) + */ + + #define DEFAULT_HANDLING 0 + #define HAIRY_LIBRARY_HANDLING 1 + #define SANE_LIBRARY_HANDLING 2 + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ + && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) + /* A native Windows platform with the "invalid parameter handler" concept, + and either DEFAULT_HANDLING or HAIRY_LIBRARY_HANDLING. */ + + # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING + /* Default handling. */ + + # ifdef __cplusplus + extern "C" { + # endif + + /* Ensure that the invalid parameter handler in installed that just returns. + Because we assume no other part of the program installs a different + invalid parameter handler, this solution is multithread-safe. */ + extern void gl_msvc_inval_ensure_handler (void); + + # ifdef __cplusplus + } + # endif + + # define TRY_MSVC_INVAL \ + do \ + { \ + gl_msvc_inval_ensure_handler (); \ + if (1) + # define CATCH_MSVC_INVAL \ + else + # define DONE_MSVC_INVAL \ + } \ + while (0) + + # else + /* Handling for hairy libraries. */ + + # include + + /* Gnulib can define its own status codes, as described in the page + "Raising Software Exceptions" on microsoft.com + . + Our status codes are composed of + - 0xE0000000, mandatory for all user-defined status codes, + - 0x474E550, a API identifier ("GNU"), + - 0, 1, 2, ..., used to distinguish different status codes from the + same API. */ + # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) + + # if defined _MSC_VER + /* A compiler that supports __try/__except, as described in the page + "try-except statement" on microsoft.com + . + With __try/__except, we can use the multithread-safe exception handling. */ + + # ifdef __cplusplus + extern "C" { + # endif + + /* Ensure that the invalid parameter handler in installed that raises a + software exception with code STATUS_GNULIB_INVALID_PARAMETER. + Because we assume no other part of the program installs a different + invalid parameter handler, this solution is multithread-safe. */ + extern void gl_msvc_inval_ensure_handler (void); + + # ifdef __cplusplus + } + # endif + + # define TRY_MSVC_INVAL \ + do \ + { \ + gl_msvc_inval_ensure_handler (); \ + __try + # define CATCH_MSVC_INVAL \ + __except (GetExceptionCode () == STATUS_GNULIB_INVALID_PARAMETER \ + ? EXCEPTION_EXECUTE_HANDLER \ + : EXCEPTION_CONTINUE_SEARCH) + # define DONE_MSVC_INVAL \ + } \ + while (0) + + # else + /* Any compiler. + We can only use setjmp/longjmp. */ + + # include + + # ifdef __cplusplus + extern "C" { + # endif + + struct gl_msvc_inval_per_thread + { + /* The restart that will resume execution at the code between + CATCH_MSVC_INVAL and DONE_MSVC_INVAL. It is enabled only between + TRY_MSVC_INVAL and CATCH_MSVC_INVAL. */ + jmp_buf restart; + + /* Tells whether the contents of restart is valid. */ + int restart_valid; + }; + + /* Ensure that the invalid parameter handler in installed that passes + control to the gl_msvc_inval_restart if it is valid, or raises a + software exception with code STATUS_GNULIB_INVALID_PARAMETER otherwise. + Because we assume no other part of the program installs a different + invalid parameter handler, this solution is multithread-safe. */ + extern void gl_msvc_inval_ensure_handler (void); + + /* Return a pointer to the per-thread data for the current thread. */ + extern struct gl_msvc_inval_per_thread *gl_msvc_inval_current (void); + + # ifdef __cplusplus + } + # endif + + # define TRY_MSVC_INVAL \ + do \ + { \ + struct gl_msvc_inval_per_thread *msvc_inval_current; \ + gl_msvc_inval_ensure_handler (); \ + msvc_inval_current = gl_msvc_inval_current (); \ + /* First, initialize gl_msvc_inval_restart. */ \ + if (setjmp (msvc_inval_current->restart) == 0) \ + { \ + /* Then, mark it as valid. */ \ + msvc_inval_current->restart_valid = 1; + # define CATCH_MSVC_INVAL \ + /* Execution completed. \ + Mark gl_msvc_inval_restart as invalid. */ \ + msvc_inval_current->restart_valid = 0; \ + } \ + else \ + { \ + /* Execution triggered an invalid parameter notification. \ + Mark gl_msvc_inval_restart as invalid. */ \ + msvc_inval_current->restart_valid = 0; + # define DONE_MSVC_INVAL \ + } \ + } \ + while (0) + + # endif + + # endif + + #else + /* A platform that does not need to the invalid parameter handler, + or when SANE_LIBRARY_HANDLING is desired. */ + + /* The braces here avoid GCC warnings like + "warning: suggest explicit braces to avoid ambiguous `else'". */ + # define TRY_MSVC_INVAL \ + do \ + { \ + if (1) + # define CATCH_MSVC_INVAL \ + else + # define DONE_MSVC_INVAL \ + } \ + while (0) + + #endif + + #endif /* _MSVC_INVAL_H */ diff -cNr octave-3.4.2/libgnu/msvc-nothrow.c octave-3.4.3/libgnu/msvc-nothrow.c *** octave-3.4.2/libgnu/msvc-nothrow.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/msvc-nothrow.c 2011-09-29 13:25:42.000000000 -0400 *************** *** 0 **** --- 1,52 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Wrappers that don't throw invalid parameter notifications + with MSVC runtime libraries. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #include + + /* Specification. */ + #include "msvc-nothrow.h" + + /* Get declarations of the Win32 API functions. */ + #define WIN32_LEAN_AND_MEAN + #include + + #include "msvc-inval.h" + + #undef _get_osfhandle + + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + intptr_t + _gl_nothrow_get_osfhandle (int fd) + { + intptr_t result; + + TRY_MSVC_INVAL + { + result = _get_osfhandle (fd); + } + CATCH_MSVC_INVAL + { + result = (intptr_t) INVALID_HANDLE_VALUE; + } + DONE_MSVC_INVAL; + + return result; + } + #endif diff -cNr octave-3.4.2/libgnu/msvc-nothrow.h octave-3.4.3/libgnu/msvc-nothrow.h *** octave-3.4.2/libgnu/msvc-nothrow.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/msvc-nothrow.h 2011-09-29 13:25:42.000000000 -0400 *************** *** 0 **** --- 1,46 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Wrappers that don't throw invalid parameter notifications + with MSVC runtime libraries. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #ifndef _MSVC_NOTHROW_H + #define _MSVC_NOTHROW_H + + /* With MSVC runtime libraries with the "invalid parameter handler" concept, + functions like fprintf(), dup2(), or close() crash when the caller passes + an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) + instead. + This file defines wrappers that turn such an invalid parameter notification + into an error code. */ + + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + + /* Get original declaration of _get_osfhandle. */ + # include + + # if HAVE_MSVC_INVALID_PARAMETER_HANDLER + + /* Override _get_osfhandle. */ + extern intptr_t _gl_nothrow_get_osfhandle (int fd); + # define _get_osfhandle _gl_nothrow_get_osfhandle + + # endif + + #endif + + #endif /* _MSVC_NOTHROW_H */ diff -cNr octave-3.4.2/libgnu/nanosleep.c octave-3.4.3/libgnu/nanosleep.c *** octave-3.4.2/libgnu/nanosleep.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/nanosleep.c 2011-08-03 23:59:52.000000000 -0400 *************** *** 67,73 **** const time_t limit = 24 * 24 * 60 * 60; time_t seconds = requested_delay->tv_sec; struct timespec intermediate; ! intermediate.tv_nsec = 0; while (limit < seconds) { --- 67,73 ---- const time_t limit = 24 * 24 * 60 * 60; time_t seconds = requested_delay->tv_sec; struct timespec intermediate; ! intermediate.tv_nsec = requested_delay->tv_nsec; while (limit < seconds) { *************** *** 78,97 **** if (result) { if (remaining_delay) ! { ! remaining_delay->tv_sec += seconds; ! remaining_delay->tv_nsec += requested_delay->tv_nsec; ! if (BILLION <= requested_delay->tv_nsec) ! { ! remaining_delay->tv_sec++; ! remaining_delay->tv_nsec -= BILLION; ! } ! } return result; } } intermediate.tv_sec = seconds; - intermediate.tv_nsec = requested_delay->tv_nsec; return nanosleep (&intermediate, remaining_delay); } } --- 78,89 ---- if (result) { if (remaining_delay) ! remaining_delay->tv_sec += seconds; return result; } + intermediate.tv_nsec = 0; } intermediate.tv_sec = seconds; return nanosleep (&intermediate, remaining_delay); } } *************** *** 220,231 **** tv_delay.tv_usec = (ts_delay->tv_nsec + 999) / 1000; if (tv_delay.tv_usec == 1000000) { ! time_t t1 = tv_delay.tv_sec + 1; ! if (t1 < tv_delay.tv_sec) tv_delay.tv_usec = 1000000 - 1; /* close enough */ else { ! tv_delay.tv_sec = t1; tv_delay.tv_usec = 0; } } --- 212,222 ---- tv_delay.tv_usec = (ts_delay->tv_nsec + 999) / 1000; if (tv_delay.tv_usec == 1000000) { ! if (tv_delay.tv_sec == TYPE_MAXIMUM (time_t)) tv_delay.tv_usec = 1000000 - 1; /* close enough */ else { ! tv_delay.tv_sec++; tv_delay.tv_usec = 0; } } diff -cNr octave-3.4.2/libgnu/openat.c octave-3.4.3/libgnu/openat.c *** octave-3.4.2/libgnu/openat.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/openat.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 18,25 **** --- 18,46 ---- /* written by Jim Meyering */ + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_openat doesn't recurse to + rpl_openat. */ + #define __need_system_fcntl_h #include + /* Get the original definition of open. It might be defined as a macro. */ + #include + #include + #undef __need_system_fcntl_h + + #if HAVE_OPENAT + static inline int + orig_openat (int fd, char const *filename, int flags, mode_t mode) + { + return openat (fd, filename, flags, mode); + } + #endif + + /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates + this include because of the preliminary #include above. */ + #include "fcntl.h" + #include "openat.h" #include *************** *** 33,40 **** #if HAVE_OPENAT - # undef openat - /* Like openat, but work around Solaris 9 bugs with trailing slash. */ int rpl_openat (int dfd, char const *filename, int flags, ...) --- 54,59 ---- *************** *** 88,94 **** } # endif ! fd = openat (dfd, filename, flags, mode); # if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and fd does not refer to a directory, --- 107,113 ---- } # endif ! fd = orig_openat (dfd, filename, flags, mode); # if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and fd does not refer to a directory, diff -cNr octave-3.4.2/libgnu/openat-die.c octave-3.4.3/libgnu/openat-die.c *** octave-3.4.2/libgnu/openat-die.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/openat-die.c 2011-08-03 23:59:52.000000000 -0400 *************** *** 39,45 **** error (exit_failure, errnum, _("unable to record current working directory")); #endif ! /* The `noreturn' attribute cannot be applied to error, since it returns when its first argument is 0. To help compilers understand that this function does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */ --- 39,45 ---- error (exit_failure, errnum, _("unable to record current working directory")); #endif ! /* _Noreturn cannot be applied to error, since it returns when its first argument is 0. To help compilers understand that this function does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */ diff -cNr octave-3.4.2/libgnu/openat.h octave-3.4.3/libgnu/openat.h *** octave-3.4.2/libgnu/openat.h 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/openat.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 29,40 **** #include #include - #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8) - # define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) - #else - # define _GL_ATTRIBUTE_NORETURN /* empty */ - #endif - #if !HAVE_OPENAT int openat_permissive (int fd, char const *file, int flags, mode_t mode, --- 29,34 ---- *************** *** 49,56 **** #endif ! void openat_restore_fail (int) _GL_ATTRIBUTE_NORETURN; ! void openat_save_fail (int) _GL_ATTRIBUTE_NORETURN; /* Using these function names makes application code slightly more readable than it would be with --- 43,50 ---- #endif ! _Noreturn void openat_restore_fail (int); ! _Noreturn void openat_save_fail (int); /* Using these function names makes application code slightly more readable than it would be with diff -cNr octave-3.4.2/libgnu/open.c octave-3.4.3/libgnu/open.c *** octave-3.4.2/libgnu/open.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/open.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 18,30 **** /* Written by Bruno Haible , 2007. */ #include /* Get the original definition of open. It might be defined as a macro. */ - #define __need_system_fcntl_h #include - #undef __need_system_fcntl_h #include static inline int orig_open (const char *filename, int flags, mode_t mode) --- 18,33 ---- /* Written by Bruno Haible , 2007. */ + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_open doesn't recurse to + rpl_open. */ + #define __need_system_fcntl_h #include /* Get the original definition of open. It might be defined as a macro. */ #include #include + #undef __need_system_fcntl_h static inline int orig_open (const char *filename, int flags, mode_t mode) *************** *** 33,39 **** } /* Specification. */ ! #include #include #include --- 36,44 ---- } /* Specification. */ ! /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates ! this include because of the preliminary #include above. */ ! #include "fcntl.h" #include #include diff -cNr octave-3.4.2/libgnu/opendir.c octave-3.4.3/libgnu/opendir.c *** octave-3.4.2/libgnu/opendir.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/opendir.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 0 **** --- 1,150 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Start reading the entries of a directory. + Copyright (C) 2006-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #include + + /* Specification. */ + #include + + #include + #include + + #if HAVE_OPENDIR + + /* Override opendir(), to keep track of the open file descriptors. + Needed because there is a function dirfd(). */ + + #else + + # include + + # include "dirent-private.h" + # include "filename.h" + + #endif + + #if REPLACE_FCHDIR + # include + #endif + + DIR * + opendir (const char *dir_name) + { + #if HAVE_OPENDIR + # undef opendir + DIR *dirp; + + dirp = opendir (dir_name); + if (dirp == NULL) + return NULL; + + #else + + char dir_name_mask[MAX_PATH + 1 + 1 + 1]; + int status; + HANDLE current; + WIN32_FIND_DATA entry; + struct gl_directory *dirp; + + if (dir_name[0] == '\0') + { + errno = ENOENT; + return NULL; + } + + /* Make the dir_name absolute, so that we continue reading the same + directory if the current directory changed between this opendir() + call and a subsequent rewinddir() call. */ + if (!GetFullPathName (dir_name, MAX_PATH, dir_name_mask, NULL)) + { + errno = EINVAL; + return NULL; + } + + /* Append the mask. + "*" and "*.*" appear to be equivalent. */ + { + char *p; + + p = dir_name_mask + strlen (dir_name_mask); + if (p > dir_name_mask && !ISSLASH (p[-1])) + *p++ = '\\'; + *p++ = '*'; + *p = '\0'; + } + + /* Start searching the directory. */ + status = -1; + current = FindFirstFile (dir_name_mask, &entry); + if (current == INVALID_HANDLE_VALUE) + { + switch (GetLastError ()) + { + case ERROR_FILE_NOT_FOUND: + status = -2; + break; + case ERROR_PATH_NOT_FOUND: + errno = ENOENT; + return NULL; + case ERROR_DIRECTORY: + errno = ENOTDIR; + return NULL; + case ERROR_ACCESS_DENIED: + errno = EACCES; + return NULL; + default: + errno = EIO; + return NULL; + } + } + + /* Allocate the result. */ + dirp = + (struct gl_directory *) + malloc (offsetof (struct gl_directory, dir_name_mask[0]) + + strlen (dir_name_mask) + 1); + if (dirp == NULL) + { + if (current != INVALID_HANDLE_VALUE) + FindClose (current); + errno = ENOMEM; + return NULL; + } + dirp->status = status; + dirp->current = current; + if (status == -1) + memcpy (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA)); + strcpy (dirp->dir_name_mask, dir_name_mask); + + #endif + + #if REPLACE_FCHDIR + { + int fd = dirfd (dirp); + if (0 <= fd && _gl_register_fd (fd, dir_name) != fd) + { + int saved_errno = errno; + closedir (dirp); + errno = saved_errno; + return NULL; + } + } + #endif + + return dirp; + } diff -cNr octave-3.4.2/libgnu/pathmax.h octave-3.4.3/libgnu/pathmax.h *** octave-3.4.2/libgnu/pathmax.h 2011-06-21 12:43:03.000000000 -0400 --- octave-3.4.3/libgnu/pathmax.h 2011-09-29 13:25:43.000000000 -0400 *************** *** 25,31 **** including the terminating NUL byte. PATH_MAX is not defined on systems which have no limit on filename length, ! such as GNU/Hurd. */ # include --- 25,46 ---- including the terminating NUL byte. PATH_MAX is not defined on systems which have no limit on filename length, ! such as GNU/Hurd. ! ! This file does *not* define PATH_MAX always. Programs that use this file ! can handle the GNU/Hurd case in several ways: ! - Either with a package-wide handling, or with a per-file handling, ! - Either through a ! #ifdef PATH_MAX ! or through a fallback like ! #ifndef PATH_MAX ! # define PATH_MAX 8192 ! #endif ! or through a fallback like ! #ifndef PATH_MAX ! # define PATH_MAX pathconf ("/", _PC_PATH_MAX) ! #endif ! */ # include *************** *** 35,45 **** # define _POSIX_PATH_MAX 256 # endif - # if !defined PATH_MAX && defined _PC_PATH_MAX && defined HAVE_PATHCONF - # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ - : pathconf ("/", _PC_PATH_MAX)) - # endif - /* Don't include sys/param.h if it already has been. */ # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include --- 50,55 ---- *************** *** 49,58 **** # define PATH_MAX MAXPATHLEN # endif - # ifndef PATH_MAX - # define PATH_MAX _POSIX_PATH_MAX - # endif - # ifdef __hpux /* On HP-UX, PATH_MAX designates the maximum number of bytes in a filename, *not* including the terminating NUL byte, and is set to 1023. --- 59,64 ---- *************** *** 62,65 **** --- 68,86 ---- # define PATH_MAX 1024 # endif + # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + /* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com, + section "Maximum Path Length Limitation", + + explains that the maximum size of a filename, including the terminating + NUL byte, is 260 = 3 + 256 + 1. + This is the same value as + - FILENAME_MAX in , + - _MAX_PATH in , + - MAX_PATH in . + Undefine the original value, because mingw's gets it wrong. */ + # undef PATH_MAX + # define PATH_MAX 260 + # endif + #endif /* _PATHMAX_H */ diff -cNr octave-3.4.2/libgnu/raise.c octave-3.4.3/libgnu/raise.c *** octave-3.4.2/libgnu/raise.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/raise.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 0 **** --- 1,81 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Provide a non-threads replacement for the POSIX raise function. + + Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* written by Jim Meyering and Bruno Haible */ + + #include + + /* Specification. */ + #include + + #if HAVE_RAISE + /* Native Windows platform. */ + + # include + + # include "msvc-inval.h" + + # undef raise + + # if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static inline int + raise_nothrow (int sig) + { + int result; + + TRY_MSVC_INVAL + { + result = raise (sig); + } + CATCH_MSVC_INVAL + { + result = -1; + errno = EINVAL; + } + DONE_MSVC_INVAL; + + return result; + } + # else + # define raise_nothrow raise + # endif + + #else + /* An old Unix platform. */ + + # include + + # define rpl_raise raise + + #endif + + int + rpl_raise (int sig) + { + #if GNULIB_defined_signal_blocking && GNULIB_defined_SIGPIPE + if (sig == SIGPIPE) + return _gl_raise_SIGPIPE (); + #endif + + #if HAVE_RAISE + return raise_nothrow (sig); + #else + return kill (getpid (), sig); + #endif + } diff -cNr octave-3.4.2/libgnu/readdir.c octave-3.4.3/libgnu/readdir.c *** octave-3.4.2/libgnu/readdir.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/readdir.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 0 **** --- 1,100 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Read the next entry of a directory. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #include + + /* Specification. */ + #include + + #include + #include + + #include "dirent-private.h" + + struct dirent * + readdir (DIR *dirp) + { + char type; + struct dirent *result; + + /* There is no need to add code to produce entries for "." and "..". + According to the POSIX:2008 section "4.12 Pathname Resolution" + + "." and ".." are syntactic entities. + POSIX also says: + "If entries for dot or dot-dot exist, one entry shall be returned + for dot and one entry shall be returned for dot-dot; otherwise, + they shall not be returned." */ + + switch (dirp->status) + { + case -2: + /* End of directory already reached. */ + return NULL; + case -1: + break; + case 0: + if (!FindNextFile (dirp->current, &dirp->entry)) + { + switch (GetLastError ()) + { + case ERROR_NO_MORE_FILES: + dirp->status = -2; + return NULL; + default: + errno = EIO; + return NULL; + } + } + break; + default: + errno = dirp->status; + return NULL; + } + + dirp->status = 0; + + if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + type = DT_DIR; + else if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) + type = DT_LNK; + else if ((dirp->entry.dwFileAttributes + & ~(FILE_ATTRIBUTE_READONLY + | FILE_ATTRIBUTE_HIDDEN + | FILE_ATTRIBUTE_SYSTEM + | FILE_ATTRIBUTE_ARCHIVE + | FILE_ATTRIBUTE_NORMAL + | FILE_ATTRIBUTE_TEMPORARY + | FILE_ATTRIBUTE_SPARSE_FILE + | FILE_ATTRIBUTE_COMPRESSED + | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED + | FILE_ATTRIBUTE_ENCRYPTED)) == 0) + /* Devices like COM1, LPT1, NUL would also have the attributes 0x20 but + they cannot occur here. */ + type = DT_REG; + else + type = DT_UNKNOWN; + + /* Reuse the memory of dirp->entry for the result. */ + result = + (struct dirent *) + ((char *) dirp->entry.cFileName - offsetof (struct dirent, d_name[0])); + result->d_type = type; + + return result; + } diff -cNr octave-3.4.2/libgnu/select.c octave-3.4.3/libgnu/select.c *** octave-3.4.2/libgnu/select.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/select.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 29,35 **** /* Native Win32. */ #include - #include #include #include --- 29,34 ---- *************** *** 40,45 **** --- 39,46 ---- #include #include + #include "msvc-nothrow.h" + struct bitset { unsigned char in[FD_SETSIZE / CHAR_BIT]; unsigned char out[FD_SETSIZE / CHAR_BIT]; diff -cNr octave-3.4.2/libgnu/signal.in.h octave-3.4.3/libgnu/signal.in.h *** octave-3.4.2/libgnu/signal.in.h 2011-06-10 14:00:49.000000000 -0400 --- octave-3.4.3/libgnu/signal.in.h 2011-09-29 13:25:43.000000000 -0400 *************** *** 22,29 **** #endif @PRAGMA_COLUMNS@ ! #if defined __need_sig_atomic_t || defined __need_sigset_t ! /* Special invocation convention inside glibc header files. */ # @INCLUDE_NEXT@ @NEXT_SIGNAL_H@ --- 22,38 ---- #endif @PRAGMA_COLUMNS@ ! #if defined __need_sig_atomic_t || defined __need_sigset_t || defined _GL_ALREADY_INCLUDING_SIGNAL_H || (defined _SIGNAL_H && !defined __SIZEOF_PTHREAD_MUTEX_T) ! /* Special invocation convention: ! - Inside glibc header files. ! - On glibc systems we have a sequence of nested includes ! -> -> . ! In this situation, the functions are not yet declared, therefore we cannot ! provide the C++ aliases. ! - On glibc systems with GCC 4.3 we have a sequence of nested includes ! -> -> -> . ! In this situation, some of the functions are not yet declared, therefore ! we cannot provide the C++ aliases. */ # @INCLUDE_NEXT@ @NEXT_SIGNAL_H@ *************** *** 32,53 **** #ifndef _@GUARD_PREFIX@_SIGNAL_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SIGNAL_H@ #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _@GUARD_PREFIX@_SIGNAL_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ - /* Define pid_t, uid_t. - Also, mingw defines sigset_t not in , but in . */ - #include - /* On AIX, sig_atomic_t already includes volatile. C99 requires that 'volatile sig_atomic_t' ignore the extra modifier, but C89 did not. Hence, redefine this to a non-volatile type as needed. */ --- 41,77 ---- #ifndef _@GUARD_PREFIX@_SIGNAL_H + #define _GL_ALREADY_INCLUDING_SIGNAL_H + + /* Define pid_t, uid_t. + Also, mingw defines sigset_t not in , but in . + On Solaris 10, includes , which eventually includes + us; so include now, before the second inclusion guard. */ + #include + /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SIGNAL_H@ + #undef _GL_ALREADY_INCLUDING_SIGNAL_H + #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _@GUARD_PREFIX@_SIGNAL_H + /* MacOS X 10.3, FreeBSD 6.4, OpenBSD 3.8, OSF/1 4.0, Solaris 2.6 declare + pthread_sigmask in , not in . + But avoid namespace pollution on glibc systems.*/ + #if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \ + && ((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ || defined __sun) \ + && ! defined __GLIBC__ + # include + #endif + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* On AIX, sig_atomic_t already includes volatile. C99 requires that 'volatile sig_atomic_t' ignore the extra modifier, but C89 did not. Hence, redefine this to a non-volatile type as needed. */ *************** *** 102,110 **** --- 126,189 ---- #endif + #if @GNULIB_PTHREAD_SIGMASK@ + # if @REPLACE_PTHREAD_SIGMASK@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef pthread_sigmask + # define pthread_sigmask rpl_pthread_sigmask + # endif + _GL_FUNCDECL_RPL (pthread_sigmask, int, + (int how, const sigset_t *new_mask, sigset_t *old_mask)); + _GL_CXXALIAS_RPL (pthread_sigmask, int, + (int how, const sigset_t *new_mask, sigset_t *old_mask)); + # else + # if !@HAVE_PTHREAD_SIGMASK@ + _GL_FUNCDECL_SYS (pthread_sigmask, int, + (int how, const sigset_t *new_mask, sigset_t *old_mask)); + # endif + _GL_CXXALIAS_SYS (pthread_sigmask, int, + (int how, const sigset_t *new_mask, sigset_t *old_mask)); + # endif + _GL_CXXALIASWARN (pthread_sigmask); + #elif defined GNULIB_POSIXCHECK + # undef pthread_sigmask + # if HAVE_RAW_DECL_PTHREAD_SIGMASK + _GL_WARN_ON_USE (pthread_sigmask, "pthread_sigmask is not portable - " + "use gnulib module pthread_sigmask for portability"); + # endif + #endif + + + #if @GNULIB_RAISE@ + # if @REPLACE_RAISE@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef raise + # define raise rpl_raise + # endif + _GL_FUNCDECL_RPL (raise, int, (int sig)); + _GL_CXXALIAS_RPL (raise, int, (int sig)); + # else + # if !@HAVE_RAISE@ + _GL_FUNCDECL_SYS (raise, int, (int sig)); + # endif + _GL_CXXALIAS_SYS (raise, int, (int sig)); + # endif + _GL_CXXALIASWARN (raise); + #elif defined GNULIB_POSIXCHECK + # undef raise + /* Assume raise is always declared. */ + _GL_WARN_ON_USE (raise, "raise can crash on native Windows - " + "use gnulib module raise for portability"); + #endif + + #if @GNULIB_SIGPROCMASK@ # if !@HAVE_POSIX_SIGNALBLOCKING@ + # ifndef GNULIB_defined_signal_blocking + # define GNULIB_defined_signal_blocking 1 + # endif + /* Maximum signal number + 1. */ # ifndef NSIG # define NSIG 32 *************** *** 230,247 **** # endif _GL_CXXALIASWARN (signal); - /* Raise signal SIG. */ # if !@HAVE_POSIX_SIGNALBLOCKING@ && GNULIB_defined_SIGPIPE ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef raise ! # define raise rpl_raise ! # endif ! _GL_FUNCDECL_RPL (raise, int, (int sig)); ! _GL_CXXALIAS_RPL (raise, int, (int sig)); ! # else ! _GL_CXXALIAS_SYS (raise, int, (int sig)); # endif - _GL_CXXALIASWARN (raise); #elif defined GNULIB_POSIXCHECK # undef sigaddset --- 309,318 ---- # endif _GL_CXXALIASWARN (signal); # if !@HAVE_POSIX_SIGNALBLOCKING@ && GNULIB_defined_SIGPIPE ! /* Raise signal SIGPIPE. */ ! _GL_EXTERN_C int _gl_raise_SIGPIPE (void); # endif #elif defined GNULIB_POSIXCHECK # undef sigaddset diff -cNr octave-3.4.2/libgnu/sigprocmask.c octave-3.4.3/libgnu/sigprocmask.c *** octave-3.4.2/libgnu/sigprocmask.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/sigprocmask.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 26,31 **** --- 26,35 ---- #include #include + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + # include "msvc-inval.h" + #endif + /* We assume that a platform without POSIX signal blocking functions also does not have the POSIX sigaction() function, only the signal() function. We also assume signal() has SysV semantics, *************** *** 60,65 **** --- 64,91 ---- typedef void (*handler_t) (int); + #if HAVE_MSVC_INVALID_PARAMETER_HANDLER + static inline handler_t + signal_nothrow (int sig, handler_t handler) + { + handler_t result; + + TRY_MSVC_INVAL + { + result = signal (sig, handler); + } + CATCH_MSVC_INVAL + { + result = SIG_ERR; + errno = EINVAL; + } + DONE_MSVC_INVAL; + + return result; + } + # define signal signal_nothrow + #endif + /* Handling of gnulib defined signals. */ #if GNULIB_defined_SIGPIPE *************** *** 82,87 **** --- 108,114 ---- return signal (sig, handler); } } + # undef signal # define signal ext_signal #endif *************** *** 305,331 **** } #if GNULIB_defined_SIGPIPE ! /* Raise the signal SIG. */ int ! rpl_raise (int sig) ! # undef raise { ! switch (sig) { ! case SIGPIPE: ! if (blocked_set & (1U << sig)) ! pending_array[sig] = 1; ! else ! { ! handler_t handler = SIGPIPE_handler; ! if (handler == SIG_DFL) ! exit (128 + SIGPIPE); ! else if (handler != SIG_IGN) ! (*handler) (sig); ! } ! return 0; ! default: /* System defined signal */ ! return raise (sig); } } #endif --- 332,350 ---- } #if GNULIB_defined_SIGPIPE ! /* Raise the signal SIGPIPE. */ int ! _gl_raise_SIGPIPE (void) { ! if (blocked_set & (1U << SIGPIPE)) ! pending_array[SIGPIPE] = 1; ! else { ! handler_t handler = SIGPIPE_handler; ! if (handler == SIG_DFL) ! exit (128 + SIGPIPE); ! else if (handler != SIG_IGN) ! (*handler) (SIGPIPE); } } #endif diff -cNr octave-3.4.2/libgnu/sockets.c octave-3.4.3/libgnu/sockets.c *** octave-3.4.2/libgnu/sockets.c 2011-06-10 14:00:49.000000000 -0400 --- octave-3.4.3/libgnu/sockets.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 30,35 **** --- 30,36 ---- # include # include "fd-hook.h" + # include "msvc-nothrow.h" /* Get set_winsock_errno, FD_TO_SOCKET etc. */ # include "w32sock.h" diff -cNr octave-3.4.2/libgnu/sockets.h octave-3.4.3/libgnu/sockets.h *** octave-3.4.2/libgnu/sockets.h 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/sockets.h 2011-09-29 13:25:43.000000000 -0400 *************** *** 38,43 **** --- 38,45 ---- #include + #include "msvc-nothrow.h" + static inline SOCKET gl_fd_to_handle (int fd) { diff -cNr octave-3.4.2/libgnu/stat.c octave-3.4.3/libgnu/stat.c *** octave-3.4.2/libgnu/stat.c 2011-04-19 21:36:58.000000000 -0400 --- octave-3.4.3/libgnu/stat.c 2011-09-29 13:25:43.000000000 -0400 *************** *** 18,27 **** /* written by Eric Blake */ #include /* Get the original definition of stat. It might be defined as a macro. */ - #define __need_system_sys_stat_h #include #include #undef __need_system_sys_stat_h --- 18,30 ---- /* written by Eric Blake */ + /* If the user's config.h happens to include , let it include only + the system's here, so that orig_stat doesn't recurse to + rpl_stat. */ + #define __need_system_sys_stat_h #include /* Get the original definition of stat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h *************** *** 33,45 **** } /* Specification. */ ! #include #include #include #include #include #include "dosname.h" /* Store information about NAME into ST. Work around bugs with trailing slashes. Mingw has other bugs (such as st_ino always --- 36,61 ---- } /* Specification. */ ! /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc ! eliminates this include because of the preliminary #include ! above. */ ! #include "sys/stat.h" #include #include #include #include #include "dosname.h" + #include "verify.h" + + #if REPLACE_FUNC_STAT_DIR + # include "pathmax.h" + /* The only known systems where REPLACE_FUNC_STAT_DIR is needed also + have a constant PATH_MAX. */ + # ifndef PATH_MAX + # error "Please port this replacement to your platform" + # endif + #endif /* Store information about NAME into ST. Work around bugs with trailing slashes. Mingw has other bugs (such as st_ino always *************** *** 65,70 **** --- 81,87 ---- } #endif /* REPLACE_FUNC_STAT_FILE */ #if REPLACE_FUNC_STAT_DIR + if (result == -1 && errno == ENOENT) { /* Due to mingw's oddities, there are some directories (like *************** *** 79,84 **** --- 96,102 ---- char fixed_name[PATH_MAX + 1] = {0}; size_t len = strlen (name); bool check_dir = false; + verify (PATH_MAX <= 4096); if (PATH_MAX <= len) errno = ENAMETOOLONG; else if (len) diff -cNr octave-3.4.2/libgnu/stdint.in.h octave-3.4.3/libgnu/stdint.in.h *** octave-3.4.2/libgnu/stdint.in.h 2011-06-10 14:00:49.000000000 -0400 --- octave-3.4.3/libgnu/stdint.in.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 272,297 **** /* Note: These types are compiler dependent. It may be unwise to use them in public header files. */ ! #undef intmax_t ! #if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 typedef long long int gl_intmax_t; ! # define intmax_t gl_intmax_t ! #elif defined GL_INT64_T ! # define intmax_t int64_t ! #else typedef long int gl_intmax_t; ! # define intmax_t gl_intmax_t #endif ! #undef uintmax_t ! #if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 typedef unsigned long long int gl_uintmax_t; ! # define uintmax_t gl_uintmax_t ! #elif defined GL_UINT64_T ! # define uintmax_t uint64_t ! #else typedef unsigned long int gl_uintmax_t; ! # define uintmax_t gl_uintmax_t #endif /* Verify that intmax_t and uintmax_t have the same size. Too much code --- 272,307 ---- /* Note: These types are compiler dependent. It may be unwise to use them in public header files. */ ! /* If the system defines INTMAX_MAX, assume that intmax_t works, and ! similarly for UINTMAX_MAX and uintmax_t. This avoids problems with ! assuming one type where another is used by the system. */ ! ! #ifndef INTMAX_MAX ! # undef INTMAX_C ! # undef intmax_t ! # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 typedef long long int gl_intmax_t; ! # define intmax_t gl_intmax_t ! # elif defined GL_INT64_T ! # define intmax_t int64_t ! # else typedef long int gl_intmax_t; ! # define intmax_t gl_intmax_t ! # endif #endif ! #ifndef UINTMAX_MAX ! # undef UINTMAX_C ! # undef uintmax_t ! # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 typedef unsigned long long int gl_uintmax_t; ! # define uintmax_t gl_uintmax_t ! # elif defined GL_UINT64_T ! # define uintmax_t uint64_t ! # else typedef unsigned long int gl_uintmax_t; ! # define uintmax_t gl_uintmax_t ! # endif #endif /* Verify that intmax_t and uintmax_t have the same size. Too much code *************** *** 433,453 **** /* 7.18.2.5. Limits of greatest-width integer types */ ! #undef INTMAX_MIN ! #undef INTMAX_MAX ! #ifdef INT64_MAX ! # define INTMAX_MIN INT64_MIN ! # define INTMAX_MAX INT64_MAX ! #else ! # define INTMAX_MIN INT32_MIN ! # define INTMAX_MAX INT32_MAX #endif ! #undef UINTMAX_MAX ! #ifdef UINT64_MAX ! # define UINTMAX_MAX UINT64_MAX ! #else ! # define UINTMAX_MAX UINT32_MAX #endif /* 7.18.3. Limits of other integer types */ --- 443,465 ---- /* 7.18.2.5. Limits of greatest-width integer types */ ! #ifndef INTMAX_MAX ! # undef INTMAX_MIN ! # ifdef INT64_MAX ! # define INTMAX_MIN INT64_MIN ! # define INTMAX_MAX INT64_MAX ! # else ! # define INTMAX_MIN INT32_MIN ! # define INTMAX_MAX INT32_MAX ! # endif #endif ! #ifndef UINTMAX_MAX ! # ifdef UINT64_MAX ! # define UINTMAX_MAX UINT64_MAX ! # else ! # define UINTMAX_MAX UINT32_MAX ! # endif #endif /* 7.18.3. Limits of other integer types */ *************** *** 570,591 **** /* 7.18.4.2. Macros for greatest-width integer constants */ ! #undef INTMAX_C ! #if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 ! # define INTMAX_C(x) x##LL ! #elif defined GL_INT64_T ! # define INTMAX_C(x) INT64_C(x) ! #else ! # define INTMAX_C(x) x##L #endif ! #undef UINTMAX_C ! #if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 ! # define UINTMAX_C(x) x##ULL ! #elif defined GL_UINT64_T ! # define UINTMAX_C(x) UINT64_C(x) ! #else ! # define UINTMAX_C(x) x##UL #endif #endif /* !defined __cplusplus || defined __STDC_CONSTANT_MACROS */ --- 582,605 ---- /* 7.18.4.2. Macros for greatest-width integer constants */ ! #ifndef INTMAX_C ! # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 ! # define INTMAX_C(x) x##LL ! # elif defined GL_INT64_T ! # define INTMAX_C(x) INT64_C(x) ! # else ! # define INTMAX_C(x) x##L ! # endif #endif ! #ifndef UINTMAX_C ! # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 ! # define UINTMAX_C(x) x##ULL ! # elif defined GL_UINT64_T ! # define UINTMAX_C(x) UINT64_C(x) ! # else ! # define UINTMAX_C(x) x##UL ! # endif #endif #endif /* !defined __cplusplus || defined __STDC_CONSTANT_MACROS */ diff -cNr octave-3.4.2/libgnu/stdio.in.h octave-3.4.3/libgnu/stdio.in.h *** octave-3.4.2/libgnu/stdio.in.h 2011-06-15 11:19:36.000000000 -0400 --- octave-3.4.3/libgnu/stdio.in.h 2011-09-29 13:25:43.000000000 -0400 *************** *** 172,177 **** --- 172,197 ---- "use gnulib module fclose for portable POSIX compliance"); #endif + #if @GNULIB_FDOPEN@ + # if @REPLACE_FDOPEN@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef fdopen + # define fdopen rpl_fdopen + # endif + _GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode) + _GL_ARG_NONNULL ((2))); + _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); + # else + _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); + # endif + _GL_CXXALIASWARN (fdopen); + #elif defined GNULIB_POSIXCHECK + # undef fdopen + /* Assume fdopen is always declared. */ + _GL_WARN_ON_USE (fdopen, "fdopen on Win32 platforms is not POSIX compatible - " + "use gnulib module fdopen for portability"); + #endif + #if @GNULIB_FFLUSH@ /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. *************** *** 752,757 **** --- 772,791 ---- _GL_CXXALIASWARN (obstack_vprintf); #endif + #if @GNULIB_PCLOSE@ + # if !@HAVE_PCLOSE@ + _GL_FUNCDECL_SYS (pclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); + # endif + _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); + _GL_CXXALIASWARN (pclose); + #elif defined GNULIB_POSIXCHECK + # undef pclose + # if HAVE_RAW_DECL_PCLOSE + _GL_WARN_ON_USE (pclose, "popen is unportable - " + "use gnulib module pclose for more portability"); + # endif + #endif + #if @GNULIB_PERROR@ /* Print a message to standard error, describing the value of ERRNO, (if STRING is not NULL and not empty) prefixed with STRING and ": ", *************** *** 783,788 **** --- 817,826 ---- _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); # else + # if !@HAVE_POPEN@ + _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) + _GL_ARG_NONNULL ((1, 2))); + # endif _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); # endif _GL_CXXALIASWARN (popen); diff -cNr octave-3.4.2/libgnu/stdlib.in.h octave-3.4.3/libgnu/stdlib.in.h *** octave-3.4.2/libgnu/stdlib.in.h 2011-06-10 14:00:49.000000000 -0400 --- octave-3.4.3/libgnu/stdlib.in.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 91,101 **** # include #endif ! #if 3 <= __GNUC__ || __GNUC__ == 2 && 8 <= __GNUC_MINOR__ ! # define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) ! #else ! # define _GL_ATTRIBUTE_NORETURN ! #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ --- 91,97 ---- # include #endif ! /* The definition of _Noreturn is copied here. */ /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ *************** *** 122,128 **** /* Terminate the current process with the given return code, without running the 'atexit' handlers. */ # if !@HAVE__EXIT@ ! _GL_FUNCDECL_SYS (_Exit, void, (int status) _GL_ATTRIBUTE_NORETURN); # endif _GL_CXXALIAS_SYS (_Exit, void, (int status)); _GL_CXXALIASWARN (_Exit); --- 118,124 ---- /* Terminate the current process with the given return code, without running the 'atexit' handlers. */ # if !@HAVE__EXIT@ ! _GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status)); # endif _GL_CXXALIAS_SYS (_Exit, void, (int status)); _GL_CXXALIASWARN (_Exit); diff -cNr octave-3.4.2/libgnu/strcasecmp.c octave-3.4.3/libgnu/strcasecmp.c *** octave-3.4.2/libgnu/strcasecmp.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/strcasecmp.c 2011-04-19 21:36:58.000000000 -0400 *************** *** 0 **** --- 1,65 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Case-insensitive string comparison function. + Copyright (C) 1998-1999, 2005-2007, 2009-2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #include + + /* Specification. */ + #include + + #include + #include + + #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) + + /* Compare strings S1 and S2, ignoring case, returning less than, equal to or + greater than zero if S1 is lexicographically less than, equal to or greater + than S2. + Note: This function does not work with multibyte strings! */ + + int + strcasecmp (const char *s1, const char *s2) + { + const unsigned char *p1 = (const unsigned char *) s1; + const unsigned char *p2 = (const unsigned char *) s2; + unsigned char c1, c2; + + if (p1 == p2) + return 0; + + do + { + c1 = TOLOWER (*p1); + c2 = TOLOWER (*p2); + + if (c1 == '\0') + break; + + ++p1; + ++p2; + } + while (c1 == c2); + + if (UCHAR_MAX <= INT_MAX) + return c1 - c2; + else + /* On machines where 'char' and 'int' are types of the same size, the + difference of two 'unsigned char' values - including the sign bit - + doesn't fit in an 'int'. */ + return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); + } diff -cNr octave-3.4.2/libgnu/strerror.c octave-3.4.3/libgnu/strerror.c *** octave-3.4.2/libgnu/strerror.c 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/strerror.c 2011-08-03 23:59:53.000000000 -0400 *************** *** 47,66 **** if (msg) return (char *) msg; ! /* FreeBSD rejects 0; see http://austingroupbugs.net/view.php?id=382. ! MacOS X 10.5 does not distinguish 0 from -1. */ ! if (n) ! msg = strerror (n); ! else ! { ! int saved_errno = errno; ! errno = 0; ! msg = strerror (n); ! if (errno || (msg && ! (strstr (msg, "nknown") || strstr (msg, "ndefined")))) ! msg = "Success"; ! errno = saved_errno; ! } /* Our strerror_r implementation might use the system's strerror buffer, so all other clients of strerror have to see the error --- 47,53 ---- if (msg) return (char *) msg; ! msg = strerror (n); /* Our strerror_r implementation might use the system's strerror buffer, so all other clients of strerror have to see the error diff -cNr octave-3.4.2/libgnu/strerror-override.c octave-3.4.3/libgnu/strerror-override.c *** octave-3.4.2/libgnu/strerror-override.c 2011-06-21 12:43:04.000000000 -0400 --- octave-3.4.3/libgnu/strerror-override.c 2011-08-03 23:59:53.000000000 -0400 *************** *** 39,44 **** --- 39,49 ---- /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ switch (errnum) { + #if REPLACE_STRERROR_0 + case 0: + return "Success"; + #endif + #if GNULIB_defined_ETXTBSY case ETXTBSY: return "Text file busy"; *************** *** 245,250 **** --- 250,265 ---- return "Not supported"; #endif + #if GNULIB_defined_ENETRESET + case ENETRESET: + return "Network dropped connection on reset"; + #endif + + #if GNULIB_defined_ECONNABORTED + case ECONNABORTED: + return "Software caused connection abort"; + #endif + #if GNULIB_defined_ESTALE case ESTALE: return "Stale NFS file handle"; diff -cNr octave-3.4.2/libgnu/strerror-override.h octave-3.4.3/libgnu/strerror-override.h *** octave-3.4.2/libgnu/strerror-override.h 2011-06-10 14:00:49.000000000 -0400 --- octave-3.4.3/libgnu/strerror-override.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 30,48 **** /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ ! # if GNULIB_defined_ETXTBSY \ ! || GNULIB_defined_ESOCK \ ! || GNULIB_defined_ENOMSG \ ! || GNULIB_defined_EIDRM \ ! || GNULIB_defined_ENOLINK \ ! || GNULIB_defined_EPROTO \ ! || GNULIB_defined_EMULTIHOP \ ! || GNULIB_defined_EBADMSG \ ! || GNULIB_defined_EOVERFLOW \ ! || GNULIB_defined_ENOTSUP \ ! || GNULIB_defined_ESTALE \ ! || GNULIB_defined_EDQUOT \ ! || GNULIB_defined_ECANCELED extern const char *strerror_override (int errnum); # else # define strerror_override(ignored) NULL --- 30,51 ---- /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ ! # if REPLACE_STRERROR_0 \ ! || GNULIB_defined_ETXTBSY \ ! || GNULIB_defined_ESOCK \ ! || GNULIB_defined_ENOMSG \ ! || GNULIB_defined_EIDRM \ ! || GNULIB_defined_ENOLINK \ ! || GNULIB_defined_EPROTO \ ! || GNULIB_defined_EMULTIHOP \ ! || GNULIB_defined_EBADMSG \ ! || GNULIB_defined_EOVERFLOW \ ! || GNULIB_defined_ENOTSUP \ ! || GNULIB_defined_ENETRESET \ ! || GNULIB_defined_ECONNABORTED \ ! || GNULIB_defined_ESTALE \ ! || GNULIB_defined_EDQUOT \ ! || GNULIB_defined_ECANCELED extern const char *strerror_override (int errnum); # else # define strerror_override(ignored) NULL diff -cNr octave-3.4.2/libgnu/string.in.h octave-3.4.3/libgnu/string.in.h *** octave-3.4.2/libgnu/string.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/string.in.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 61,66 **** --- 61,96 ---- /* The definition of _GL_WARN_ON_USE is copied here. */ + /* Find the index of the least-significant set bit. */ + #if @GNULIB_FFSL@ + # if !@HAVE_FFSL@ + _GL_FUNCDECL_SYS (ffsl, int, (long int i)); + # endif + _GL_CXXALIAS_SYS (ffsl, int, (long int i)); + _GL_CXXALIASWARN (ffsl); + #elif defined GNULIB_POSIXCHECK + # undef ffsl + # if HAVE_RAW_DECL_FFSL + _GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); + # endif + #endif + + + /* Find the index of the least-significant set bit. */ + #if @GNULIB_FFSLL@ + # if !@HAVE_FFSLL@ + _GL_FUNCDECL_SYS (ffsll, int, (long long int i)); + # endif + _GL_CXXALIAS_SYS (ffsll, int, (long long int i)); + _GL_CXXALIASWARN (ffsll); + #elif defined GNULIB_POSIXCHECK + # undef ffsll + # if HAVE_RAW_DECL_FFSLL + _GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); + # endif + #endif + + /* Return the first instance of C within N bytes of S, or NULL. */ #if @GNULIB_MEMCHR@ # if @REPLACE_MEMCHR@ diff -cNr octave-3.4.2/libgnu/strings.in.h octave-3.4.3/libgnu/strings.in.h *** octave-3.4.2/libgnu/strings.in.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/strings.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 0 **** --- 1,125 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* A substitute . + + Copyright (C) 2007-2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #ifndef _@GUARD_PREFIX@_STRINGS_H + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ + #endif + @PRAGMA_COLUMNS@ + + /* Minix 3.1.8 has a bug: must be included before . + But avoid namespace pollution on glibc systems. */ + #if defined __minix && !defined __GLIBC__ + # include + #endif + + /* The include_next requires a split double-inclusion guard. */ + #if @HAVE_STRINGS_H@ + # @INCLUDE_NEXT@ @NEXT_STRINGS_H@ + #endif + + #ifndef _@GUARD_PREFIX@_STRINGS_H + #define _@GUARD_PREFIX@_STRINGS_H + + #if ! @HAVE_DECL_STRNCASECMP@ + /* Get size_t. */ + # include + #endif + + + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + + /* The definition of _GL_ARG_NONNULL is copied here. */ + + /* The definition of _GL_WARN_ON_USE is copied here. */ + + #ifdef __cplusplus + extern "C" { + #endif + + + /* Find the index of the least-significant set bit. */ + #if @GNULIB_FFS@ + # if !@HAVE_FFS@ + _GL_FUNCDECL_SYS (ffs, int, (int i)); + # endif + _GL_CXXALIAS_SYS (ffs, int, (int i)); + _GL_CXXALIASWARN (ffs); + #elif defined GNULIB_POSIXCHECK + # undef ffs + # if HAVE_RAW_DECL_FFS + _GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module"); + # endif + #endif + + /* Compare strings S1 and S2, ignoring case, returning less than, equal to or + greater than zero if S1 is lexicographically less than, equal to or greater + than S2. + Note: This function does not work in multibyte locales. */ + #if ! @HAVE_STRCASECMP@ + extern int strcasecmp (char const *s1, char const *s2) + _GL_ARG_NONNULL ((1, 2)); + #endif + #if defined GNULIB_POSIXCHECK + /* strcasecmp() does not work with multibyte strings: + POSIX says that it operates on "strings", and "string" in POSIX is defined + as a sequence of bytes, not of characters. */ + # undef strcasecmp + # if HAVE_RAW_DECL_STRCASECMP + _GL_WARN_ON_USE (strcasecmp, "strcasecmp cannot work correctly on character " + "strings in multibyte locales - " + "use mbscasecmp if you care about " + "internationalization, or use c_strcasecmp , " + "gnulib module c-strcase) if you want a locale " + "independent function"); + # endif + #endif + + /* Compare no more than N bytes of strings S1 and S2, ignoring case, + returning less than, equal to or greater than zero if S1 is + lexicographically less than, equal to or greater than S2. + Note: This function cannot work correctly in multibyte locales. */ + #if ! @HAVE_DECL_STRNCASECMP@ + extern int strncasecmp (char const *s1, char const *s2, size_t n) + _GL_ARG_NONNULL ((1, 2)); + #endif + #if defined GNULIB_POSIXCHECK + /* strncasecmp() does not work with multibyte strings: + POSIX says that it operates on "strings", and "string" in POSIX is defined + as a sequence of bytes, not of characters. */ + # undef strncasecmp + # if HAVE_RAW_DECL_STRNCASECMP + _GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character " + "strings in multibyte locales - " + "use mbsncasecmp or mbspcasecmp if you care about " + "internationalization, or use c_strncasecmp , " + "gnulib module c-strcase) if you want a locale " + "independent function"); + # endif + #endif + + + #ifdef __cplusplus + } + #endif + + #endif /* _@GUARD_PREFIX@_STRING_H */ + #endif /* _@GUARD_PREFIX@_STRING_H */ diff -cNr octave-3.4.2/libgnu/strncasecmp.c octave-3.4.3/libgnu/strncasecmp.c *** octave-3.4.2/libgnu/strncasecmp.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/strncasecmp.c 2011-04-19 21:36:58.000000000 -0400 *************** *** 0 **** --- 1,65 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* strncasecmp.c -- case insensitive string comparator + Copyright (C) 1998-1999, 2005-2007, 2009-2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #include + + /* Specification. */ + #include + + #include + #include + + #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) + + /* Compare no more than N bytes of strings S1 and S2, ignoring case, + returning less than, equal to or greater than zero if S1 is + lexicographically less than, equal to or greater than S2. + Note: This function cannot work correctly in multibyte locales. */ + + int + strncasecmp (const char *s1, const char *s2, size_t n) + { + register const unsigned char *p1 = (const unsigned char *) s1; + register const unsigned char *p2 = (const unsigned char *) s2; + unsigned char c1, c2; + + if (p1 == p2 || n == 0) + return 0; + + do + { + c1 = TOLOWER (*p1); + c2 = TOLOWER (*p2); + + if (--n == 0 || c1 == '\0') + break; + + ++p1; + ++p2; + } + while (c1 == c2); + + if (UCHAR_MAX <= INT_MAX) + return c1 - c2; + else + /* On machines where 'char' and 'int' are types of the same size, the + difference of two 'unsigned char' values - including the sign bit - + doesn't fit in an 'int'. */ + return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); + } diff -cNr octave-3.4.2/libgnu/sys_select.in.h octave-3.4.3/libgnu/sys_select.in.h *** octave-3.4.2/libgnu/sys_select.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/sys_select.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 34,48 **** # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #else #ifndef _@GUARD_PREFIX@_SYS_SELECT_H - #if @HAVE_SYS_SELECT_H@ - /* On many platforms, assumes prior inclusion of ! . */ ! # include /* On OSF/1 4.0, provides only a forward declaration of 'struct timeval', and no definition of this type. --- 34,65 ---- # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ + /* On IRIX 6.5, includes , which includes + , which includes . At this point we cannot + include , because that includes , which + gives a syntax error because has not been completely + processed. Simply delegate to the system's header in this case. */ + #elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H) + + # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H + # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ + #else #ifndef _@GUARD_PREFIX@_SYS_SELECT_H /* On many platforms, assumes prior inclusion of ! . Also, mingw defines sigset_t there, instead of ! in where it belongs. */ ! #include ! ! /* Get definition of 'sigset_t'. ! But avoid namespace pollution on glibc systems. */ ! #if !(defined __GLIBC__ && !defined __UCLIBC__) ! # include ! #endif ! ! #if @HAVE_SYS_SELECT_H@ /* On OSF/1 4.0, provides only a forward declaration of 'struct timeval', and no definition of this type. *************** *** 80,88 **** # include # endif /* On native Windows platforms: ! Get the 'fd_set' type. Also, gnulib's redefines select ! so as to hide the declaration from . */ ! # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ --- 97,108 ---- # include # endif /* On native Windows platforms: ! Get the 'fd_set' type. */ ! # if @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H ! # define _GL_INCLUDING_WINSOCK2_H ! # include ! # undef _GL_INCLUDING_WINSOCK2_H ! # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ *************** *** 90,95 **** --- 110,259 ---- /* The definition of _GL_WARN_ON_USE is copied here. */ + /* Fix some definitions from . */ + + #if @HAVE_WINSOCK2_H@ + + # if !GNULIB_defined_rpl_fd_isset + + /* Re-define FD_ISSET to avoid a WSA call while we are not using + network sockets. */ + static inline int + rpl_fd_isset (SOCKET fd, fd_set * set) + { + u_int i; + if (set == NULL) + return 0; + + for (i = 0; i < set->fd_count; i++) + if (set->fd_array[i] == fd) + return 1; + + return 0; + } + + # define GNULIB_defined_rpl_fd_isset 1 + # endif + + # undef FD_ISSET + # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) + + #endif + + /* Hide some function declarations from . */ + + #if @HAVE_WINSOCK2_H@ + # if !defined _@GUARD_PREFIX@_UNISTD_H + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef close + # define close close_used_without_including_unistd_h + # else + _GL_WARN_ON_USE (close, + "close() used without including "); + # endif + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef gethostname + # define gethostname gethostname_used_without_including_unistd_h + # else + _GL_WARN_ON_USE (gethostname, + "gethostname() used without including "); + # endif + # endif + # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef socket + # define socket socket_used_without_including_sys_socket_h + # undef connect + # define connect connect_used_without_including_sys_socket_h + # undef accept + # define accept accept_used_without_including_sys_socket_h + # undef bind + # define bind bind_used_without_including_sys_socket_h + # undef getpeername + # define getpeername getpeername_used_without_including_sys_socket_h + # undef getsockname + # define getsockname getsockname_used_without_including_sys_socket_h + # undef getsockopt + # define getsockopt getsockopt_used_without_including_sys_socket_h + # undef listen + # define listen listen_used_without_including_sys_socket_h + # undef recv + # define recv recv_used_without_including_sys_socket_h + # undef send + # define send send_used_without_including_sys_socket_h + # undef recvfrom + # define recvfrom recvfrom_used_without_including_sys_socket_h + # undef sendto + # define sendto sendto_used_without_including_sys_socket_h + # undef setsockopt + # define setsockopt setsockopt_used_without_including_sys_socket_h + # undef shutdown + # define shutdown shutdown_used_without_including_sys_socket_h + # else + _GL_WARN_ON_USE (socket, + "socket() used without including "); + _GL_WARN_ON_USE (connect, + "connect() used without including "); + _GL_WARN_ON_USE (accept, + "accept() used without including "); + _GL_WARN_ON_USE (bind, + "bind() used without including "); + _GL_WARN_ON_USE (getpeername, + "getpeername() used without including "); + _GL_WARN_ON_USE (getsockname, + "getsockname() used without including "); + _GL_WARN_ON_USE (getsockopt, + "getsockopt() used without including "); + _GL_WARN_ON_USE (listen, + "listen() used without including "); + _GL_WARN_ON_USE (recv, + "recv() used without including "); + _GL_WARN_ON_USE (send, + "send() used without including "); + _GL_WARN_ON_USE (recvfrom, + "recvfrom() used without including "); + _GL_WARN_ON_USE (sendto, + "sendto() used without including "); + _GL_WARN_ON_USE (setsockopt, + "setsockopt() used without including "); + _GL_WARN_ON_USE (shutdown, + "shutdown() used without including "); + # endif + # endif + #endif + + + #if @GNULIB_PSELECT@ + # if @REPLACE_PSELECT@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef pselect + # define pselect rpl_pselect + # endif + _GL_FUNCDECL_RPL (pselect, int, + (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, + struct timespec const *restrict, const sigset_t *restrict)); + _GL_CXXALIAS_RPL (pselect, int, + (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, + struct timespec const *restrict, const sigset_t *restrict)); + # else + # if !@HAVE_PSELECT@ + _GL_FUNCDECL_SYS (pselect, int, + (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, + struct timespec const *restrict, const sigset_t *restrict)); + # endif + _GL_CXXALIAS_SYS (pselect, int, + (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, + struct timespec const *restrict, const sigset_t *restrict)); + # endif + _GL_CXXALIASWARN (pselect); + #elif defined GNULIB_POSIXCHECK + # undef pselect + # if HAVE_RAW_DECL_PSELECT + _GL_WARN_ON_USE (pselect, "pselect is not portable - " + "use gnulib module pselect for portability"); + # endif + #endif + #if @GNULIB_SELECT@ # if @REPLACE_SELECT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) diff -cNr octave-3.4.2/libgnu/sys_socket.in.h octave-3.4.3/libgnu/sys_socket.in.h *** octave-3.4.2/libgnu/sys_socket.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/sys_socket.in.h 2011-08-03 23:59:53.000000000 -0400 *************** *** 196,201 **** --- 196,203 ---- #endif + /* Fix some definitions from . */ + #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset *************** *** 224,251 **** #endif ! /* Wrap everything else to use libc file descriptors for sockets. */ ! #if @HAVE_WINSOCK2_H@ && !defined _@GUARD_PREFIX@_UNISTD_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef close ! # define close close_used_without_including_unistd_h ! # else ! _GL_WARN_ON_USE (close, ! "close() used without including "); # endif ! #endif ! ! #if @HAVE_WINSOCK2_H@ && !defined _@GUARD_PREFIX@_UNISTD_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef gethostname ! # define gethostname gethostname_used_without_including_unistd_h ! # else ! _GL_WARN_ON_USE (gethostname, ! "gethostname() used without including "); # endif #endif #if @GNULIB_SOCKET@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) --- 226,263 ---- #endif ! /* Hide some function declarations from . */ ! #if @HAVE_WINSOCK2_H@ ! # if !defined _@GUARD_PREFIX@_UNISTD_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef close ! # define close close_used_without_including_unistd_h ! # else ! _GL_WARN_ON_USE (close, ! "close() used without including "); ! # endif ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef gethostname ! # define gethostname gethostname_used_without_including_unistd_h ! # else ! _GL_WARN_ON_USE (gethostname, ! "gethostname() used without including "); ! # endif # endif ! # if !defined _@GUARD_PREFIX@_SYS_SELECT_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef select ! # define select select_used_without_including_sys_select_h ! # else ! _GL_WARN_ON_USE (select, ! "select() used without including "); ! # endif # endif #endif + /* Wrap everything else to use libc file descriptors for sockets. */ + #if @GNULIB_SOCKET@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) *************** *** 635,650 **** # endif #endif - #if @HAVE_WINSOCK2_H@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) - # undef select - # define select select_used_without_including_sys_select_h - # else - _GL_WARN_ON_USE (select, - "select() used without including "); - # endif - #endif - #if @GNULIB_ACCEPT4@ /* Accept a connection on a socket, with specific opening flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) --- 647,652 ---- diff -cNr octave-3.4.2/libgnu/sys_stat.in.h octave-3.4.3/libgnu/sys_stat.in.h *** octave-3.4.2/libgnu/sys_stat.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/sys_stat.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 57,66 **** /* The definition of _GL_WARN_ON_USE is copied here. */ /* Before doing "#define mkdir rpl_mkdir" below, we need to include all ! headers that may declare mkdir(). */ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ # include /* mingw32, mingw64 */ ! # include /* mingw64 */ #endif #ifndef S_IFMT --- 57,73 ---- /* The definition of _GL_WARN_ON_USE is copied here. */ /* Before doing "#define mkdir rpl_mkdir" below, we need to include all ! headers that may declare mkdir(). Native Windows platforms declare mkdir ! in and/or , not in . */ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ # include /* mingw32, mingw64 */ ! # include /* mingw64, MSVC 9 */ ! #endif ! ! #ifndef S_IFIFO ! # ifdef _S_IFIFO ! # define S_IFIFO _S_IFIFO ! # endif #endif #ifndef S_IFMT *************** *** 314,329 **** #endif ! #if @REPLACE_FSTAT@ ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # define fstat rpl_fstat ! # endif _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); ! #else _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); ! #endif _GL_CXXALIASWARN (fstat); #if @GNULIB_FSTATAT@ --- 321,345 ---- #endif ! #if @GNULIB_FSTAT@ ! # if @REPLACE_FSTAT@ ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef fstat ! # define fstat rpl_fstat ! # endif _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); ! # else _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); ! # endif _GL_CXXALIASWARN (fstat); + #elif defined GNULIB_POSIXCHECK + # undef fstat + # if HAVE_RAW_DECL_FSTAT + _GL_WARN_ON_USE (fstat, "fstat has portability problems - " + "use gnulib module fstat for portability"); + # endif + #endif #if @GNULIB_FSTATAT@ diff -cNr octave-3.4.2/libgnu/sys_time.in.h octave-3.4.3/libgnu/sys_time.in.h *** octave-3.4.2/libgnu/sys_time.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/sys_time.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 42,47 **** --- 42,55 ---- # include # endif + /* On native Windows with MSVC: + Get the 'struct timeval' type. */ + # if defined _MSC_VER && @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H + # define _GL_INCLUDING_WINSOCK2_H + # include + # undef _GL_INCLUDING_WINSOCK2_H + # endif + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ *************** *** 100,103 **** --- 108,202 ---- # endif # endif + /* Hide some function declarations from . */ + + # if defined _MSC_VER && @HAVE_WINSOCK2_H@ + # if !defined _@GUARD_PREFIX@_UNISTD_H + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef close + # define close close_used_without_including_unistd_h + # else + _GL_WARN_ON_USE (close, + "close() used without including "); + # endif + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef gethostname + # define gethostname gethostname_used_without_including_unistd_h + # else + _GL_WARN_ON_USE (gethostname, + "gethostname() used without including "); + # endif + # endif + # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef socket + # define socket socket_used_without_including_sys_socket_h + # undef connect + # define connect connect_used_without_including_sys_socket_h + # undef accept + # define accept accept_used_without_including_sys_socket_h + # undef bind + # define bind bind_used_without_including_sys_socket_h + # undef getpeername + # define getpeername getpeername_used_without_including_sys_socket_h + # undef getsockname + # define getsockname getsockname_used_without_including_sys_socket_h + # undef getsockopt + # define getsockopt getsockopt_used_without_including_sys_socket_h + # undef listen + # define listen listen_used_without_including_sys_socket_h + # undef recv + # define recv recv_used_without_including_sys_socket_h + # undef send + # define send send_used_without_including_sys_socket_h + # undef recvfrom + # define recvfrom recvfrom_used_without_including_sys_socket_h + # undef sendto + # define sendto sendto_used_without_including_sys_socket_h + # undef setsockopt + # define setsockopt setsockopt_used_without_including_sys_socket_h + # undef shutdown + # define shutdown shutdown_used_without_including_sys_socket_h + # else + _GL_WARN_ON_USE (socket, + "socket() used without including "); + _GL_WARN_ON_USE (connect, + "connect() used without including "); + _GL_WARN_ON_USE (accept, + "accept() used without including "); + _GL_WARN_ON_USE (bind, + "bind() used without including "); + _GL_WARN_ON_USE (getpeername, + "getpeername() used without including "); + _GL_WARN_ON_USE (getsockname, + "getsockname() used without including "); + _GL_WARN_ON_USE (getsockopt, + "getsockopt() used without including "); + _GL_WARN_ON_USE (listen, + "listen() used without including "); + _GL_WARN_ON_USE (recv, + "recv() used without including "); + _GL_WARN_ON_USE (send, + "send() used without including "); + _GL_WARN_ON_USE (recvfrom, + "recvfrom() used without including "); + _GL_WARN_ON_USE (sendto, + "sendto() used without including "); + _GL_WARN_ON_USE (setsockopt, + "setsockopt() used without including "); + _GL_WARN_ON_USE (shutdown, + "shutdown() used without including "); + # endif + # endif + # if !defined _@GUARD_PREFIX@_SYS_SELECT_H + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef select + # define select select_used_without_including_sys_select_h + # else + _GL_WARN_ON_USE (select, + "select() used without including "); + # endif + # endif + # endif + #endif /* _@GUARD_PREFIX@_SYS_TIME_H */ diff -cNr octave-3.4.2/libgnu/sys_types.in.h octave-3.4.3/libgnu/sys_types.in.h *** octave-3.4.2/libgnu/sys_types.in.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/sys_types.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 0 **** --- 1,42 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Provide a more complete sys/types.h. + + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ + #endif + @PRAGMA_COLUMNS@ + + #ifndef _@GUARD_PREFIX@_SYS_TYPES_H + + /* The include_next requires a split double-inclusion guard. */ + #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ + + #ifndef _@GUARD_PREFIX@_SYS_TYPES_H + #define _@GUARD_PREFIX@_SYS_TYPES_H + + /* MSVC 9 defines size_t in , not in . */ + /* But avoid namespace pollution on glibc systems. */ + #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ + && ! defined __GLIBC__ + # include + #endif + + #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ + #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ diff -cNr octave-3.4.2/libgnu/sys_uio.in.h octave-3.4.3/libgnu/sys_uio.in.h *** octave-3.4.2/libgnu/sys_uio.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/sys_uio.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 39,45 **** #if !@HAVE_SYS_UIO_H@ /* A platform that lacks . */ ! /* Get 'ssize_t'. */ # include # ifdef __cplusplus --- 39,45 ---- #if !@HAVE_SYS_UIO_H@ /* A platform that lacks . */ ! /* Get 'size_t' and 'ssize_t'. */ # include # ifdef __cplusplus diff -cNr octave-3.4.2/libgnu/tmpdir.c octave-3.4.3/libgnu/tmpdir.c *** octave-3.4.2/libgnu/tmpdir.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/tmpdir.c 2011-09-29 13:25:44.000000000 -0400 *************** *** 0 **** --- 1,159 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Copyright (C) 1999, 2001-2002, 2006, 2009-2011 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* Extracted from sysdeps/posix/tempname.c. */ + + #include + + /* Specification. */ + #include "tmpdir.h" + + #include + #include + #include + + #include + #ifndef __set_errno + # define __set_errno(Val) errno = (Val) + #endif + + #include + #ifndef P_tmpdir + # ifdef _P_tmpdir /* native Windows */ + # define P_tmpdir _P_tmpdir + # else + # define P_tmpdir "/tmp" + # endif + #endif + + #include + + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + # define WIN32_LEAN_AND_MEAN /* avoid including junk */ + # include + #endif + + #include "pathmax.h" + + #if _LIBC + # define struct_stat64 struct stat64 + #else + # define struct_stat64 struct stat + # define __xstat64(version, path, buf) stat (path, buf) + #endif + + #if ! (HAVE___SECURE_GETENV || _LIBC) + # define __secure_getenv getenv + #endif + + /* Pathname support. + ISSLASH(C) tests whether C is a directory separator character. + */ + #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + /* Win32, Cygwin, OS/2, DOS */ + # define ISSLASH(C) ((C) == '/' || (C) == '\\') + #else + /* Unix */ + # define ISSLASH(C) ((C) == '/') + #endif + + + /* Return nonzero if DIR is an existent directory. */ + static bool + direxists (const char *dir) + { + struct_stat64 buf; + return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); + } + + /* Path search algorithm, for tmpnam, tmpfile, etc. If DIR is + non-null and exists, uses it; otherwise uses the first of $TMPDIR, + P_tmpdir, /tmp that exists. Copies into TMPL a template suitable + for use with mk[s]temp. Will fail (-1) if DIR is non-null and + doesn't exist, none of the searched dirs exists, or there's not + enough space in TMPL. */ + int + path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, + bool try_tmpdir) + { + const char *d; + size_t dlen, plen; + + if (!pfx || !pfx[0]) + { + pfx = "file"; + plen = 4; + } + else + { + plen = strlen (pfx); + if (plen > 5) + plen = 5; + } + + if (try_tmpdir) + { + d = __secure_getenv ("TMPDIR"); + if (d != NULL && direxists (d)) + dir = d; + else if (dir != NULL && direxists (dir)) + /* nothing */ ; + else + dir = NULL; + } + if (dir == NULL) + { + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + char dirbuf[PATH_MAX]; + DWORD retval; + + /* Find Windows temporary file directory. + We try this before P_tmpdir because Windows defines P_tmpdir to "\\" + and will therefore try to put all temporary files in the root + directory (unless $TMPDIR is set). */ + retval = GetTempPath (PATH_MAX, dirbuf); + if (retval > 0 && retval < PATH_MAX && direxists (dirbuf)) + dir = dirbuf; + else + #endif + if (direxists (P_tmpdir)) + dir = P_tmpdir; + else if (strcmp (P_tmpdir, "/tmp") != 0 && direxists ("/tmp")) + dir = "/tmp"; + else + { + __set_errno (ENOENT); + return -1; + } + } + + dlen = strlen (dir); + while (dlen >= 1 && ISSLASH (dir[dlen - 1])) + dlen--; /* remove trailing slashes */ + + /* check we have room for "${dir}/${pfx}XXXXXX\0" */ + if (tmpl_len < dlen + 1 + plen + 6 + 1) + { + __set_errno (EINVAL); + return -1; + } + + sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); + return 0; + } diff -cNr octave-3.4.2/libgnu/tmpdir.h octave-3.4.3/libgnu/tmpdir.h *** octave-3.4.2/libgnu/tmpdir.h 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/tmpdir.h 2011-06-27 22:09:39.000000000 -0400 *************** *** 0 **** --- 1,28 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Determine a temporary directory. + Copyright (C) 2001-2002, 2009-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + #include + #include + + /* Path search algorithm, for tmpnam, tmpfile, etc. If DIR is + non-null and exists, uses it; otherwise uses the first of $TMPDIR, + P_tmpdir, /tmp that exists. Copies into TMPL a template suitable + for use with mk[s]temp. Will fail (-1) if DIR is non-null and + doesn't exist, none of the searched dirs exists, or there's not + enough space in TMPL. */ + extern int path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, bool try_tmpdir); diff -cNr octave-3.4.2/libgnu/tmpfile.c octave-3.4.3/libgnu/tmpfile.c *** octave-3.4.2/libgnu/tmpfile.c 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/libgnu/tmpfile.c 2011-08-09 15:35:15.000000000 -0400 *************** *** 0 **** --- 1,129 ---- + /* -*- buffer-read-only: t -*- vi: set ro: */ + /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ + /* Create a temporary file. + Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + /* Written by Ben Pfaff. */ + + #include + + /* Specification. */ + #include + + /* This replacement is used only on native Windows platforms. */ + + #include + #include + #include + #include + + #include + + #define WIN32_LEAN_AND_MEAN /* avoid including junk */ + #include + + #include "pathmax.h" + #include "tempname.h" + #include "tmpdir.h" + + /* PATH_MAX is guaranteed to be defined, because this replacement is only + used on native Windows. */ + + /* On Windows, opening a file with _O_TEMPORARY has the effect of passing + the FILE_FLAG_DELETE_ON_CLOSE flag to CreateFile(), which has the effect + of deleting the file when it is closed - even when the program crashes. + But (according to the Cygwin sources) it works only on Windows NT or newer. + So we cache the info whether we are running on Windows NT or newer. */ + + static bool + supports_delete_on_close () + { + static int known; /* 1 = yes, -1 = no, 0 = unknown */ + if (!known) + { + OSVERSIONINFO v; + + if (GetVersionEx (&v)) + known = (v.dwPlatformId == VER_PLATFORM_WIN32_NT ? 1 : -1); + else + known = -1; + } + return (known > 0); + } + + FILE * + tmpfile (void) + { + char dir[PATH_MAX]; + DWORD retval; + + /* Find Windows temporary file directory. + We provide this as the directory argument to path_search because Windows + defines P_tmpdir to "\\" and will therefore try to put all temporary files + in the root directory (unless $TMPDIR is set). */ + retval = GetTempPath (PATH_MAX, dir); + if (retval > 0 && retval < PATH_MAX) + { + char xtemplate[PATH_MAX]; + + if (path_search (xtemplate, PATH_MAX, dir, NULL, true) >= 0) + { + size_t len = strlen (xtemplate); + int o_temporary = (supports_delete_on_close () ? _O_TEMPORARY : 0); + int fd; + + do + { + memcpy (&xtemplate[len - 6], "XXXXXX", 6); + if (gen_tempname (xtemplate, 0, 0, GT_NOCREATE) < 0) + { + fd = -1; + break; + } + + fd = _open (xtemplate, + _O_CREAT | _O_EXCL | o_temporary + | _O_RDWR | _O_BINARY, + _S_IREAD | _S_IWRITE); + } + while (fd < 0 && errno == EEXIST); + + if (fd >= 0) + { + FILE *fp = _fdopen (fd, "w+b"); + + if (fp != NULL) + return fp; + else + { + int saved_errno = errno; + _close (fd); + errno = saved_errno; + } + } + } + } + else + { + if (retval > 0) + errno = ENAMETOOLONG; + else + /* Ideally this should translate GetLastError () to an errno value. */ + errno = ENOENT; + } + + return NULL; + } diff -cNr octave-3.4.2/libgnu/unistd.in.h octave-3.4.3/libgnu/unistd.in.h *** octave-3.4.2/libgnu/unistd.in.h 2011-06-21 12:43:04.000000000 -0400 --- octave-3.4.3/libgnu/unistd.in.h 2011-09-29 13:25:44.000000000 -0400 *************** *** 77,93 **** #endif /* mingw fails to declare _exit in . */ ! /* mingw, BeOS, Haiku declare environ in , not in . */ /* Solaris declares getcwd not only in but also in . */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif ! /* mingw declares getcwd in , not in . */ ! #if ((@GNULIB_GETCWD@ || defined GNULIB_POSIXCHECK) \ && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) ! # include #endif /* AIX and OSF/1 5.1 declare getdomainname in , not in . --- 77,97 ---- #endif /* mingw fails to declare _exit in . */ ! /* mingw, MSVC, BeOS, Haiku declare environ in , not in ! . */ /* Solaris declares getcwd not only in but also in . */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif ! /* Native Windows platforms declare chdir, getcwd, rmdir in ! and/or , not in . */ ! #if ((@GNULIB_CHDIR@ || @GNULIB_GETCWD@ || @GNULIB_RMDIR@ \ ! || defined GNULIB_POSIXCHECK) \ && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) ! # include /* mingw32, mingw64 */ ! # include /* mingw64, MSVC 9 */ #endif /* AIX and OSF/1 5.1 declare getdomainname in , not in . *************** *** 99,104 **** --- 103,114 ---- # include #endif + /* MSVC defines off_t in . */ + #if !@HAVE_UNISTD_H@ + /* Get off_t. */ + # include + #endif + #if (@GNULIB_READ@ || @GNULIB_WRITE@ \ || @GNULIB_READLINK@ || @GNULIB_READLINKAT@ \ || @GNULIB_PREAD@ || @GNULIB_PWRITE@ || defined GNULIB_POSIXCHECK) *************** *** 119,196 **** /* The definition of _GL_WARN_ON_USE is copied here. */ ! #if @GNULIB_GETHOSTNAME@ ! /* Get all possible declarations of gethostname(). */ ! # if @UNISTD_H_HAVE_WINSOCK2_H@ ! # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef socket ! # define socket socket_used_without_including_sys_socket_h ! # undef connect ! # define connect connect_used_without_including_sys_socket_h ! # undef accept ! # define accept accept_used_without_including_sys_socket_h ! # undef bind ! # define bind bind_used_without_including_sys_socket_h ! # undef getpeername ! # define getpeername getpeername_used_without_including_sys_socket_h ! # undef getsockname ! # define getsockname getsockname_used_without_including_sys_socket_h ! # undef getsockopt ! # define getsockopt getsockopt_used_without_including_sys_socket_h ! # undef listen ! # define listen listen_used_without_including_sys_socket_h ! # undef recv ! # define recv recv_used_without_including_sys_socket_h ! # undef send ! # define send send_used_without_including_sys_socket_h ! # undef recvfrom ! # define recvfrom recvfrom_used_without_including_sys_socket_h ! # undef sendto ! # define sendto sendto_used_without_including_sys_socket_h ! # undef setsockopt ! # define setsockopt setsockopt_used_without_including_sys_socket_h ! # undef shutdown ! # define shutdown shutdown_used_without_including_sys_socket_h ! # else ! _GL_WARN_ON_USE (socket, ! "socket() used without including "); ! _GL_WARN_ON_USE (connect, ! "connect() used without including "); ! _GL_WARN_ON_USE (accept, ! "accept() used without including "); ! _GL_WARN_ON_USE (bind, ! "bind() used without including "); ! _GL_WARN_ON_USE (getpeername, ! "getpeername() used without including "); ! _GL_WARN_ON_USE (getsockname, ! "getsockname() used without including "); ! _GL_WARN_ON_USE (getsockopt, ! "getsockopt() used without including "); ! _GL_WARN_ON_USE (listen, ! "listen() used without including "); ! _GL_WARN_ON_USE (recv, ! "recv() used without including "); ! _GL_WARN_ON_USE (send, ! "send() used without including "); ! _GL_WARN_ON_USE (recvfrom, ! "recvfrom() used without including "); ! _GL_WARN_ON_USE (sendto, ! "sendto() used without including "); ! _GL_WARN_ON_USE (setsockopt, ! "setsockopt() used without including "); ! _GL_WARN_ON_USE (shutdown, ! "shutdown() used without including "); ! # endif # endif ! # if !defined _@GUARD_PREFIX@_SYS_SELECT_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef select ! # define select select_used_without_including_sys_select_h ! # else ! _GL_WARN_ON_USE (select, ! "select() used without including "); ! # endif # endif # endif #endif --- 129,205 ---- /* The definition of _GL_WARN_ON_USE is copied here. */ ! /* Hide some function declarations from . */ ! ! #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ ! # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef socket ! # define socket socket_used_without_including_sys_socket_h ! # undef connect ! # define connect connect_used_without_including_sys_socket_h ! # undef accept ! # define accept accept_used_without_including_sys_socket_h ! # undef bind ! # define bind bind_used_without_including_sys_socket_h ! # undef getpeername ! # define getpeername getpeername_used_without_including_sys_socket_h ! # undef getsockname ! # define getsockname getsockname_used_without_including_sys_socket_h ! # undef getsockopt ! # define getsockopt getsockopt_used_without_including_sys_socket_h ! # undef listen ! # define listen listen_used_without_including_sys_socket_h ! # undef recv ! # define recv recv_used_without_including_sys_socket_h ! # undef send ! # define send send_used_without_including_sys_socket_h ! # undef recvfrom ! # define recvfrom recvfrom_used_without_including_sys_socket_h ! # undef sendto ! # define sendto sendto_used_without_including_sys_socket_h ! # undef setsockopt ! # define setsockopt setsockopt_used_without_including_sys_socket_h ! # undef shutdown ! # define shutdown shutdown_used_without_including_sys_socket_h ! # else ! _GL_WARN_ON_USE (socket, ! "socket() used without including "); ! _GL_WARN_ON_USE (connect, ! "connect() used without including "); ! _GL_WARN_ON_USE (accept, ! "accept() used without including "); ! _GL_WARN_ON_USE (bind, ! "bind() used without including "); ! _GL_WARN_ON_USE (getpeername, ! "getpeername() used without including "); ! _GL_WARN_ON_USE (getsockname, ! "getsockname() used without including "); ! _GL_WARN_ON_USE (getsockopt, ! "getsockopt() used without including "); ! _GL_WARN_ON_USE (listen, ! "listen() used without including "); ! _GL_WARN_ON_USE (recv, ! "recv() used without including "); ! _GL_WARN_ON_USE (send, ! "send() used without including "); ! _GL_WARN_ON_USE (recvfrom, ! "recvfrom() used without including "); ! _GL_WARN_ON_USE (sendto, ! "sendto() used without including "); ! _GL_WARN_ON_USE (setsockopt, ! "setsockopt() used without including "); ! _GL_WARN_ON_USE (shutdown, ! "shutdown() used without including "); # endif ! # endif ! # if !defined _@GUARD_PREFIX@_SYS_SELECT_H ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # undef select ! # define select select_used_without_including_sys_select_h ! # else ! _GL_WARN_ON_USE (select, ! "select() used without including "); # endif # endif #endif *************** *** 226,237 **** #endif #if @GNULIB_CHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Follow symbolic links. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if @REPLACE_CHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chown --- 235,258 ---- #endif + #if @GNULIB_CHDIR@ + _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); + _GL_CXXALIASWARN (chdir); + #elif defined GNULIB_POSIXCHECK + # undef chdir + # if HAVE_RAW_DECL_CHDIR + _GL_WARN_ON_USE (chown, "chdir is not always in - " + "use gnulib module chdir for portability"); + # endif + #endif + + #if @GNULIB_CHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Follow symbolic links. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if @REPLACE_DUP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup2 rpl_dup2 --- 303,334 ---- #endif ! #if @GNULIB_DUP@ ! # if @REPLACE_DUP@ ! # if !(defined __cplusplus && defined GNULIB_NAMESPACE) ! # define dup rpl_dup ! # endif _GL_FUNCDECL_RPL (dup, int, (int oldfd)); _GL_CXXALIAS_RPL (dup, int, (int oldfd)); ! # else _GL_CXXALIAS_SYS (dup, int, (int oldfd)); ! # endif _GL_CXXALIASWARN (dup); + #elif defined GNULIB_POSIXCHECK + # undef dup + # if HAVE_RAW_DECL_DUP + _GL_WARN_ON_USE (dup, "dup is unportable - " + "use gnulib module dup for portability"); + # endif + #endif #if @GNULIB_DUP2@ /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if NEWFD = OLDFD, otherwise close NEWFD first if it is open. Return newfd if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if @REPLACE_DUP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup2 rpl_dup2 *************** *** 428,435 **** /* Change the process' current working directory to the directory on which the given file descriptor is open. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if ! @HAVE_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); --- 457,464 ---- /* Change the process' current working directory to the directory on which the given file descriptor is open. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if ! @HAVE_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); *************** *** 486,496 **** #endif ! #if @GNULIB_FSYNC@ /* Synchronize changes to a file. Return 0 if successful, otherwise -1 and errno set. ! See POSIX:2001 specification ! . */ # if !@HAVE_FSYNC@ _GL_FUNCDECL_SYS (fsync, int, (int fd)); # endif --- 515,544 ---- #endif ! #if @GNULIB_FDATASYNC@ /* Synchronize changes to a file. Return 0 if successful, otherwise -1 and errno set. ! See POSIX:2008 specification ! . */ ! # if !@HAVE_FDATASYNC@ || !@HAVE_DECL_FDATASYNC@ ! _GL_FUNCDECL_SYS (fdatasync, int, (int fd)); ! # endif ! _GL_CXXALIAS_SYS (fdatasync, int, (int fd)); ! _GL_CXXALIASWARN (fdatasync); ! #elif defined GNULIB_POSIXCHECK ! # undef fdatasync ! # if HAVE_RAW_DECL_FDATASYNC ! _GL_WARN_ON_USE (fdatasync, "fdatasync is unportable - " ! "use gnulib module fdatasync for portability"); ! # endif ! #endif ! ! ! #if @GNULIB_FSYNC@ ! /* Synchronize changes, including metadata, to a file. ! Return 0 if successful, otherwise -1 and errno set. ! See POSIX:2008 specification ! . */ # if !@HAVE_FSYNC@ _GL_FUNCDECL_SYS (fsync, int, (int fd)); # endif *************** *** 508,515 **** #if @GNULIB_FTRUNCATE@ /* Change the size of the file to which FD is opened to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if !@HAVE_FTRUNCATE@ _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); # endif --- 556,563 ---- #if @GNULIB_FTRUNCATE@ /* Change the size of the file to which FD is opened to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if !@HAVE_FTRUNCATE@ _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); # endif *************** *** 529,536 **** of BUF. Return BUF if successful, or NULL if the directory couldn't be determined or SIZE was too small. ! See the POSIX:2001 specification ! . Additionally, the gnulib module 'getcwd' guarantees the following GNU extension: If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as --- 577,584 ---- of BUF. Return BUF if successful, or NULL if the directory couldn't be determined or SIZE was too small. ! See the POSIX:2008 specification ! . Additionally, the gnulib module 'getcwd' guarantees the following GNU extension: If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as *************** *** 893,900 **** /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Do not follow symbolic links. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if @REPLACE_LCHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lchown --- 941,948 ---- /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Do not follow symbolic links. Return 0 if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if @REPLACE_LCHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lchown *************** *** 923,930 **** #if @GNULIB_LINK@ /* Create a new hard link for an existing file. Return 0 if successful, otherwise -1 and errno set. ! See POSIX:2001 specification ! . */ # if @REPLACE_LINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define link rpl_link --- 971,978 ---- #if @GNULIB_LINK@ /* Create a new hard link for an existing file. Return 0 if successful, otherwise -1 and errno set. ! See POSIX:2008 specification ! . */ # if @REPLACE_LINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define link rpl_link *************** *** 989,996 **** #if @GNULIB_LSEEK@ /* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. Return the new offset if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if @REPLACE_LSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lseek rpl_lseek --- 1037,1044 ---- #if @GNULIB_LSEEK@ /* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. Return the new offset if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if @REPLACE_LSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lseek rpl_lseek *************** *** 1060,1067 **** #if @GNULIB_PREAD@ /* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. Return the number of bytes placed into BUF if successful, otherwise ! set errno and return -1. 0 indicates EOF. See the POSIX:2001 ! specification . */ # if @REPLACE_PREAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pread --- 1108,1116 ---- #if @GNULIB_PREAD@ /* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. Return the number of bytes placed into BUF if successful, otherwise ! set errno and return -1. 0 indicates EOF. ! See the POSIX:2008 specification ! . */ # if @REPLACE_PREAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pread *************** *** 1095,1102 **** /* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. Return the number of bytes written if successful, otherwise set errno and return -1. 0 indicates nothing written. See the ! POSIX:2001 specification ! . */ # if @REPLACE_PWRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pwrite --- 1144,1151 ---- /* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. Return the number of bytes written if successful, otherwise set errno and return -1. 0 indicates nothing written. See the ! POSIX:2008 specification ! . */ # if @REPLACE_PWRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pwrite *************** *** 1128,1136 **** #if @GNULIB_READ@ /* Read up to COUNT bytes from file descriptor FD into the buffer starting ! at BUF. See the POSIX:2001 specification ! . */ ! # if @REPLACE_READ@ && @GNULIB_UNISTD_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read rpl_read --- 1177,1185 ---- #if @GNULIB_READ@ /* Read up to COUNT bytes from file descriptor FD into the buffer starting ! at BUF. See the POSIX:2008 specification ! . */ ! # if @REPLACE_READ@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read rpl_read *************** *** 1152,1159 **** /* Read the contents of the symbolic link FILE and place the first BUFSIZE bytes of it into BUF. Return the number of bytes placed into BUF if successful, otherwise -1 and errno set. ! See the POSIX:2001 specification ! . */ # if @REPLACE_READLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlink rpl_readlink --- 1201,1208 ---- /* Read the contents of the symbolic link FILE and place the first BUFSIZE bytes of it into BUF. Return the number of bytes placed into BUF if successful, otherwise -1 and errno set. ! See the POSIX:2008 specification ! . */ # if @REPLACE_READLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlink rpl_readlink *************** *** 1224,1231 **** #if @GNULIB_SLEEP@ /* Pause the execution of the current thread for N seconds. Returns the number of seconds left to sleep. ! See the POSIX:2001 specification ! . */ # if @REPLACE_SLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sleep --- 1273,1280 ---- #if @GNULIB_SLEEP@ /* Pause the execution of the current thread for N seconds. Returns the number of seconds left to sleep. ! See the POSIX:2008 specification ! . */ # if @REPLACE_SLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sleep *************** *** 1374,1380 **** /* Pause the execution of the current thread for N microseconds. Returns 0 on completion, or -1 on range error. See the POSIX:2001 specification ! . */ # if @REPLACE_USLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef usleep --- 1423,1429 ---- /* Pause the execution of the current thread for N microseconds. Returns 0 on completion, or -1 on range error. See the POSIX:2001 specification ! . */ # if @REPLACE_USLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef usleep *************** *** 1400,1408 **** #if @GNULIB_WRITE@ /* Write up to COUNT bytes starting at BUF to file descriptor FD. ! See the POSIX:2001 specification ! . */ ! # if @REPLACE_WRITE@ && (@GNULIB_UNISTD_H_NONBLOCKING@ || @GNULIB_UNISTD_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write rpl_write --- 1449,1457 ---- #if @GNULIB_WRITE@ /* Write up to COUNT bytes starting at BUF to file descriptor FD. ! See the POSIX:2008 specification ! . */ ! # if @REPLACE_WRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write rpl_write diff -cNr octave-3.4.2/libgnu/unlinkat.c octave-3.4.3/libgnu/unlinkat.c *** octave-3.4.2/libgnu/unlinkat.c 2011-04-19 21:36:59.000000000 -0400 --- octave-3.4.3/libgnu/unlinkat.c 2011-08-09 15:35:15.000000000 -0400 *************** *** 1,6 **** /* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ ! /* Work around unlinkat bugs on Solaris 9. Copyright (C) 2009-2011 Free Software Foundation, Inc. --- 1,6 ---- /* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ ! /* Work around unlinkat bugs on Solaris 9 and Hurd. Copyright (C) 2009-2011 Free Software Foundation, Inc. *************** *** 28,33 **** --- 28,35 ---- #include #include + #include + #include "dosname.h" #include "openat.h" *************** *** 36,42 **** # undef unlinkat /* unlinkat without AT_REMOVEDIR does not honor trailing / on Solaris ! 9. Solve it in a similar manner to unlink. */ int rpl_unlinkat (int fd, char const *name, int flag) --- 38,45 ---- # undef unlinkat /* unlinkat without AT_REMOVEDIR does not honor trailing / on Solaris ! 9. Solve it in a similar manner to unlink. Hurd has the same ! issue. */ int rpl_unlinkat (int fd, char const *name, int flag) diff -cNr octave-3.4.2/libgnu/w32sock.h octave-3.4.3/libgnu/w32sock.h *** octave-3.4.2/libgnu/w32sock.h 2011-04-19 21:36:59.000000000 -0400 --- octave-3.4.3/libgnu/w32sock.h 2011-09-29 13:25:45.000000000 -0400 *************** *** 24,32 **** /* Get O_RDWR and O_BINARY. */ #include ! /* Get _get_osfhandle() and _open_osfhandle(). */ #include #define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) #define SOCKET_TO_FD(fh) (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY)) --- 24,35 ---- /* Get O_RDWR and O_BINARY. */ #include ! /* Get _open_osfhandle(). */ #include + /* Get _get_osfhandle(). */ + #include "msvc-nothrow.h" + #define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) #define SOCKET_TO_FD(fh) (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY)) diff -cNr octave-3.4.2/libgnu/wchar.in.h octave-3.4.3/libgnu/wchar.in.h *** octave-3.4.2/libgnu/wchar.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/wchar.in.h 2011-09-29 13:25:45.000000000 -0400 *************** *** 100,105 **** --- 100,117 ---- # define WEOF -1 # endif #else + /* MSVC defines wint_t as 'unsigned short' in . + This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be + "unchanged by default argument promotions". Override it. */ + # if defined _MSC_VER + # if !GNULIB_defined_wint_t + # include + typedef unsigned int rpl_wint_t; + # undef wint_t + # define wint_t rpl_wint_t + # define GNULIB_defined_wint_t 1 + # endif + # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif diff -cNr octave-3.4.2/libgnu/wctype.in.h octave-3.4.3/libgnu/wctype.in.h *** octave-3.4.2/libgnu/wctype.in.h 2011-06-10 14:00:50.000000000 -0400 --- octave-3.4.3/libgnu/wctype.in.h 2011-09-29 13:25:45.000000000 -0400 *************** *** 81,86 **** --- 81,98 ---- # define WEOF -1 # endif #else + /* MSVC defines wint_t as 'unsigned short' in . + This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be + "unchanged by default argument promotions". Override it. */ + # if defined _MSC_VER + # if !GNULIB_defined_wint_t + # include + typedef unsigned int rpl_wint_t; + # undef wint_t + # define wint_t rpl_wint_t + # define GNULIB_defined_wint_t 1 + # endif + # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif *************** *** 130,135 **** --- 142,151 ---- # define iswspace rpl_iswspace # define iswupper rpl_iswupper # define iswxdigit rpl_iswxdigit + # endif + # endif + # if @REPLACE_TOWLOWER@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towlower rpl_towlower # define towupper rpl_towupper # endif *************** *** 273,279 **** } static inline wint_t ! # if @REPLACE_ISWCNTRL@ rpl_towlower # else towlower --- 289,295 ---- } static inline wint_t ! # if @REPLACE_TOWLOWER@ rpl_towlower # else towlower *************** *** 284,290 **** } static inline wint_t ! # if @REPLACE_ISWCNTRL@ rpl_towupper # else towupper --- 300,306 ---- } static inline wint_t ! # if @REPLACE_TOWLOWER@ rpl_towupper # else towupper *************** *** 431,437 **** # endif #endif ! #if @REPLACE_ISWCNTRL@ || defined __MINGW32__ _GL_CXXALIAS_RPL (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_RPL (towupper, wint_t, (wint_t wc)); #else --- 447,453 ---- # endif #endif ! #if @REPLACE_TOWLOWER@ || defined __MINGW32__ _GL_CXXALIAS_RPL (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_RPL (towupper, wint_t, (wint_t wc)); #else diff -cNr octave-3.4.2/liboctave/Array.cc octave-3.4.3/liboctave/Array.cc *** octave-3.4.2/liboctave/Array.cc 2011-06-09 13:16:42.000000000 -0400 --- octave-3.4.3/liboctave/Array.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 1500,1506 **** Array idx (dim_vector (a.ndims (), 1)); idx(0) = i; idx(1) = j; ! for (int k = 0; k < a.ndims (); k++) idx(k) = idx_vector (0, a.dimensions(k)); assign (idx, a); } --- 1500,1506 ---- Array idx (dim_vector (a.ndims (), 1)); idx(0) = i; idx(1) = j; ! for (int k = 2; k < a.ndims (); k++) idx(k) = idx_vector (0, a.dimensions(k)); assign (idx, a); } diff -cNr octave-3.4.2/liboctave/cmd-edit.cc octave-3.4.3/liboctave/cmd-edit.cc *** octave-3.4.2/liboctave/cmd-edit.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/cmd-edit.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 765,771 **** default_command_editor::do_readline (const std::string& prompt, bool& eof) { gnulib::fputs (prompt.c_str (), output_stream); ! fflush (output_stream); return octave_fgetl (input_stream, eof); } --- 765,771 ---- default_command_editor::do_readline (const std::string& prompt, bool& eof) { gnulib::fputs (prompt.c_str (), output_stream); ! gnulib::fflush (output_stream); return octave_fgetl (input_stream, eof); } diff -cNr octave-3.4.2/liboctave/dMatrix.cc octave-3.4.3/liboctave/dMatrix.cc *** octave-3.4.2/liboctave/dMatrix.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/dMatrix.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 3111,3125 **** */ /* Test some simple identities ! %!shared M, cv, rv ! %! M = randn(10,10); %! cv = randn(10,1); %! rv = randn(1,10); ! %!assert([M*cv,M*cv],M*[cv,cv],1e-14) ! %!assert([M'*cv,M'*cv],M'*[cv,cv],1e-14) ! %!assert([rv*M;rv*M],[rv;rv]*M,1e-14) ! %!assert([rv*M';rv*M'],[rv;rv]*M',1e-14) ! %!assert(2*rv*cv,[rv,rv]*[cv;cv],1e-14) */ static inline char --- 3111,3129 ---- */ /* Test some simple identities ! %!shared M, cv, rv, Mt, rvt ! %! M = randn(10,10)+100*eye(10,10); ! %! Mt = M'; %! cv = randn(10,1); %! rv = randn(1,10); ! %! rvt = rv'; ! %!assert([M*cv,M*cv],M*[cv,cv],1e-13) ! %!assert([M'*cv,M'*cv],M'*[cv,cv],1e-13) ! %!assert([rv*M;rv*M],[rv;rv]*M,1e-13) ! %!assert([rv*M';rv*M'],[rv;rv]*M',1e-13) ! %!assert(2*rv*cv,[rv,rv]*[cv;cv],1e-13) ! %!assert(M'\cv,Mt\cv,1e-14) ! %!assert(M'\rv',Mt\rvt,1e-14) */ static inline char diff -cNr octave-3.4.2/liboctave/kpse.cc octave-3.4.3/liboctave/kpse.cc *** octave-3.4.2/liboctave/kpse.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/kpse.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 212,218 **** /* A printf for the debugging. */ #define DEBUGF_START() do { gnulib::fputs ("kdebug:", stderr) ! #define DEBUGF_END() fflush (stderr); } while (0) #define DEBUGF(str) \ DEBUGF_START (); gnulib::fputs (str, stderr); DEBUGF_END () --- 212,218 ---- /* A printf for the debugging. */ #define DEBUGF_START() do { gnulib::fputs ("kdebug:", stderr) ! #define DEBUGF_END() gnulib::fflush (stderr); } while (0) #define DEBUGF(str) \ DEBUGF_START (); gnulib::fputs (str, stderr); DEBUGF_END () *************** *** 432,438 **** } gnulib::putc ('\n', stderr); } ! fflush (stderr); } #endif --- 432,438 ---- } gnulib::putc ('\n', stderr); } ! gnulib::fflush (stderr); } #endif *************** *** 2428,2434 **** gnulib::fprintf (stderr, " %s", (STR_LLIST (*e)).c_str ()); } gnulib::putc ('\n', stderr); ! fflush (stderr); } #endif /* KPSE_DEBUG */ --- 2428,2434 ---- gnulib::fprintf (stderr, " %s", (STR_LLIST (*e)).c_str ()); } gnulib::putc ('\n', stderr); ! gnulib::fflush (stderr); } #endif /* KPSE_DEBUG */ diff -cNr octave-3.4.2/liboctave/lo-utils.cc octave-3.4.3/liboctave/lo-utils.cc *** octave-3.4.2/liboctave/lo-utils.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/lo-utils.cc 2011-09-01 09:39:18.000000000 -0400 *************** *** 124,130 **** do { ! if (fgets (bufptr, grow_size, f)) { len = strlen (bufptr); --- 124,130 ---- do { ! if (gnulib::fgets (bufptr, grow_size, f)) { len = strlen (bufptr); diff -cNr octave-3.4.2/liboctave/Makefile.in octave-3.4.3/liboctave/Makefile.in *** octave-3.4.2/liboctave/Makefile.in 2011-06-24 10:38:41.000000000 -0400 --- octave-3.4.3/liboctave/Makefile.in 2011-10-10 10:24:14.000000000 -0400 *************** *** 69,91 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 69,93 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 95,143 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 97,152 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 666,677 **** --- 675,689 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 683,690 **** --- 695,707 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 703,708 **** --- 720,726 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 792,797 **** --- 810,817 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 799,813 **** --- 819,837 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 817,822 **** --- 841,847 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 950,955 **** --- 975,981 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 961,966 **** --- 987,993 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 991,996 **** --- 1018,1024 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 1004,1009 **** --- 1032,1038 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 1014,1021 **** --- 1043,1054 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 1063,1085 **** --- 1096,1127 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 1097,1104 **** --- 1139,1148 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 1208,1213 **** --- 1252,1258 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 1236,1247 **** --- 1281,1294 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 1258,1269 **** --- 1305,1318 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1331,1336 **** --- 1380,1386 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1396,1403 **** --- 1446,1456 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1435,1440 **** --- 1488,1494 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/liboctave/randgamma.h octave-3.4.3/liboctave/randgamma.h *** octave-3.4.2/liboctave/randgamma.h 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/randgamma.h 2011-09-20 13:26:04.000000000 -0400 *************** *** 29,36 **** extern "C" { #endif ! extern double oct_randg (double a); ! extern void oct_fill_randg (double a, octave_idx_type n, double *p); #ifdef __cplusplus } --- 29,36 ---- extern "C" { #endif ! extern OCTAVE_API double oct_randg (double a); ! extern OCTAVE_API void oct_fill_randg (double a, octave_idx_type n, double *p); #ifdef __cplusplus } diff -cNr octave-3.4.2/liboctave/randmtzig.h octave-3.4.3/liboctave/randmtzig.h *** octave-3.4.2/liboctave/randmtzig.h 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/randmtzig.h 2011-09-20 13:26:04.000000000 -0400 *************** *** 71,91 **** #endif /* === Mersenne Twister === */ ! extern void oct_init_by_int (uint32_t s); ! extern void oct_init_by_array (uint32_t init_key[], int key_length); ! extern void oct_init_by_entropy (void); ! extern void oct_set_state (uint32_t save[]); ! extern void oct_get_state (uint32_t save[]); /* === Array generators === */ ! extern double oct_randu (void); ! extern double oct_randn (void); ! extern double oct_rande (void); /* === Array generators === */ ! extern void oct_fill_randu (octave_idx_type n, double *p); ! extern void oct_fill_randn (octave_idx_type n, double *p); ! extern void oct_fill_rande (octave_idx_type n, double *p); #ifdef __cplusplus } --- 71,91 ---- #endif /* === Mersenne Twister === */ ! extern OCTAVE_API void oct_init_by_int (uint32_t s); ! extern OCTAVE_API void oct_init_by_array (uint32_t init_key[], int key_length); ! extern OCTAVE_API void oct_init_by_entropy (void); ! extern OCTAVE_API void oct_set_state (uint32_t save[]); ! extern OCTAVE_API void oct_get_state (uint32_t save[]); /* === Array generators === */ ! extern OCTAVE_API double oct_randu (void); ! extern OCTAVE_API double oct_randn (void); ! extern OCTAVE_API double oct_rande (void); /* === Array generators === */ ! extern OCTAVE_API void oct_fill_randu (octave_idx_type n, double *p); ! extern OCTAVE_API void oct_fill_randn (octave_idx_type n, double *p); ! extern OCTAVE_API void oct_fill_rande (octave_idx_type n, double *p); #ifdef __cplusplus } diff -cNr octave-3.4.2/liboctave/randpoisson.h octave-3.4.3/liboctave/randpoisson.h *** octave-3.4.2/liboctave/randpoisson.h 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/randpoisson.h 2011-09-20 13:26:04.000000000 -0400 *************** *** 29,36 **** extern "C" { #endif ! extern double oct_randp (double L); ! extern void oct_fill_randp (double L, octave_idx_type n, double *p); #ifdef __cplusplus } --- 29,36 ---- extern "C" { #endif ! extern OCTAVE_API double oct_randp (double L); ! extern OCTAVE_API void oct_fill_randp (double L, octave_idx_type n, double *p); #ifdef __cplusplus } diff -cNr octave-3.4.2/liboctave/sparse-util.cc octave-3.4.3/liboctave/sparse-util.cc *** octave-3.4.2/liboctave/sparse-util.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/liboctave/sparse-util.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 52,58 **** va_list args; va_start (args, fmt); int ret = gnulib::vfprintf (stderr, fmt, args); ! fflush (stderr); va_end (args); return ret; } --- 52,58 ---- va_list args; va_start (args, fmt); int ret = gnulib::vfprintf (stderr, fmt, args); ! gnulib::fflush (stderr); va_end (args); return ret; } diff -cNr octave-3.4.2/m4/alloca.m4 octave-3.4.3/m4/alloca.m4 *** octave-3.4.2/m4/alloca.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/alloca.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # alloca.m4 serial 12 dnl Copyright (C) 2002-2004, 2006-2007, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation --- 1,4 ---- ! # alloca.m4 serial 13 dnl Copyright (C) 2002-2004, 2006-2007, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation *************** *** 76,92 **** if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do AC_CHECK_FUNC($ac_func, ! [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func, ! [Define to one of `_getb67', `GETB67', ! `getb67' for Cray-2 and Cray-YMP ! systems. This function is required for ! `alloca.c' support on those systems.]) break]) done fi AC_CACHE_CHECK([stack direction for C alloca], ! [ac_cv_c_stack_direction], [AC_RUN_IFELSE([AC_LANG_SOURCE( [AC_INCLUDES_DEFAULT int --- 76,92 ---- if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do AC_CHECK_FUNC($ac_func, ! [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func, ! [Define to one of `_getb67', `GETB67', ! `getb67' for Cray-2 and Cray-YMP ! systems. This function is required for ! `alloca.c' support on those systems.]) break]) done fi AC_CACHE_CHECK([stack direction for C alloca], ! [ac_cv_c_stack_direction], [AC_RUN_IFELSE([AC_LANG_SOURCE( [AC_INCLUDES_DEFAULT int *************** *** 105,120 **** { return find_stack_direction (0, argc + !argv + 20) < 0; }])], ! [ac_cv_c_stack_direction=1], ! [ac_cv_c_stack_direction=-1], ! [ac_cv_c_stack_direction=0])]) AH_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. ! STACK_DIRECTION > 0 => grows toward higher addresses ! STACK_DIRECTION < 0 => grows toward lower addresses ! STACK_DIRECTION = 0 => direction of growth unknown */ @%:@undef STACK_DIRECTION])dnl AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) ])# _AC_LIBOBJ_ALLOCA --- 105,120 ---- { return find_stack_direction (0, argc + !argv + 20) < 0; }])], ! [ac_cv_c_stack_direction=1], ! [ac_cv_c_stack_direction=-1], ! [ac_cv_c_stack_direction=0])]) AH_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. ! STACK_DIRECTION > 0 => grows toward higher addresses ! STACK_DIRECTION < 0 => grows toward lower addresses ! STACK_DIRECTION = 0 => direction of growth unknown */ @%:@undef STACK_DIRECTION])dnl AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) ])# _AC_LIBOBJ_ALLOCA diff -cNr octave-3.4.2/m4/ceilf.m4 octave-3.4.3/m4/ceilf.m4 *** octave-3.4.2/m4/ceilf.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/ceilf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # ceilf.m4 serial 11 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # ceilf.m4 serial 12 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 11,17 **** dnl Persuade glibc to declare ceilf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether ceilf() is declared. ! AC_CHECK_DECLS([ceilf], , , [#include ]) if test "$ac_cv_have_decl_ceilf" = yes; then dnl Test whether ceilf() can be used without libm. gl_FUNC_CEILF_LIBS --- 11,17 ---- dnl Persuade glibc to declare ceilf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether ceilf() is declared. ! AC_CHECK_DECLS([ceilf], , , [[#include ]]) if test "$ac_cv_have_decl_ceilf" = yes; then dnl Test whether ceilf() can be used without libm. gl_FUNC_CEILF_LIBS diff -cNr octave-3.4.2/m4/chdir-long.m4 octave-3.4.3/m4/chdir-long.m4 *** octave-3.4.2/m4/chdir-long.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/chdir-long.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! #serial 12 # Use Gnulib's robust chdir function. # It can handle arbitrarily long directory names, which means --- 1,4 ---- ! #serial 14 # Use Gnulib's robust chdir function. # It can handle arbitrarily long directory names, which means *************** *** 15,26 **** AC_DEFUN([gl_FUNC_CHDIR_LONG], [ AC_CACHE_CHECK([whether this system has an arbitrary file name length limit], gl_cv_have_arbitrary_file_name_length_limit, [AC_EGREP_CPP([have_arbitrary_file_name_length_limit], ! [#include ! #include ! #if defined PATH_MAX || defined MAXPATHLEN have_arbitrary_file_name_length_limit #endif], gl_cv_have_arbitrary_file_name_length_limit=yes, --- 15,26 ---- AC_DEFUN([gl_FUNC_CHDIR_LONG], [ + AC_REQUIRE([gl_PATHMAX_SNIPPET_PREREQ]) AC_CACHE_CHECK([whether this system has an arbitrary file name length limit], gl_cv_have_arbitrary_file_name_length_limit, [AC_EGREP_CPP([have_arbitrary_file_name_length_limit], ! gl_PATHMAX_SNIPPET[ ! #ifdef PATH_MAX have_arbitrary_file_name_length_limit #endif], gl_cv_have_arbitrary_file_name_length_limit=yes, diff -cNr octave-3.4.2/m4/closedir.m4 octave-3.4.3/m4/closedir.m4 *** octave-3.4.2/m4/closedir.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/closedir.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,23 ---- + # closedir.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_CLOSEDIR], + [ + AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + + AC_CHECK_FUNCS([closedir]) + if test $ac_cv_func_closedir = no; then + HAVE_CLOSEDIR=0 + fi + dnl Replace closedir() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + REPLACE_CLOSEDIR=1 + fi + ]) + ]) diff -cNr octave-3.4.2/m4/close.m4 octave-3.4.3/m4/close.m4 *** octave-3.4.2/m4/close.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/close.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # close.m4 serial 5 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # close.m4 serial 8 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,26 **** AC_DEFUN([gl_FUNC_CLOSE], [ m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ gl_PREREQ_SYS_H_WINSOCK2 if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the close() function. So enable the support for sockets. ! gl_REPLACE_CLOSE fi ]) - ]) - - AC_DEFUN([gl_REPLACE_CLOSE], - [ - AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) - REPLACE_CLOSE=1 - AC_LIBOBJ([close]) - gl_REPLACE_FCLOSE ]) --- 6,33 ---- AC_DEFUN([gl_FUNC_CLOSE], [ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + AC_REQUIRE([gl_MSVC_INVAL]) + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_CLOSE=1 + fi m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ gl_PREREQ_SYS_H_WINSOCK2 if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the close() function. So enable the support for sockets. ! REPLACE_CLOSE=1 ! fi ! ]) ! dnl Replace close() for supporting the gnulib-defined fchdir() function, ! dnl to keep fchdir's bookkeeping up-to-date. ! m4_ifdef([gl_FUNC_FCHDIR], [ ! if test $REPLACE_CLOSE = 0; then ! gl_TEST_FCHDIR ! if test $HAVE_FCHDIR = 0; then ! REPLACE_CLOSE=1 ! fi fi ]) ]) diff -cNr octave-3.4.2/m4/dirent_h.m4 octave-3.4.3/m4/dirent_h.m4 *** octave-3.4.2/m4/dirent_h.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/dirent_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # dirent_h.m4 serial 14 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # dirent_h.m4 serial 16 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 14,24 **** dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([dirent.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [alphasort dirfd fdopendir scandir]) ]) AC_DEFUN([gl_DIRENT_MODULE_INDICATOR], --- 14,30 ---- dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([dirent.h]) + if test $ac_cv_header_dirent_h = yes; then + HAVE_DIRENT_H=1 + else + HAVE_DIRENT_H=0 + fi + AC_SUBST([HAVE_DIRENT_H]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [alphasort closedir dirfd fdopendir opendir readdir rewinddir scandir]) ]) AC_DEFUN([gl_DIRENT_MODULE_INDICATOR], *************** *** 33,50 **** AC_DEFUN([gl_DIRENT_H_DEFAULTS], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR GNULIB_DIRFD=0; AC_SUBST([GNULIB_DIRFD]) GNULIB_FDOPENDIR=0; AC_SUBST([GNULIB_FDOPENDIR]) GNULIB_SCANDIR=0; AC_SUBST([GNULIB_SCANDIR]) GNULIB_ALPHASORT=0; AC_SUBST([GNULIB_ALPHASORT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_DIRFD=1; AC_SUBST([HAVE_DECL_DIRFD]) HAVE_DECL_FDOPENDIR=1;AC_SUBST([HAVE_DECL_FDOPENDIR]) HAVE_FDOPENDIR=1; AC_SUBST([HAVE_FDOPENDIR]) HAVE_SCANDIR=1; AC_SUBST([HAVE_SCANDIR]) HAVE_ALPHASORT=1; AC_SUBST([HAVE_ALPHASORT]) REPLACE_CLOSEDIR=0; AC_SUBST([REPLACE_CLOSEDIR]) REPLACE_DIRFD=0; AC_SUBST([REPLACE_DIRFD]) REPLACE_FDOPENDIR=0; AC_SUBST([REPLACE_FDOPENDIR]) - REPLACE_OPENDIR=0; AC_SUBST([REPLACE_OPENDIR]) ]) --- 39,64 ---- AC_DEFUN([gl_DIRENT_H_DEFAULTS], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR + GNULIB_OPENDIR=0; AC_SUBST([GNULIB_OPENDIR]) + GNULIB_READDIR=0; AC_SUBST([GNULIB_READDIR]) + GNULIB_REWINDDIR=0; AC_SUBST([GNULIB_REWINDDIR]) + GNULIB_CLOSEDIR=0; AC_SUBST([GNULIB_CLOSEDIR]) GNULIB_DIRFD=0; AC_SUBST([GNULIB_DIRFD]) GNULIB_FDOPENDIR=0; AC_SUBST([GNULIB_FDOPENDIR]) GNULIB_SCANDIR=0; AC_SUBST([GNULIB_SCANDIR]) GNULIB_ALPHASORT=0; AC_SUBST([GNULIB_ALPHASORT]) dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_OPENDIR=1; AC_SUBST([HAVE_OPENDIR]) + HAVE_READDIR=1; AC_SUBST([HAVE_READDIR]) + HAVE_REWINDDIR=1; AC_SUBST([HAVE_REWINDDIR]) + HAVE_CLOSEDIR=1; AC_SUBST([HAVE_CLOSEDIR]) HAVE_DECL_DIRFD=1; AC_SUBST([HAVE_DECL_DIRFD]) HAVE_DECL_FDOPENDIR=1;AC_SUBST([HAVE_DECL_FDOPENDIR]) HAVE_FDOPENDIR=1; AC_SUBST([HAVE_FDOPENDIR]) HAVE_SCANDIR=1; AC_SUBST([HAVE_SCANDIR]) HAVE_ALPHASORT=1; AC_SUBST([HAVE_ALPHASORT]) + REPLACE_OPENDIR=0; AC_SUBST([REPLACE_OPENDIR]) REPLACE_CLOSEDIR=0; AC_SUBST([REPLACE_CLOSEDIR]) REPLACE_DIRFD=0; AC_SUBST([REPLACE_DIRFD]) REPLACE_FDOPENDIR=0; AC_SUBST([REPLACE_FDOPENDIR]) ]) diff -cNr octave-3.4.2/m4/dirfd.m4 octave-3.4.3/m4/dirfd.m4 *** octave-3.4.2/m4/dirfd.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/dirfd.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 21 -*- Autoconf -*- dnl Find out how to get the file descriptor associated with an open DIR*. --- 1,4 ---- ! # serial 22 -*- Autoconf -*- dnl Find out how to get the file descriptor associated with an open DIR*. *************** *** 18,25 **** AC_CHECK_FUNCS([dirfd]) AC_CHECK_DECLS([dirfd], , , ! [#include ! #include ]) if test $ac_cv_have_decl_dirfd = no; then HAVE_DECL_DIRFD=0 fi --- 18,25 ---- AC_CHECK_FUNCS([dirfd]) AC_CHECK_DECLS([dirfd], , , ! [[#include ! #include ]]) if test $ac_cv_have_decl_dirfd = no; then HAVE_DECL_DIRFD=0 fi diff -cNr octave-3.4.2/m4/dup2.m4 octave-3.4.3/m4/dup2.m4 *** octave-3.4.2/m4/dup2.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/dup2.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! #serial 12 dnl Copyright (C) 2002, 2005, 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! #serial 16 dnl Copyright (C) 2002, 2005, 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 12,23 **** AC_CHECK_FUNCS_ONCE([dup2]) if test $ac_cv_func_dup2 = no; then HAVE_DUP2=0 - AC_LIBOBJ([dup2]) fi ], [ AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.]) ]) - AC_CHECK_FUNCS_ONCE([fcntl]) if test $HAVE_DUP2 = 1; then AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works], [AC_RUN_IFELSE([ --- 12,21 ---- *************** *** 25,37 **** #include #include ]], [int result = 0; ! #if HAVE_FCNTL if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; ! #endif HAVE_FCNTL if (dup2 (1, 1) == 0) result |= 2; ! #if HAVE_FCNTL if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif --- 23,35 ---- #include #include ]], [int result = 0; ! #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; ! #endif if (dup2 (1, 1) == 0) result |= 2; ! #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif *************** *** 61,77 **** esac]) ]) if test "$gl_cv_func_dup2_works" = no; then ! gl_REPLACE_DUP2 fi fi ]) ! AC_DEFUN([gl_REPLACE_DUP2], ! [ ! AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ! AC_CHECK_FUNCS_ONCE([dup2]) ! if test $ac_cv_func_dup2 = yes; then ! REPLACE_DUP2=1 ! fi ! AC_LIBOBJ([dup2]) ! ]) --- 59,76 ---- esac]) ]) if test "$gl_cv_func_dup2_works" = no; then ! REPLACE_DUP2=1 fi fi + dnl Replace dup2() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + REPLACE_DUP2=1 + fi + ]) ]) ! # Prerequisites of lib/dup2.c. ! AC_DEFUN([gl_PREREQ_DUP2], []) diff -cNr octave-3.4.2/m4/dup.m4 octave-3.4.3/m4/dup.m4 *** octave-3.4.2/m4/dup.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/dup.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,27 ---- + # dup.m4 serial 2 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_DUP], + [ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + AC_REQUIRE([gl_MSVC_INVAL]) + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_DUP=1 + fi + dnl Replace dup() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + REPLACE_DUP=1 + fi + ]) + ]) + + # Prerequisites of lib/dup.c. + AC_DEFUN([gl_PREREQ_DUP], [ + AC_REQUIRE([AC_C_INLINE]) + ]) diff -cNr octave-3.4.2/m4/errno_h.m4 octave-3.4.3/m4/errno_h.m4 *** octave-3.4.2/m4/errno_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/errno_h.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # errno_h.m4 serial 9 dnl Copyright (C) 2004, 2006, 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # errno_h.m4 serial 10 dnl Copyright (C) 2004, 2006, 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 34,39 **** --- 34,45 ---- #if !defined ENOTSUP booboo #endif + #if !defined ENETRESET + booboo + #endif + #if !defined ECONNABORTED + booboo + #endif #if !defined ESTALE booboo #endif diff -cNr octave-3.4.2/m4/extensions.m4 octave-3.4.3/m4/extensions.m4 *** octave-3.4.2/m4/extensions.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/extensions.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # serial 9 -*- Autoconf -*- # Enable extensions on systems that normally disable them. # Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc. --- 1,4 ---- ! # serial 10 -*- Autoconf -*- # Enable extensions on systems that normally disable them. # Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc. *************** *** 67,72 **** --- 67,76 ---- #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif + /* Enable general extensions on MacOS X. */ + #ifndef _DARWIN_C_SOURCE + # undef _DARWIN_C_SOURCE + #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE *************** *** 95,100 **** --- 99,105 ---- test $ac_cv_safe_to_define___extensions__ = yes && AC_DEFINE([__EXTENSIONS__]) AC_DEFINE([_ALL_SOURCE]) + AC_DEFINE([_DARWIN_C_SOURCE]) AC_DEFINE([_GNU_SOURCE]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) AC_DEFINE([_TANDEM_SOURCE]) diff -cNr octave-3.4.2/m4/fchdir.m4 octave-3.4.3/m4/fchdir.m4 *** octave-3.4.2/m4/fchdir.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/fchdir.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # fchdir.m4 serial 16 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # fchdir.m4 serial 20 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 8,23 **** [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) - AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([fchdir]) if test $ac_cv_have_decl_fchdir = no; then HAVE_DECL_FCHDIR=0 fi ! AC_CHECK_FUNCS_ONCE([fchdir]) ! if test $ac_cv_func_fchdir = no; then ! HAVE_FCHDIR=0 AC_LIBOBJ([fchdir]) gl_PREREQ_FCHDIR AC_DEFINE([REPLACE_FCHDIR], [1], --- 8,21 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([fchdir]) if test $ac_cv_have_decl_fchdir = no; then HAVE_DECL_FCHDIR=0 fi ! AC_REQUIRE([gl_TEST_FCHDIR]) ! if test $HAVE_FCHDIR = 0; then AC_LIBOBJ([fchdir]) gl_PREREQ_FCHDIR AC_DEFINE([REPLACE_FCHDIR], [1], *************** *** 25,38 **** dnl We must also replace anything that can manipulate a directory fd, dnl to keep our bookkeeping up-to-date. We don't have to replace dnl fstatat, since no platform has fstatat but lacks fchdir. - REPLACE_OPENDIR=1 - REPLACE_CLOSEDIR=1 - REPLACE_DUP=1 - gl_REPLACE_OPEN - gl_REPLACE_CLOSE - gl_REPLACE_DUP2 - dnl dup3 is already unconditionally replaced - gl_REPLACE_FCNTL AC_CACHE_CHECK([whether open can visit directories], [gl_cv_func_open_directory_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include --- 23,28 ---- *************** *** 43,52 **** if test "$gl_cv_func_open_directory_works" != yes; then AC_DEFINE([REPLACE_OPEN_DIRECTORY], [1], [Define to 1 if open() should work around the inability to open a directory.]) - REPLACE_FSTAT=1 fi fi ]) # Prerequisites of lib/fchdir.c. AC_DEFUN([gl_PREREQ_FCHDIR], [:]) --- 33,51 ---- if test "$gl_cv_func_open_directory_works" != yes; then AC_DEFINE([REPLACE_OPEN_DIRECTORY], [1], [Define to 1 if open() should work around the inability to open a directory.]) fi fi ]) + # Determine whether to use the overrides in lib/fchdir.c. + AC_DEFUN([gl_TEST_FCHDIR], + [ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + AC_CHECK_FUNCS_ONCE([fchdir]) + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + ]) + # Prerequisites of lib/fchdir.c. AC_DEFUN([gl_PREREQ_FCHDIR], [:]) diff -cNr octave-3.4.2/m4/fclose.m4 octave-3.4.3/m4/fclose.m4 *** octave-3.4.2/m4/fclose.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/fclose.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # fclose.m4 serial 4 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # fclose.m4 serial 5 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,20 **** AC_DEFUN([gl_FUNC_FCLOSE], [ gl_FUNC_FFLUSH_STDIN if test $gl_cv_func_fflush_stdin = no; then ! gl_REPLACE_FCLOSE fi - ]) ! AC_DEFUN([gl_REPLACE_FCLOSE], ! [ ! AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ! REPLACE_FCLOSE=1 ! AC_LIBOBJ([fclose]) ]) --- 6,20 ---- AC_DEFUN([gl_FUNC_FCLOSE], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + gl_FUNC_FFLUSH_STDIN if test $gl_cv_func_fflush_stdin = no; then ! REPLACE_FCLOSE=1 fi ! AC_REQUIRE([gl_FUNC_CLOSE]) ! if test $REPLACE_CLOSE = 1; then ! REPLACE_FCLOSE=1 ! fi ]) diff -cNr octave-3.4.2/m4/fcntl_h.m4 octave-3.4.3/m4/fcntl_h.m4 *** octave-3.4.2/m4/fcntl_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/fcntl_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 13 # Configure fcntl.h. dnl Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation --- 1,4 ---- ! # serial 15 # Configure fcntl.h. dnl Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation *************** *** 13,18 **** --- 13,24 ---- AC_REQUIRE([gl_FCNTL_O_FLAGS]) gl_NEXT_HEADERS([fcntl.h]) + dnl Ensure the type pid_t gets defined. + AC_REQUIRE([AC_TYPE_PID_T]) + + dnl Ensure the type mode_t gets defined. + AC_REQUIRE([AC_TYPE_MODE_T]) + dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. diff -cNr octave-3.4.2/m4/fcntl.m4 octave-3.4.3/m4/fcntl.m4 *** octave-3.4.2/m4/fcntl.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/fcntl.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # fcntl.m4 serial 4 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # fcntl.m4 serial 5 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 73,78 **** --- 73,86 ---- dnl No witness macro needed for this bug. fi fi + dnl Replace fcntl() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + gl_REPLACE_FCNTL + fi + ]) ]) AC_DEFUN([gl_REPLACE_FCNTL], *************** *** 84,88 **** else REPLACE_FCNTL=1 fi - AC_LIBOBJ([fcntl]) ]) --- 92,95 ---- diff -cNr octave-3.4.2/m4/fcntl-o.m4 octave-3.4.3/m4/fcntl-o.m4 *** octave-3.4.2/m4/fcntl-o.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/fcntl-o.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # fcntl-o.m4 serial 3 dnl Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # fcntl-o.m4 serial 4 dnl Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 17,28 **** m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], [AC_REQUIRE([AC_GNU_SOURCE])]) AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ! #include #include #ifndef O_NOATIME #define O_NOATIME 0 --- 17,37 ---- m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], [AC_REQUIRE([AC_GNU_SOURCE])]) + + AC_CHECK_HEADERS_ONCE([unistd.h]) + AC_CHECK_FUNCS_ONCE([symlink]) AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! # include ! # defined sleep(n) _sleep ((n) * 1000) ! #endif #include #ifndef O_NOATIME #define O_NOATIME 0 *************** *** 38,43 **** --- 47,53 ---- ]], [[ int result = !constants; + #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink (".", sym) != 0) *************** *** 53,58 **** --- 63,69 ---- } unlink (sym); } + #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); diff -cNr octave-3.4.2/m4/fdopendir.m4 octave-3.4.3/m4/fdopendir.m4 *** octave-3.4.2/m4/fdopendir.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/fdopendir.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # serial 7 # See if we need to provide fdopendir. dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. --- 1,4 ---- ! # serial 8 # See if we need to provide fdopendir. dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. *************** *** 26,32 **** #include #include #if !HAVE_DECL_FDOPENDIR ! extern DIR *fdopendir (int); #endif ]], [int result = 0; int fd = open ("conftest.c", O_RDONLY); --- 26,36 ---- #include #include #if !HAVE_DECL_FDOPENDIR ! extern ! # ifdef __cplusplus ! "C" ! # endif ! DIR *fdopendir (int); #endif ]], [int result = 0; int fd = open ("conftest.c", O_RDONLY); diff -cNr octave-3.4.2/m4/fflush.m4 octave-3.4.3/m4/fflush.m4 *** octave-3.4.2/m4/fflush.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/fflush.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # fflush.m4 serial 12 # Copyright (C) 2007-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,4 ---- ! # fflush.m4 serial 13 # Copyright (C) 2007-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 24,36 **** AC_DEFUN([gl_FUNC_FFLUSH_STDIN], [ AC_CACHE_CHECK([whether fflush works on input streams], [gl_cv_func_fflush_stdin], [echo hello world > conftest.txt AC_RUN_IFELSE([AC_LANG_PROGRAM( [[ #include ! #include ]], [[FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; --- 24,41 ---- AC_DEFUN([gl_FUNC_FFLUSH_STDIN], [ + AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether fflush works on input streams], [gl_cv_func_fflush_stdin], [echo hello world > conftest.txt AC_RUN_IFELSE([AC_LANG_PROGRAM( [[ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif ]], [[FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; diff -cNr octave-3.4.2/m4/floorf.m4 octave-3.4.3/m4/floorf.m4 *** octave-3.4.2/m4/floorf.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/floorf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # floorf.m4 serial 10 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # floorf.m4 serial 11 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 11,17 **** dnl Persuade glibc to declare floorf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether floorf() is declared. ! AC_CHECK_DECLS([floorf], , , [#include ]) if test "$ac_cv_have_decl_floorf" = yes; then dnl Test whether floorf() can be used without libm. gl_FUNC_FLOORF_LIBS --- 11,17 ---- dnl Persuade glibc to declare floorf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether floorf() is declared. ! AC_CHECK_DECLS([floorf], , , [[#include ]]) if test "$ac_cv_have_decl_floorf" = yes; then dnl Test whether floorf() can be used without libm. gl_FUNC_FLOORF_LIBS diff -cNr octave-3.4.2/m4/fnmatch.m4 octave-3.4.3/m4/fnmatch.m4 *** octave-3.4.2/m4/fnmatch.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/fnmatch.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # Check for fnmatch - serial 7. # Copyright (C) 2000-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,4 ---- ! # Check for fnmatch - serial 8. # Copyright (C) 2000-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 150,156 **** [Define to a replacement function name for fnmatch().]) dnl Prerequisites of lib/fnmatch.c. AC_REQUIRE([AC_TYPE_MBSTATE_T]) ! AC_CHECK_DECLS([isblank], [], [], [#include ]) AC_CHECK_FUNCS_ONCE([btowc isblank iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy]) AC_CHECK_HEADERS_ONCE([wctype.h]) ]) --- 150,156 ---- [Define to a replacement function name for fnmatch().]) dnl Prerequisites of lib/fnmatch.c. AC_REQUIRE([AC_TYPE_MBSTATE_T]) ! AC_CHECK_DECLS([isblank], [], [], [[#include ]]) AC_CHECK_FUNCS_ONCE([btowc isblank iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy]) AC_CHECK_HEADERS_ONCE([wctype.h]) ]) diff -cNr octave-3.4.2/m4/fopen.m4 octave-3.4.3/m4/fopen.m4 *** octave-3.4.2/m4/fopen.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/fopen.m4 2011-06-21 12:41:25.000000000 -0400 *************** *** 0 **** --- 1,61 ---- + # fopen.m4 serial 8 + dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_FOPEN], + [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + case "$host_os" in + mingw* | pw*) + dnl Replace fopen, for handling of "/dev/null". + REPLACE_FOPEN=1 + dnl fopen on mingw also has the trailing slash bug. + gl_cv_func_fopen_slash="guessing no" + ;; + *) + dnl fopen("foo/", "w") should not create a file when the file name has a + dnl trailing slash. + AC_CACHE_CHECK([whether fopen recognizes a trailing slash], + [gl_cv_func_fopen_slash], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ + #include + #include + int main () + { + return fopen ("conftest.sl/", "w") != NULL; + }]])], + [gl_cv_func_fopen_slash=yes], + [gl_cv_func_fopen_slash=no], + [ + changequote(,)dnl + case "$host_os" in + aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) + gl_cv_func_fopen_slash="guessing no" ;; + *) + gl_cv_func_fopen_slash="guessing yes" ;; + esac + changequote([,])dnl + ]) + rm -f conftest.sl + ]) + ;; + esac + case "$gl_cv_func_fopen_slash" in + *no) + AC_DEFINE([FOPEN_TRAILING_SLASH_BUG], [1], + [Define to 1 if fopen() fails to recognize a trailing slash.]) + REPLACE_FOPEN=1 + ;; + esac + ]) + + # Prerequisites of lib/fopen.c. + AC_DEFUN([gl_PREREQ_FOPEN], + [ + AC_REQUIRE([AC_C_INLINE]) + ]) diff -cNr octave-3.4.2/m4/fstat.m4 octave-3.4.3/m4/fstat.m4 *** octave-3.4.2/m4/fstat.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/fstat.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,28 ---- + # fstat.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_FSTAT], + [ + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) + AC_REQUIRE([gl_MSVC_INVAL]) + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_FSTAT=1 + fi + dnl Replace fstat() for supporting the gnulib-defined open() on directories. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0 \ + && test "$gl_cv_func_open_directory_works" != yes; then + REPLACE_FSTAT=1 + fi + ]) + ]) + + # Prerequisites of lib/fstat.c. + AC_DEFUN([gl_PREREQ_FSTAT], + [ + AC_REQUIRE([AC_C_INLINE]) + ]) diff -cNr octave-3.4.2/m4/getcwd-abort-bug.m4 octave-3.4.3/m4/getcwd-abort-bug.m4 *** octave-3.4.2/m4/getcwd-abort-bug.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/getcwd-abort-bug.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 4 # Determine whether getcwd aborts when the length of the working directory # name is unusually large. Any length between 4k and 16k trigger the bug # when using glibc-2.4.90-9 or older. --- 1,4 ---- ! # serial 6 # Determine whether getcwd aborts when the length of the working directory # name is unusually large. Any length between 4k and 16k trigger the bug # when using glibc-2.4.90-9 or older. *************** *** 14,19 **** --- 14,21 ---- AC_DEFUN([gl_FUNC_GETCWD_ABORT_BUG], [ AC_CHECK_DECLS_ONCE([getcwd]) + AC_CHECK_HEADERS_ONCE([unistd.h]) + AC_REQUIRE([gl_PATHMAX_SNIPPET_PREREQ]) AC_CHECK_FUNCS([getpagesize]) AC_CACHE_CHECK([whether getcwd aborts when 4k < cwd_length < 16k], gl_cv_func_getcwd_abort_bug, *************** *** 26,36 **** [AC_LANG_SOURCE( [[ #include ! #include ! #include #include #include /* Don't get link errors because mkdir is redefined to rpl_mkdir. */ #undef mkdir --- 28,43 ---- [AC_LANG_SOURCE( [[ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif #include #include + ]gl_PATHMAX_SNIPPET[ + /* Don't get link errors because mkdir is redefined to rpl_mkdir. */ #undef mkdir diff -cNr octave-3.4.2/m4/getcwd.m4 octave-3.4.3/m4/getcwd.m4 *** octave-3.4.2/m4/getcwd.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/getcwd.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 6,20 **** # with or without modifications, as long as this notice is preserved. # Written by Paul Eggert. ! # serial 7 AC_DEFUN([gl_FUNC_GETCWD_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], [gl_cv_func_getcwd_null], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ! # include # ifndef getcwd char *getcwd (); # endif --- 6,25 ---- # with or without modifications, as long as this notice is preserved. # Written by Paul Eggert. ! # serial 9 AC_DEFUN([gl_FUNC_GETCWD_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], [gl_cv_func_getcwd_null], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ! # if HAVE_UNISTD_H ! # include ! # else /* on Windows with MSVC */ ! # include ! # endif # ifndef getcwd char *getcwd (); # endif *************** *** 37,45 **** return 0; } #endif - /* If size is non-zero, allocation must fail if size is too small */ - if (getcwd (NULL, 1)) - return 5; ]])], [gl_cv_func_getcwd_null=yes], [gl_cv_func_getcwd_null=no], --- 42,47 ---- *************** *** 55,60 **** --- 57,80 ---- ]])]) ]) + AC_DEFUN([gl_FUNC_GETCWD_SIGNATURE], + [ + AC_CACHE_CHECK([for getcwd with POSIX signature], + [gl_cv_func_getcwd_posix_signature], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[extern + #ifdef __cplusplus + "C" + #endif + char *getcwd (char *, size_t); + ]]) + ], + [gl_cv_func_getcwd_posix_signature=yes], + [gl_cv_func_getcwd_posix_signature=no]) + ]) + ]) dnl Guarantee that getcwd will malloc with a NULL first argument. Assumes dnl that either the system getcwd is robust, or that calling code is okay *************** *** 67,75 **** [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) ! case $gl_cv_func_getcwd_null in ! *yes) ;; *) dnl Minimal replacement lib/getcwd-lgpl.c. REPLACE_GETCWD=1 --- 87,96 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) + AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in ! *yes,yes) ;; *) dnl Minimal replacement lib/getcwd-lgpl.c. REPLACE_GETCWD=1 *************** *** 83,88 **** --- 104,110 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) + AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles gl_abort_bug=no *************** *** 94,101 **** gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes]);; esac ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_path_max,$gl_abort_bug in ! *yes,yes,no) ;; *) dnl Full replacement lib/getcwd.c, overrides LGPL replacement. REPLACE_GETCWD=1;; --- 116,123 ---- gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes]);; esac ! case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature$gl_cv_func_getcwd_path_max,$gl_abort_bug in ! *yes,yes,yes,no) ;; *) dnl Full replacement lib/getcwd.c, overrides LGPL replacement. REPLACE_GETCWD=1;; diff -cNr octave-3.4.2/m4/getcwd-path-max.m4 octave-3.4.3/m4/getcwd-path-max.m4 *** octave-3.4.2/m4/getcwd-path-max.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/getcwd-path-max.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 16 # Check for several getcwd bugs with long file names. # If so, arrange to compile the wrapper function. --- 1,4 ---- ! # serial 18 # Check for several getcwd bugs with long file names. # If so, arrange to compile the wrapper function. *************** *** 17,22 **** --- 17,24 ---- [ AC_CHECK_DECLS_ONCE([getcwd]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_CHECK_HEADERS_ONCE([unistd.h]) + AC_REQUIRE([gl_PATHMAX_SNIPPET_PREREQ]) AC_CACHE_CHECK([whether getcwd handles long file names properly], gl_cv_func_getcwd_path_max, [# Arrange for deletion of the temporary directory this test creates. *************** *** 27,39 **** [[ #include #include ! #include #include #include #include #include #include #ifndef AT_FDCWD # define AT_FDCWD 0 #endif --- 29,47 ---- [[ #include #include ! #if HAVE_UNISTD_H ! # include ! #else ! # include ! #endif #include #include #include #include #include + ]gl_PATHMAX_SNIPPET[ + #ifndef AT_FDCWD # define AT_FDCWD 0 #endif diff -cNr octave-3.4.2/m4/getdtablesize.m4 octave-3.4.3/m4/getdtablesize.m4 *** octave-3.4.2/m4/getdtablesize.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/getdtablesize.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # getdtablesize.m4 serial 2 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # getdtablesize.m4 serial 3 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 12,14 **** --- 12,19 ---- HAVE_GETDTABLESIZE=0 fi ]) + + # Prerequisites of lib/getdtablesize.c. + AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [ + AC_REQUIRE([AC_C_INLINE]) + ]) diff -cNr octave-3.4.2/m4/getlogin_r.m4 octave-3.4.3/m4/getlogin_r.m4 *** octave-3.4.2/m4/getlogin_r.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/getlogin_r.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! #serial 10 # Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. # --- 1,4 ---- ! #serial 11 # Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. # *************** *** 50,56 **** #include #include #if !HAVE_DECL_GETLOGIN_R ! extern int getlogin_r (char *, size_t); #endif int main (void) --- 50,60 ---- #include #include #if !HAVE_DECL_GETLOGIN_R ! extern ! # ifdef __cplusplus ! "C" ! # endif ! int getlogin_r (char *, size_t); #endif int main (void) diff -cNr octave-3.4.2/m4/getopt.m4 octave-3.4.3/m4/getopt.m4 *** octave-3.4.2/m4/getopt.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/getopt.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # getopt.m4 serial 35 dnl Copyright (C) 2002-2006, 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # getopt.m4 serial 38 dnl Copyright (C) 2002-2006, 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 89,103 **** AC_CACHE_CHECK([whether getopt is POSIX compatible], [gl_cv_func_getopt_posix], [ ! dnl BSD getopt_long uses an incompatible method to reset ! dnl option processing. Existence of the variable, in and of dnl itself, is not a reason to replace getopt, but knowledge dnl of the variable is needed to determine how to reset and dnl whether a reset reparses the environment. Solaris dnl supports neither optreset nor optind=0, but keeps no state dnl that needs a reset beyond setting optind=1; detect Solaris dnl by getopt_clip. ! AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int *p = &optreset; return optreset;]])], --- 89,103 ---- AC_CACHE_CHECK([whether getopt is POSIX compatible], [gl_cv_func_getopt_posix], [ ! dnl BSD getopt_long uses an incompatible method to reset option ! dnl processing. Existence of the optreset variable, in and of dnl itself, is not a reason to replace getopt, but knowledge dnl of the variable is needed to determine how to reset and dnl whether a reset reparses the environment. Solaris dnl supports neither optreset nor optind=0, but keeps no state dnl that needs a reset beyond setting optind=1; detect Solaris dnl by getopt_clip. ! AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int *p = &optreset; return optreset;]])], *************** *** 121,142 **** main () { { ! int argc = 0; ! char *argv[10]; int c; - argv[argc++] = "program"; - argv[argc++] = "-a"; - argv[argc++] = "foo"; - argv[argc++] = "bar"; - argv[argc] = NULL; optind = OPTIND_MIN; opterr = 0; ! c = getopt (argc, argv, "ab"); if (!(c == 'a')) return 1; ! c = getopt (argc, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) --- 121,140 ---- main () { { ! static char program[] = "program"; ! static char a[] = "-a"; ! static char foo[] = "foo"; ! static char bar[] = "bar"; ! char *argv[] = { program, a, foo, bar, NULL }; int c; optind = OPTIND_MIN; opterr = 0; ! c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; ! c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) *************** *** 144,165 **** } /* Some internal state exists at this point. */ { ! int argc = 0; ! char *argv[10]; int c; - argv[argc++] = "program"; - argv[argc++] = "donald"; - argv[argc++] = "-p"; - argv[argc++] = "billy"; - argv[argc++] = "duck"; - argv[argc++] = "-a"; - argv[argc++] = "bar"; - argv[argc] = NULL; optind = OPTIND_MIN; opterr = 0; ! c = getopt (argc, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) --- 142,161 ---- } /* Some internal state exists at this point. */ { ! static char program[] = "program"; ! static char donald[] = "donald"; ! static char p[] = "-p"; ! static char billy[] = "billy"; ! static char duck[] = "duck"; ! static char a[] = "-a"; ! static char bar[] = "bar"; ! char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; optind = OPTIND_MIN; opterr = 0; ! c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) *************** *** 181,187 **** } /* Detect MacOS 10.5, AIX 7.1 bug. */ { ! char *argv[3] = { "program", "-ab", NULL }; optind = OPTIND_MIN; opterr = 0; if (getopt (2, argv, "ab:") != 'a') --- 177,185 ---- } /* Detect MacOS 10.5, AIX 7.1 bug. */ { ! static char program[] = "program"; ! static char ab[] = "-ab"; ! char *argv[3] = { program, ab, NULL }; optind = OPTIND_MIN; opterr = 0; if (getopt (2, argv, "ab:") != 'a') *************** *** 233,257 **** [AC_LANG_PROGRAM([[#include #include #include ]], [[ int result = 0; /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { ! char *myargv[3]; ! myargv[0] = "conftest"; ! myargv[1] = "-+"; ! myargv[2] = 0; opterr = 0; ! if (getopt (2, myargv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { ! char *argv[] = { "program", "-p", "foo", "bar", NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') --- 231,262 ---- [AC_LANG_PROGRAM([[#include #include #include + ]GL_NOCRASH[ ]], [[ int result = 0; + + nocrash_init(); + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { ! static char conftest[] = "conftest"; ! static char plus[] = "-+"; ! char *argv[3] = { conftest, plus, NULL }; opterr = 0; ! if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { ! static char program[] = "program"; ! static char p[] = "-p"; ! static char foo[] = "foo"; ! static char bar[] = "bar"; ! char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') *************** *** 265,271 **** } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { ! char *argv[] = { "program", "foo", "-p", NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; --- 270,279 ---- } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { ! static char program[] = "program"; ! static char foo[] = "foo"; ! static char p[] = "-p"; ! char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; *************** *** 274,286 **** } /* This code fails on glibc 2.11. */ { ! char *argv[] = { "program", "-b", "-a", NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 64; else if (getopt (3, argv, "+:a:b") != ':') result |= 64; } return result; ]])], [gl_cv_func_getopt_gnu=yes], --- 282,307 ---- } /* This code fails on glibc 2.11. */ { ! static char program[] = "program"; ! static char b[] = "-b"; ! static char a[] = "-a"; ! char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 64; else if (getopt (3, argv, "+:a:b") != ':') result |= 64; } + /* This code dumps core on glibc 2.14. */ + { + static char program[] = "program"; + static char w[] = "-W"; + static char dummy[] = "dummy"; + char *argv[] = { program, w, dummy, NULL }; + optind = opterr = 1; + if (getopt (3, argv, "W;") != 'W') + result |= 128; + } return result; ]])], [gl_cv_func_getopt_gnu=yes], diff -cNr octave-3.4.2/m4/gnulib-cache.m4 octave-3.4.3/m4/gnulib-cache.m4 *** octave-3.4.2/m4/gnulib-cache.m4 2011-06-10 14:00:51.000000000 -0400 --- octave-3.4.3/m4/gnulib-cache.m4 2011-09-29 13:25:45.000000000 -0400 *************** *** 2,11 **** # DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software, distributed under the terms of the GNU ! # General Public License. As a special exception to the GNU General ! # Public License, this file may be distributed as part of a program ! # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. --- 2,23 ---- # DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 3 of the License, or ! # (at your option) any later version. ! # ! # This file is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this file. If not, see . ! # ! # As a special exception to the GNU General Public License, ! # this file may be distributed as part of a program that ! # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. *************** *** 17,23 **** # Specification in the form of a command-line invocation: ! # gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fcntl filemode fnmatch getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint strftime strptime symlink sys_stat sys_time sys_times time times trunc truncf unistd unlink vsnprintf # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([gl]) --- 29,35 ---- # Specification in the form of a command-line invocation: ! # gnulib-tool --import --dir=. --local-dir=gl --lib=libgnu --source-base=libgnu --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl c-strcase copysign crypto/md5 fclose fcntl fflush filemode fnmatch fopen fseek ftell getcwd gethostname getopt-gnu gettimeofday glob link lstat mkdir mkfifo mkstemp mktime nanosleep nproc pathmax progname readlink rename rmdir round roundf sigaction signal sigprocmask sleep stat stdint stdio strftime strptime symlink sys_stat sys_time sys_times time times tmpfile trunc truncf unistd unlink vsnprintf # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([gl]) *************** *** 25,33 **** --- 37,50 ---- c-strcase copysign crypto/md5 + fclose fcntl + fflush filemode fnmatch + fopen + fseek + ftell getcwd gethostname getopt-gnu *************** *** 54,59 **** --- 71,77 ---- sleep stat stdint + stdio strftime strptime symlink *************** *** 62,67 **** --- 80,86 ---- sys_times time times + tmpfile trunc truncf unistd diff -cNr octave-3.4.2/m4/gnulib-common.m4 octave-3.4.3/m4/gnulib-common.m4 *** octave-3.4.2/m4/gnulib-common.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/gnulib-common.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # gnulib-common.m4 serial 26 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # gnulib-common.m4 serial 30 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 12,17 **** --- 12,30 ---- AC_REQUIRE([gl_COMMON_BODY]) ]) AC_DEFUN([gl_COMMON_BODY], [ + AH_VERBATIM([_Noreturn], + [/* The _Noreturn keyword of draft C1X. */ + #ifndef _Noreturn + # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ + || 0x5110 <= __SUNPRO_C) + # define _Noreturn __attribute__ ((__noreturn__)) + # elif 1200 <= _MSC_VER + # define _Noreturn __declspec (noreturn) + # else + # define _Noreturn + # endif + #endif + ]) AH_VERBATIM([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of *************** *** 198,203 **** --- 211,270 ---- [m4_define([AS_VAR_IF], [AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])]) + # gl_PROG_AR_RANLIB + # Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler. + # The user can set the variables AR, ARFLAGS, RANLIB if he wants to override + # the values. + AC_DEFUN([gl_PROG_AR_RANLIB], + [ + dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler + dnl as "cc", and GCC as "gcc". They have different object file formats and + dnl library formats. In particular, the GNU binutils programs ar, ranlib + dnl produce libraries that work only with gcc, not with cc. + AC_REQUIRE([AC_PROG_CC]) + AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], + [ + AC_EGREP_CPP([Amsterdam], + [ + #ifdef __ACK__ + Amsterdam + #endif + ], + [gl_cv_c_amsterdam_compiler=yes], + [gl_cv_c_amsterdam_compiler=no]) + ]) + if test -z "$AR"; then + if test $gl_cv_c_amsterdam_compiler = yes; then + AR='cc -c.a' + if test -z "$ARFLAGS"; then + ARFLAGS='-o' + fi + else + dnl Use the Automake-documented default values for AR and ARFLAGS, + dnl but prefer ${host}-ar over ar (useful for cross-compiling). + AC_CHECK_TOOL([AR], [ar], [ar]) + if test -z "$ARFLAGS"; then + ARFLAGS='cru' + fi + fi + else + if test -z "$ARFLAGS"; then + ARFLAGS='cru' + fi + fi + AC_SUBST([AR]) + AC_SUBST([ARFLAGS]) + if test -z "$RANLIB"; then + if test $gl_cv_c_amsterdam_compiler = yes; then + RANLIB=':' + else + dnl Use the ranlib program if it is available. + AC_PROG_RANLIB + fi + fi + AC_SUBST([RANLIB]) + ]) + # AC_PROG_MKDIR_P # is a backport of autoconf-2.60's AC_PROG_MKDIR_P, with a fix # for interoperability with automake-1.9.6 from autoconf-2.62. diff -cNr octave-3.4.2/m4/gnulib-comp.m4 octave-3.4.3/m4/gnulib-comp.m4 *** octave-3.4.2/m4/gnulib-comp.m4 2011-06-21 12:43:05.000000000 -0400 --- octave-3.4.3/m4/gnulib-comp.m4 2011-09-29 13:25:46.000000000 -0400 *************** *** 3,12 **** # DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software, distributed under the terms of the GNU ! # General Public License. As a special exception to the GNU General ! # Public License, this file may be distributed as part of a program ! # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. --- 3,24 ---- # DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2011 Free Software Foundation, Inc. # ! # This file is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 3 of the License, or ! # (at your option) any later version. ! # ! # This file is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this file. If not, see . ! # ! # As a special exception to the GNU General Public License, ! # this file may be distributed as part of a program that ! # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. *************** *** 27,45 **** m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable ! AC_REQUIRE([AC_PROG_RANLIB]) # Code from module alignof: # Code from module alloca: # Code from module alloca-opt: - # Code from module arg-nonnull: - # Code from module c++defs: # Code from module c-ctype: # Code from module c-strcase: # Code from module canonicalize-lgpl: # Code from module chdir-long: # Code from module chown: # Code from module cloexec: # Code from module close: # Code from module configmake: # Code from module copysign: # Code from module crypto/md5: --- 39,57 ---- m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable ! AC_REQUIRE([gl_PROG_AR_RANLIB]) # Code from module alignof: # Code from module alloca: # Code from module alloca-opt: # Code from module c-ctype: # Code from module c-strcase: # Code from module canonicalize-lgpl: + # Code from module chdir: # Code from module chdir-long: # Code from module chown: # Code from module cloexec: # Code from module close: + # Code from module closedir: # Code from module configmake: # Code from module copysign: # Code from module crypto/md5: *************** *** 50,55 **** --- 62,68 ---- # Code from module dirname-lgpl: # Code from module dosname: # Code from module double-slash-root: + # Code from module dup: # Code from module dup2: # Code from module errno: # Code from module error: *************** *** 65,79 **** --- 78,95 ---- # Code from module fflush: AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module filemode: + # Code from module filename: # Code from module filenamecat-lgpl: # Code from module float: # Code from module floor: # Code from module fnmatch: + # Code from module fopen: # Code from module fpurge: # Code from module freading: # Code from module fseek: # Code from module fseeko: AC_REQUIRE([AC_FUNC_FSEEKO]) + # Code from module fstat: # Code from module ftell: # Code from module ftello: AC_REQUIRE([AC_FUNC_FSEEKO]) *************** *** 89,94 **** --- 105,112 ---- # Code from module glob: # Code from module include_next: # Code from module intprops: + # Code from module largefile: + AC_REQUIRE([AC_SYS_LARGEFILE]) # Code from module lchown: # Code from module link: # Code from module localcharset: *************** *** 107,112 **** --- 125,132 ---- # Code from module mkfifo: # Code from module mkstemp: # Code from module mktime: + # Code from module msvc-inval: + # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nocrash: *************** *** 114,121 **** --- 134,144 ---- # Code from module open: # Code from module openat: # Code from module openat-die: + # Code from module opendir: # Code from module pathmax: # Code from module progname: + # Code from module raise: + # Code from module readdir: # Code from module readlink: # Code from module realloc-posix: # Code from module rename: *************** *** 127,150 **** --- 150,181 ---- # Code from module select: # Code from module sigaction: # Code from module signal: + # Code from module signal-h: # Code from module sigprocmask: # Code from module size_max: # Code from module sleep: + # Code from module snippet/_Noreturn: + # Code from module snippet/arg-nonnull: + # Code from module snippet/c++defs: + # Code from module snippet/warn-on-use: # Code from module socketlib: # Code from module sockets: # Code from module socklen: + # Code from module ssize_t: # Code from module stat: # Code from module stdbool: # Code from module stddef: # Code from module stdint: # Code from module stdio: # Code from module stdlib: + # Code from module strcase: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module strftime: # Code from module string: + # Code from module strings: # Code from module strnlen1: # Code from module strptime: # Code from module symlink: *************** *** 153,163 **** --- 184,197 ---- # Code from module sys_stat: # Code from module sys_time: # Code from module sys_times: + # Code from module sys_types: # Code from module sys_uio: # Code from module tempname: # Code from module time: # Code from module time_r: # Code from module times: + # Code from module tmpdir: + # Code from module tmpfile: # Code from module trunc: # Code from module truncf: # Code from module unistd: *************** *** 166,172 **** # Code from module vasnprintf: # Code from module verify: # Code from module vsnprintf: - # Code from module warn-on-use: # Code from module wchar: # Code from module wctype-h: # Code from module xsize: --- 200,205 ---- *************** *** 198,203 **** --- 231,237 ---- gl_MODULE_INDICATOR([canonicalize-lgpl]) gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) gl_STDLIB_MODULE_INDICATOR([realpath]) + gl_UNISTD_MODULE_INDICATOR([chdir]) gl_FUNC_CHDIR_LONG if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then AC_LIBOBJ([chdir-long]) *************** *** 213,219 **** --- 247,261 ---- gl_UNISTD_MODULE_INDICATOR([chown]) gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) gl_FUNC_CLOSE + if test $REPLACE_CLOSE = 1; then + AC_LIBOBJ([close]) + fi gl_UNISTD_MODULE_INDICATOR([close]) + gl_FUNC_CLOSEDIR + if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then + AC_LIBOBJ([closedir]) + fi + gl_DIRENT_MODULE_INDICATOR([closedir]) gl_CONFIGMAKE_PREP gl_MATHFUNC([copysign], [double], [(double, double)]) gl_MD5 *************** *** 228,234 **** --- 270,286 ---- gl_DIRENT_MODULE_INDICATOR([dirfd]) gl_DIRNAME_LGPL gl_DOUBLE_SLASH_ROOT + gl_FUNC_DUP + if test $REPLACE_DUP = 1; then + AC_LIBOBJ([dup]) + gl_PREREQ_DUP + fi + gl_UNISTD_MODULE_INDICATOR([dup]) gl_FUNC_DUP2 + if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then + AC_LIBOBJ([dup2]) + gl_PREREQ_DUP2 + fi gl_UNISTD_MODULE_INDICATOR([dup2]) gl_HEADER_ERRNO_H gl_ERROR *************** *** 242,249 **** --- 294,307 ---- gl_FUNC_FCHDIR gl_UNISTD_MODULE_INDICATOR([fchdir]) gl_FUNC_FCLOSE + if test $REPLACE_FCLOSE = 1; then + AC_LIBOBJ([fclose]) + fi gl_STDIO_MODULE_INDICATOR([fclose]) gl_FUNC_FCNTL + if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then + AC_LIBOBJ([fcntl]) + fi gl_FCNTL_MODULE_INDICATOR([fcntl]) gl_FCNTL_H gl_FUNC_FDOPENDIR *************** *** 278,283 **** --- 336,347 ---- AC_LIBOBJ([fnmatch]) gl_PREREQ_FNMATCH fi + gl_FUNC_FOPEN + if test $REPLACE_FOPEN = 1; then + AC_LIBOBJ([fopen]) + gl_PREREQ_FOPEN + fi + gl_STDIO_MODULE_INDICATOR([fopen]) gl_FUNC_FPURGE if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then AC_LIBOBJ([fpurge]) *************** *** 294,299 **** --- 358,369 ---- AC_LIBOBJ([fseeko]) fi gl_STDIO_MODULE_INDICATOR([fseeko]) + gl_FUNC_FSTAT + if test $REPLACE_FSTAT = 1; then + AC_LIBOBJ([fstat]) + gl_PREREQ_FSTAT + fi + gl_SYS_STAT_MODULE_INDICATOR([fstat]) gl_FUNC_FTELL if test $REPLACE_FTELL = 1; then AC_LIBOBJ([ftell]) *************** *** 319,324 **** --- 389,395 ---- gl_FUNC_GETDTABLESIZE if test $HAVE_GETDTABLESIZE = 0; then AC_LIBOBJ([getdtablesize]) + gl_PREREQ_GETDTABLESIZE fi gl_UNISTD_MODULE_INDICATOR([getdtablesize]) gl_FUNC_GETHOSTNAME *************** *** 448,453 **** --- 519,532 ---- gl_PREREQ_MKTIME fi gl_TIME_MODULE_INDICATOR([mktime]) + gl_MSVC_INVAL + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-inval]) + fi + gl_MSVC_NOTHROW + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-nothrow]) + fi gl_MULTIARCH gl_FUNC_NANOSLEEP if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then *************** *** 457,462 **** --- 536,545 ---- gl_TIME_MODULE_INDICATOR([nanosleep]) gl_NPROC gl_FUNC_OPEN + if test $REPLACE_OPEN = 1; then + AC_LIBOBJ([open]) + gl_PREREQ_OPEN + fi gl_FCNTL_MODULE_INDICATOR([open]) gl_FUNC_OPENAT AC_LIBOBJ([openat-proc]) *************** *** 478,486 **** --- 561,585 ---- if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then AC_LIBOBJ([fchownat]) fi + gl_FUNC_OPENDIR + if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then + AC_LIBOBJ([opendir]) + fi + gl_DIRENT_MODULE_INDICATOR([opendir]) gl_PATHMAX AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) + gl_FUNC_RAISE + if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then + AC_LIBOBJ([raise]) + gl_PREREQ_RAISE + fi + gl_SIGNAL_MODULE_INDICATOR([raise]) + gl_FUNC_READDIR + if test $HAVE_READDIR = 0; then + AC_LIBOBJ([readdir]) + fi + gl_DIRENT_MODULE_INDICATOR([readdir]) gl_FUNC_READLINK if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then AC_LIBOBJ([readlink]) *************** *** 540,545 **** --- 639,645 ---- gl_SOCKETLIB gl_SOCKETS gl_TYPE_SOCKLEN_T + gt_TYPE_SSIZE_T gl_FUNC_STAT if test $REPLACE_STAT = 1; then AC_LIBOBJ([stat]) *************** *** 551,556 **** --- 651,665 ---- gl_STDINT_H gl_STDIO_H gl_STDLIB_H + gl_STRCASE + if test $HAVE_STRCASECMP = 0; then + AC_LIBOBJ([strcasecmp]) + gl_PREREQ_STRCASECMP + fi + if test $HAVE_STRNCASECMP = 0; then + AC_LIBOBJ([strncasecmp]) + gl_PREREQ_STRNCASECMP + fi gl_FUNC_STRDUP_POSIX if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then AC_LIBOBJ([strdup]) *************** *** 564,575 **** gl_MODULE_INDICATOR([strerror]) gl_STRING_MODULE_INDICATOR([strerror]) AC_REQUIRE([gl_HEADER_ERRNO_H]) ! if test -n "$ERRNO_H"; then AC_LIBOBJ([strerror-override]) gl_PREREQ_SYS_H_WINSOCK2 fi gl_FUNC_GNU_STRFTIME gl_HEADER_STRING_H gl_FUNC_STRPTIME if test $HAVE_STRPTIME = 0; then AC_LIBOBJ([strptime]) --- 673,686 ---- gl_MODULE_INDICATOR([strerror]) gl_STRING_MODULE_INDICATOR([strerror]) AC_REQUIRE([gl_HEADER_ERRNO_H]) ! AC_REQUIRE([gl_FUNC_STRERROR_0]) ! if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then AC_LIBOBJ([strerror-override]) gl_PREREQ_SYS_H_WINSOCK2 fi gl_FUNC_GNU_STRFTIME gl_HEADER_STRING_H + gl_HEADER_STRINGS_H gl_FUNC_STRPTIME if test $HAVE_STRPTIME = 0; then AC_LIBOBJ([strptime]) *************** *** 591,596 **** --- 702,709 ---- AC_PROG_MKDIR_P gl_SYS_TIMES_H AC_PROG_MKDIR_P + gl_SYS_TYPES_H + AC_PROG_MKDIR_P gl_HEADER_SYS_UIO AC_PROG_MKDIR_P gl_FUNC_GEN_TEMPNAME *************** *** 606,611 **** --- 719,731 ---- AC_LIBOBJ([times]) fi gl_SYS_TIMES_MODULE_INDICATOR([times]) + gt_TMPDIR + gl_FUNC_TMPFILE + if test $REPLACE_TMPFILE = 1; then + AC_LIBOBJ([tmpfile]) + gl_PREREQ_TMPFILE + fi + gl_STDIO_MODULE_INDICATOR([tmpfile]) gl_FUNC_TRUNC if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then AC_LIBOBJ([trunc]) *************** *** 765,773 **** # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ ! build-aux/arg-nonnull.h ! build-aux/c++defs.h ! build-aux/warn-on-use.h lib/alignof.h lib/alloca.c lib/alloca.in.h --- 885,894 ---- # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ ! build-aux/snippet/_Noreturn.h ! build-aux/snippet/arg-nonnull.h ! build-aux/snippet/c++defs.h ! build-aux/snippet/warn-on-use.h lib/alignof.h lib/alloca.c lib/alloca.in.h *************** *** 786,798 **** --- 907,922 ---- lib/cloexec.c lib/cloexec.h lib/close.c + lib/closedir.c lib/config.charset + lib/dirent-private.h lib/dirent.in.h lib/dirfd.c lib/dirname-lgpl.c lib/dirname.h lib/dosname.h lib/dup-safer.c + lib/dup.c lib/dup2.c lib/errno.in.h lib/error.c *************** *** 813,818 **** --- 937,943 ---- lib/fflush.c lib/filemode.c lib/filemode.h + lib/filename.h lib/filenamecat-lgpl.c lib/filenamecat.h lib/float+.h *************** *** 822,832 **** --- 947,959 ---- lib/fnmatch.c lib/fnmatch.in.h lib/fnmatch_loop.c + lib/fopen.c lib/fpurge.c lib/freading.c lib/freading.h lib/fseek.c lib/fseeko.c + lib/fstat.c lib/fstatat.c lib/ftell.c lib/ftello.c *************** *** 873,878 **** --- 1000,1009 ---- lib/mkstemp.c lib/mktime-internal.h lib/mktime.c + lib/msvc-inval.c + lib/msvc-inval.h + lib/msvc-nothrow.c + lib/msvc-nothrow.h lib/nanosleep.c lib/nproc.c lib/nproc.h *************** *** 882,887 **** --- 1013,1019 ---- lib/openat-proc.c lib/openat.c lib/openat.h + lib/opendir.c lib/pathmax.h lib/pipe-safer.c lib/printf-args.c *************** *** 890,895 **** --- 1022,1029 ---- lib/printf-parse.h lib/progname.c lib/progname.h + lib/raise.c + lib/readdir.c lib/readlink.c lib/realloc.c lib/ref-add.sin *************** *** 917,922 **** --- 1051,1057 ---- lib/stdio-impl.h lib/stdio.in.h lib/stdlib.in.h + lib/strcasecmp.c lib/strdup.c lib/streq.h lib/strerror-override.c *************** *** 925,931 **** --- 1060,1068 ---- lib/strftime.c lib/strftime.h lib/string.in.h + lib/strings.in.h lib/stripslash.c + lib/strncasecmp.c lib/strnlen1.c lib/strnlen1.h lib/strptime.c *************** *** 935,946 **** --- 1072,1087 ---- lib/sys_stat.in.h lib/sys_time.in.h lib/sys_times.in.h + lib/sys_types.in.h lib/sys_uio.in.h lib/tempname.c lib/tempname.h lib/time.in.h lib/time_r.c lib/times.c + lib/tmpdir.c + lib/tmpdir.h + lib/tmpfile.c lib/trunc.c lib/truncf.c lib/unistd--.h *************** *** 965,970 **** --- 1106,1112 ---- m4/check-math-lib.m4 m4/chown.m4 m4/close.m4 + m4/closedir.m4 m4/codeset.m4 m4/configmake.m4 m4/d-ino.m4 *************** *** 973,978 **** --- 1115,1121 ---- m4/dirfd.m4 m4/dirname.m4 m4/double-slash-root.m4 + m4/dup.m4 m4/dup2.m4 m4/eealloc.m4 m4/errno_h.m4 *************** *** 991,1000 **** --- 1134,1145 ---- m4/floor.m4 m4/floorf.m4 m4/fnmatch.m4 + m4/fopen.m4 m4/fpurge.m4 m4/freading.m4 m4/fseek.m4 m4/fseeko.m4 + m4/fstat.m4 m4/ftell.m4 m4/ftello.m4 m4/getcwd-abort-bug.m4 *************** *** 1011,1016 **** --- 1156,1162 ---- m4/include_next.m4 m4/intmax_t.m4 m4/inttypes_h.m4 + m4/largefile.m4 m4/lchown.m4 m4/link.m4 m4/localcharset.m4 *************** *** 1038,1051 **** --- 1184,1202 ---- m4/mktime.m4 m4/mmap-anon.m4 m4/mode_t.m4 + m4/msvc-inval.m4 + m4/msvc-nothrow.m4 m4/multiarch.m4 m4/nanosleep.m4 m4/nocrash.m4 m4/nproc.m4 m4/open.m4 m4/openat.m4 + m4/opendir.m4 m4/pathmax.m4 m4/printf.m4 + m4/raise.m4 + m4/readdir.m4 m4/readlink.m4 m4/realloc.m4 m4/rename.m4 *************** *** 1063,1068 **** --- 1214,1220 ---- m4/sockets.m4 m4/socklen.m4 m4/sockpfaf.m4 + m4/ssize_t.m4 m4/st_dm_mode.m4 m4/stat.m4 m4/stdbool.m4 *************** *** 1071,1080 **** --- 1223,1234 ---- m4/stdint_h.m4 m4/stdio_h.m4 m4/stdlib_h.m4 + m4/strcase.m4 m4/strdup.m4 m4/strerror.m4 m4/strftime.m4 m4/string_h.m4 + m4/strings_h.m4 m4/strptime.m4 m4/symlink.m4 m4/sys_select_h.m4 *************** *** 1082,1093 **** --- 1236,1250 ---- m4/sys_stat_h.m4 m4/sys_time_h.m4 m4/sys_times_h.m4 + m4/sys_types_h.m4 m4/sys_uio_h.m4 m4/tempname.m4 m4/time_h.m4 m4/time_r.m4 m4/times.m4 m4/tm_gmtoff.m4 + m4/tmpdir.m4 + m4/tmpfile.m4 m4/trunc.m4 m4/truncf.m4 m4/unistd-safer.m4 diff -cNr octave-3.4.2/m4/include_next.m4 octave-3.4.3/m4/include_next.m4 *** octave-3.4.2/m4/include_next.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/include_next.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # include_next.m4 serial 18 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # include_next.m4 serial 22 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 175,185 **** [AC_CHECK_HEADERS_ONCE([$1]) ]) m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_next_header], [gl_cv_next_]m4_defn([gl_HEADER_NAME])) if test $gl_cv_have_include_next = yes; then ! AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) else AC_CACHE_CHECK( [absolute name of <]m4_defn([gl_HEADER_NAME])[>], --- 175,187 ---- [AC_CHECK_HEADERS_ONCE([$1]) ]) + dnl FIXME: gl_next_header and gl_header_exists must be used unquoted + dnl until we can assume autoconf 2.64 or newer. m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_next_header], [gl_cv_next_]m4_defn([gl_HEADER_NAME])) if test $gl_cv_have_include_next = yes; then ! AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) else AC_CACHE_CHECK( [absolute name of <]m4_defn([gl_HEADER_NAME])[>], *************** *** 205,237 **** aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac dnl eval is necessary to expand gl_absname_cpp. dnl Ultrix and Pyramid sh refuse to redirect output of eval, dnl so use subshell. ! AS_VAR_SET([gl_next_header], ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | ! sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{ ! s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1# ! s#^/[^/]#//&# ! p ! q ! }'`'"']) m4_if([$2], [check], [else ! AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) fi ]) ]) fi AC_SUBST( AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), ! [AS_VAR_GET([gl_next_header])]) if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'gl_HEADER_NAME'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ! gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) fi AC_SUBST( AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), --- 207,258 ---- aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac + changequote(,) + case "$host_os" in + mingw*) + dnl For the sake of native Windows compilers (excluding gcc), + dnl treat backslash as a directory separator, like /. + dnl Actually, these compilers use a double-backslash as + dnl directory separator, inside the + dnl # line "filename" + dnl directives. + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='/' + ;; + esac + changequote([,]) + gl_absolute_header_sed='\|'"${gl_dirsep_regex}"']m4_defn([gl_HEADER_NAME])[|{ + s|.*"\(.*'"${gl_dirsep_regex}"']m4_defn([gl_HEADER_NAME])[\)".*|\1| + changequote(,)dnl + s|^/[^/]|//&| + changequote([,])dnl + p + q + }' dnl eval is necessary to expand gl_absname_cpp. dnl Ultrix and Pyramid sh refuse to redirect output of eval, dnl so use subshell. ! AS_VAR_SET(gl_next_header, ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | ! sed -n "$gl_absolute_header_sed"`'"']) m4_if([$2], [check], [else ! AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) fi ]) ]) fi AC_SUBST( AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), ! [AS_VAR_GET(gl_next_header)]) if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'gl_HEADER_NAME'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ! gl_next_as_first_directive=AS_VAR_GET(gl_next_header) fi AC_SUBST( AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), diff -cNr octave-3.4.2/m4/largefile.m4 octave-3.4.3/m4/largefile.m4 *** octave-3.4.2/m4/largefile.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/largefile.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,104 ---- + # Enable large files on systems where this is not the default. + + # Copyright 1992-1996, 1998-2011 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + + # The following implementation works around a problem in autoconf <= 2.68; + # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5. + m4_version_prereq([2.69], [] ,[ + + # _AC_SYS_LARGEFILE_TEST_INCLUDES + # ------------------------------- + m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], + [@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ + @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]];[]dnl + ]) + + + # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, + # CACHE-VAR, + # DESCRIPTION, + # PROLOGUE, [FUNCTION-BODY]) + # -------------------------------------------------------- + m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], + [AC_CACHE_CHECK([for $1 value needed for large files], [$3], + [while :; do + m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( + [AC_LANG_PROGRAM([$5], [$6])], + [$3=no; break]) + m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( + [AC_LANG_PROGRAM([@%:@define $1 $2 + $5], [$6])], + [$3=$2; break]) + $3=unknown + break + done]) + case $$3 in #( + no | unknown) ;; + *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);; + esac + rm -rf conftest*[]dnl + ])# _AC_SYS_LARGEFILE_MACRO_VALUE + + + # AC_SYS_LARGEFILE + # ---------------- + # By default, many hosts won't let programs access large files; + # one must use special compiler options to get large-file access to work. + # For more details about this brain damage please see: + # http://www.unix-systems.org/version2/whatsnew/lfs20mar.html + AC_DEFUN([AC_SYS_LARGEFILE], + [AC_ARG_ENABLE(largefile, + [ --disable-largefile omit support for large files]) + if test "$enable_largefile" != no; then + + AC_CACHE_CHECK([for special C compiler options needed for large files], + ac_cv_sys_largefile_CC, + [ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) + AC_COMPILE_IFELSE([], [break]) + CC="$CC -n32" + AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi]) + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, + ac_cv_sys_file_offset_bits, + [Number of bits in a file offset, on hosts where this is settable.], + [_AC_SYS_LARGEFILE_TEST_INCLUDES]) + if test $ac_cv_sys_file_offset_bits = unknown; then + _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, + ac_cv_sys_large_files, + [Define for large files, on AIX-style hosts.], + [_AC_SYS_LARGEFILE_TEST_INCLUDES]) + fi + + AH_VERBATIM([_DARWIN_USE_64_BIT_INODE], + [/* Enable large inode numbers on Mac OS X. */ + #ifndef _DARWIN_USE_64_BIT_INODE + # define _DARWIN_USE_64_BIT_INODE 1 + #endif]) + fi + ])# AC_SYS_LARGEFILE + + ])# m4_version_prereq 2.69 diff -cNr octave-3.4.2/m4/link.m4 octave-3.4.3/m4/link.m4 *** octave-3.4.2/m4/link.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/link.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # link.m4 serial 6 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # link.m4 serial 7 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 11,17 **** if test $ac_cv_func_link = no; then HAVE_LINK=0 else ! AC_CACHE_CHECK([whether link handles trailing slash correctly], [gl_cv_func_link_works], [touch conftest.a # Assume that if we have lstat, we can also check symlinks. --- 11,17 ---- if test $ac_cv_func_link = no; then HAVE_LINK=0 else ! AC_CACHE_CHECK([whether link obeys POSIX], [gl_cv_func_link_works], [touch conftest.a # Assume that if we have lstat, we can also check symlinks. *************** *** 28,33 **** --- 28,37 ---- #if HAVE_LSTAT if (!link ("conftest.lnk/", "conftest.b")) result |= 2; + if (rename ("conftest.a", "conftest.b")) + result |= 4; + if (!link ("conftest.b", "conftest.lnk")) + result |= 8; #endif return result; ]])], diff -cNr octave-3.4.2/m4/lseek.m4 octave-3.4.3/m4/lseek.m4 *** octave-3.4.2/m4/lseek.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/lseek.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # lseek.m4 serial 7 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # lseek.m4 serial 8 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 8,19 **** [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], [if test $cross_compiling = no; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include /* for off_t */ #include /* for SEEK_CUR */ ! #include ]], [[ /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ]])], --- 8,25 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) + AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], [if test $cross_compiling = no; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include /* for off_t */ #include /* for SEEK_CUR */ ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif ! ]], [[ /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ]])], diff -cNr octave-3.4.2/m4/mbrtowc.m4 octave-3.4.3/m4/mbrtowc.m4 *** octave-3.4.2/m4/mbrtowc.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/mbrtowc.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # mbrtowc.m4 serial 24 dnl Copyright (C) 2001-2002, 2004-2005, 2008-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation --- 1,4 ---- ! # mbrtowc.m4 serial 25 dnl Copyright (C) 2001-2002, 2004-2005, 2008-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation *************** *** 15,20 **** --- 15,36 ---- AC_CHECK_FUNCS_ONCE([mbrtowc]) if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 + AC_CHECK_DECLS([mbrtowc],,, [[ + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + ]]) + if test $ac_cv_have_decl_mbrtowc = yes; then + dnl On Minix 3.1.8, the system's declares mbrtowc() although + dnl it does not have the function. Avoid a collision with gnulib's + dnl replacement. + REPLACE_MBRTOWC=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 diff -cNr octave-3.4.2/m4/mbsinit.m4 octave-3.4.3/m4/mbsinit.m4 *** octave-3.4.2/m4/mbsinit.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/mbsinit.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # mbsinit.m4 serial 7 dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # mbsinit.m4 serial 8 dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 15,20 **** --- 15,36 ---- AC_CHECK_FUNCS_ONCE([mbsinit]) if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 + AC_CHECK_DECLS([mbsinit],,, [[ + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + ]]) + if test $ac_cv_have_decl_mbsinit = yes; then + dnl On Minix 3.1.8, the system's declares mbsinit() although + dnl it does not have the function. Avoid a collision with gnulib's + dnl replacement. + REPLACE_MBSINIT=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 diff -cNr octave-3.4.2/m4/mbsrtowcs.m4 octave-3.4.3/m4/mbsrtowcs.m4 *** octave-3.4.2/m4/mbsrtowcs.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/mbsrtowcs.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # mbsrtowcs.m4 serial 12 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # mbsrtowcs.m4 serial 13 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 14,19 **** --- 14,35 ---- AC_CHECK_FUNCS_ONCE([mbsrtowcs]) if test $ac_cv_func_mbsrtowcs = no; then HAVE_MBSRTOWCS=0 + AC_CHECK_DECLS([mbsrtowcs],,, [[ + /* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #include + #include + ]]) + if test $ac_cv_have_decl_mbsrtowcs = yes; then + dnl On Minix 3.1.8, the system's declares mbsrtowcs() although + dnl it does not have the function. Avoid a collision with gnulib's + dnl replacement. + REPLACE_MBSRTOWCS=1 + fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSRTOWCS=1 diff -cNr octave-3.4.2/m4/mkstemp.m4 octave-3.4.3/m4/mkstemp.m4 *** octave-3.4.2/m4/mkstemp.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/mkstemp.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! #serial 21 # Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,4 ---- ! #serial 22 # Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 16,22 **** AC_DEFUN([gl_FUNC_MKSTEMP], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) - AC_REQUIRE([AC_SYS_LARGEFILE]) AC_CHECK_FUNCS_ONCE([mkstemp]) if test $ac_cv_func_mkstemp = yes; then --- 16,21 ---- diff -cNr octave-3.4.2/m4/mmap-anon.m4 octave-3.4.3/m4/mmap-anon.m4 *** octave-3.4.2/m4/mmap-anon.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/mmap-anon.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 27,44 **** gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) ! AC_EGREP_CPP([I cant identify this map.], [ #include #ifdef MAP_ANONYMOUS ! I cant identify this map. #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then ! AC_EGREP_CPP([I cant identify this map.], [ #include #ifdef MAP_ANON ! I cant identify this map. #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], --- 27,44 ---- gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) ! AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANONYMOUS ! I cant identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then ! AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANON ! I cant identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], diff -cNr octave-3.4.2/m4/msvc-inval.m4 octave-3.4.3/m4/msvc-inval.m4 *** octave-3.4.2/m4/msvc-inval.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/msvc-inval.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,19 ---- + # msvc-inval.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_MSVC_INVAL], + [ + AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) + if test $ac_cv_func__set_invalid_parameter_handler = yes; then + HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 + AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], + [Define to 1 on MSVC platforms that have the "invalid parameter handler" + concept.]) + else + HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 + fi + AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) + ]) diff -cNr octave-3.4.2/m4/msvc-nothrow.m4 octave-3.4.3/m4/msvc-nothrow.m4 *** octave-3.4.2/m4/msvc-nothrow.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/msvc-nothrow.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,10 ---- + # msvc-nothrow.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_MSVC_NOTHROW], + [ + AC_REQUIRE([gl_MSVC_INVAL]) + ]) diff -cNr octave-3.4.2/m4/nocrash.m4 octave-3.4.3/m4/nocrash.m4 *** octave-3.4.2/m4/nocrash.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/nocrash.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # nocrash.m4 serial 2 dnl Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # nocrash.m4 serial 3 dnl Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 79,84 **** --- 79,112 ---- } } } + #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + /* Avoid a crash on native Windows. */ + #define WIN32_LEAN_AND_MEAN + #include + #include + static LONG WINAPI + exception_filter (EXCEPTION_POINTERS *ExceptionInfo) + { + switch (ExceptionInfo->ExceptionRecord->ExceptionCode) + { + case EXCEPTION_ACCESS_VIOLATION: + case EXCEPTION_IN_PAGE_ERROR: + case EXCEPTION_STACK_OVERFLOW: + case EXCEPTION_GUARD_PAGE: + case EXCEPTION_PRIV_INSTRUCTION: + case EXCEPTION_ILLEGAL_INSTRUCTION: + case EXCEPTION_DATATYPE_MISALIGNMENT: + case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: + case EXCEPTION_NONCONTINUABLE_EXCEPTION: + exit (1); + } + return EXCEPTION_CONTINUE_SEARCH; + } + static void + nocrash_init (void) + { + SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); + } #else /* Avoid a crash on POSIX systems. */ #include diff -cNr octave-3.4.2/m4/openat.m4 octave-3.4.3/m4/openat.m4 *** octave-3.4.2/m4/openat.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/openat.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 33 # See if we need to use our replacement for Solaris' openat et al functions. dnl Copyright (C) 2004-2011 Free Software Foundation, Inc. --- 1,4 ---- ! # serial 37 # See if we need to use our replacement for Solaris' openat et al functions. dnl Copyright (C) 2004-2011 Free Software Foundation, Inc. *************** *** 23,30 **** GNULIB_UNLINKAT=1 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_FUNCS_ONCE([lchmod]) ! AC_CHECK_FUNCS([fchmodat fstatat mkdirat openat unlinkat]) AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) AC_REQUIRE([gl_FUNC_UNLINK]) case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in --- 23,29 ---- GNULIB_UNLINKAT=1 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_FUNCS_ONCE([fchmodat lchmod mkdirat openat unlinkat]) AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) AC_REQUIRE([gl_FUNC_UNLINK]) case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in *************** *** 37,49 **** # Solaris 9 has *at functions, but uniformly mishandles trailing # slash in all of them. REPLACE_OPENAT=1 - REPLACE_FSTATAT=1 REPLACE_UNLINKAT=1 ;; *) HAVE_OPENAT=0 HAVE_UNLINKAT=0 # No known system with unlinkat but not openat - HAVE_FSTATAT=0 # No known system with fstatat but not openat gl_PREREQ_OPENAT;; esac if test $ac_cv_func_fchmodat != yes; then --- 36,46 ---- *************** *** 53,58 **** --- 50,59 ---- HAVE_MKDIRAT=0 fi gl_FUNC_FCHOWNAT + gl_FUNC_FSTATAT + + dnl This is tested at least via getcwd.c. + gl_MODULE_INDICATOR([openat]) ]) # gl_FUNC_FCHOWNAT_DEREF_BUG([ACTION-IF-BUGGY[, ACTION-IF-NOT_BUGGY]]) *************** *** 155,160 **** --- 156,205 ---- [HAVE_FCHOWNAT=0]) ]) + # If we have the fstatat function, and it has the bug (in AIX 7.1) + # that it does not fill in st_size correctly, use the replacement function. + AC_DEFUN([gl_FUNC_FSTATAT], + [ + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) + AC_CHECK_FUNCS_ONCE([fstatat]) + + if test $ac_cv_func_fstatat = no; then + HAVE_FSTATAT=0 + else + dnl Test for an AIX 7.1 bug; see + dnl . + AC_CACHE_CHECK([whether fstatat (..., 0) works], + [gl_cv_func_fstatat_zero_flag], + [gl_cv_func_fstatat_zero_flag=no + AC_RUN_IFELSE( + [AC_LANG_SOURCE( + [[ + #include + #include + int + main (void) + { + struct stat a; + return fstatat (AT_FDCWD, ".", &a, 0) != 0; + } + ]])], + [gl_cv_func_fstatat_zero_flag=yes])]) + + case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in + yes+yes) ;; + *) REPLACE_FSTATAT=1 + if test $gl_cv_func_fstatat_zero_flag != yes; then + AC_DEFINE([FSTATAT_ZERO_FLAG_BROKEN], [1], + [Define to 1 if fstatat (..., 0) does not work, + as in AIX 7.1.]) + fi + ;; + esac + fi + ]) + AC_DEFUN([gl_PREREQ_OPENAT], [ AC_REQUIRE([AC_C_INLINE]) diff -cNr octave-3.4.2/m4/opendir.m4 octave-3.4.3/m4/opendir.m4 *** octave-3.4.2/m4/opendir.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/opendir.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,23 ---- + # opendir.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_OPENDIR], + [ + AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + + AC_CHECK_FUNCS([opendir]) + if test $ac_cv_func_opendir = no; then + HAVE_OPENDIR=0 + fi + dnl Replace opendir() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + REPLACE_OPENDIR=1 + fi + ]) + ]) diff -cNr octave-3.4.2/m4/open.m4 octave-3.4.3/m4/open.m4 *** octave-3.4.2/m4/open.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/open.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # open.m4 serial 12 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # open.m4 serial 13 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 9,15 **** AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw* | pw*) ! gl_REPLACE_OPEN ;; *) dnl open("foo/") should not create a file when the file name has a --- 9,15 ---- AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw* | pw*) ! REPLACE_OPEN=1 ;; *) dnl open("foo/") should not create a file when the file name has a *************** *** 57,86 **** *no) AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], [Define to 1 if open() fails to recognize a trailing slash.]) ! gl_REPLACE_OPEN ;; esac ;; esac dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. m4_ifdef([gl_NONBLOCKING_IO], [ if test $REPLACE_OPEN = 0; then gl_NONBLOCKING_IO if test $gl_cv_have_open_O_NONBLOCK != yes; then ! gl_REPLACE_OPEN fi fi ]) ]) - AC_DEFUN([gl_REPLACE_OPEN], - [ - AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) - REPLACE_OPEN=1 - AC_LIBOBJ([open]) - gl_PREREQ_OPEN - ]) - # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ --- 57,88 ---- *no) AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], [Define to 1 if open() fails to recognize a trailing slash.]) ! REPLACE_OPEN=1 ;; esac ;; esac + dnl Replace open() for supporting the gnulib-defined fchdir() function, + dnl to keep fchdir's bookkeeping up-to-date. + m4_ifdef([gl_FUNC_FCHDIR], [ + if test $REPLACE_OPEN = 0; then + gl_TEST_FCHDIR + if test $HAVE_FCHDIR = 0; then + REPLACE_OPEN=1 + fi + fi + ]) dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. m4_ifdef([gl_NONBLOCKING_IO], [ if test $REPLACE_OPEN = 0; then gl_NONBLOCKING_IO if test $gl_cv_have_open_O_NONBLOCK != yes; then ! REPLACE_OPEN=1 fi fi ]) ]) # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ diff -cNr octave-3.4.2/m4/pathmax.m4 octave-3.4.3/m4/pathmax.m4 *** octave-3.4.2/m4/pathmax.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/pathmax.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # pathmax.m4 serial 8 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation --- 1,4 ---- ! # pathmax.m4 serial 10 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation *************** *** 8,13 **** AC_DEFUN([gl_PATHMAX], [ dnl Prerequisites of lib/pathmax.h. - AC_CHECK_FUNCS_ONCE([pathconf]) AC_CHECK_HEADERS_ONCE([sys/param.h]) ]) --- 8,42 ---- AC_DEFUN([gl_PATHMAX], [ dnl Prerequisites of lib/pathmax.h. AC_CHECK_HEADERS_ONCE([sys/param.h]) ]) + + # Expands to a piece of C program that defines PATH_MAX in the same way as + # "pathmax.h" will do. + AC_DEFUN([gl_PATHMAX_SNIPPET], [[ + /* Arrange to define PATH_MAX, like "pathmax.h" does. */ + #if HAVE_UNISTD_H + # include + #endif + #include + #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN + # include + #endif + #if !defined PATH_MAX && defined MAXPATHLEN + # define PATH_MAX MAXPATHLEN + #endif + #ifdef __hpux + # undef PATH_MAX + # define PATH_MAX 1024 + #endif + #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + # undef PATH_MAX + # define PATH_MAX 260 + #endif + ]]) + + # Prerequisites of gl_PATHMAX_SNIPPET. + AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], + [ + AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) + ]) diff -cNr octave-3.4.2/m4/printf.m4 octave-3.4.3/m4/printf.m4 *** octave-3.4.2/m4/printf.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/printf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # printf.m4 serial 43 dnl Copyright (C) 2003, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # printf.m4 serial 45 dnl Copyright (C) 2003, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 178,205 **** int main () { int result = 0; ! if (sprintf (buf, "%f", 1.0 / 0.0) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%f", -1.0 / 0.0) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%f", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; ! if (sprintf (buf, "%e", 1.0 / 0.0) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 4; ! if (sprintf (buf, "%e", -1.0 / 0.0) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 4; if (sprintf (buf, "%e", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 8; ! if (sprintf (buf, "%g", 1.0 / 0.0) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 16; ! if (sprintf (buf, "%g", -1.0 / 0.0) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 16; if (sprintf (buf, "%g", zero / zero) < 0 --- 178,205 ---- int main () { int result = 0; ! if (sprintf (buf, "%f", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%f", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%f", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; ! if (sprintf (buf, "%e", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 4; ! if (sprintf (buf, "%e", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 4; if (sprintf (buf, "%e", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 8; ! if (sprintf (buf, "%g", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 16; ! if (sprintf (buf, "%g", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 16; if (sprintf (buf, "%g", zero / zero) < 0 *************** *** 294,321 **** { int result = 0; nocrash_init(); ! if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; ! if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; ! if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 --- 294,321 ---- { int result = 0; nocrash_init(); ! if (sprintf (buf, "%Lf", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Lf", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; ! if (sprintf (buf, "%Le", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Le", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; ! if (sprintf (buf, "%Lg", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; ! if (sprintf (buf, "%Lg", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 *************** *** 478,483 **** --- 478,484 ---- #include #include static char buf[100]; + static double zero = 0.0; int main () { int result = 0; *************** *** 502,508 **** result |= 4; /* This catches a FreeBSD 6.1 bug. See */ ! if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ --- 503,509 ---- result |= 4; /* This catches a FreeBSD 6.1 bug. See */ ! if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ *************** *** 562,574 **** #include #include static char buf[100]; int main () { int result = 0; if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 || strcmp (buf, "1234567.000000 33") != 0) result |= 1; ! if (sprintf (buf, "%F", 1.0 / 0.0) < 0 || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) result |= 2; /* This catches a Cygwin 1.5.x bug. */ --- 563,576 ---- #include #include static char buf[100]; + static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 || strcmp (buf, "1234567.000000 33") != 0) result |= 1; ! if (sprintf (buf, "%F", 1.0 / zero) < 0 || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) result |= 2; /* This catches a Cygwin 1.5.x bug. */ *************** *** 615,626 **** --- 617,643 ---- AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include + #include #include + #ifdef _MSC_VER + /* See page about "Parameter Validation" on msdn.microsoft.com. */ + static void cdecl + invalid_parameter_handler (const wchar_t *expression, + const wchar_t *function, + const wchar_t *file, unsigned int line, + uintptr_t dummy) + { + exit (1); + } + #endif static char fmtstring[10]; static char buf[100]; int main () { int count = -1; + #ifdef _MSC_VER + _set_invalid_parameter_handler (invalid_parameter_handler); + #endif /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ *************** *** 636,642 **** [ changequote(,)dnl case "$host_os" in ! *) gl_cv_func_printf_directive_n="guessing yes";; esac changequote([,])dnl ]) --- 653,660 ---- [ changequote(,)dnl case "$host_os" in ! mingw*) gl_cv_func_printf_directive_n="guessing no";; ! *) gl_cv_func_printf_directive_n="guessing yes";; esac changequote([,])dnl ]) *************** *** 862,870 **** #include #include static char buf[100]; int main () { ! if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 || (strcmp (buf, " inf") != 0 && strcmp (buf, " infinity") != 0)) return 1; --- 880,889 ---- #include #include static char buf[100]; + static double zero = 0.0; int main () { ! if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0 || (strcmp (buf, " inf") != 0 && strcmp (buf, " infinity") != 0)) return 1; *************** *** 1076,1081 **** --- 1095,1101 ---- [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf truncates the result as in C99], [gl_cv_func_snprintf_truncation_c99], [ *************** *** 1083,1093 **** [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; --- 1103,1127 ---- [AC_LANG_SOURCE([[ #include #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! my_snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; *************** *** 1157,1162 **** --- 1191,1197 ---- [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], [gl_cv_func_snprintf_retval_c99], [ *************** *** 1164,1178 **** [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; ! if (snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; ! if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; }]])], --- 1199,1227 ---- [AC_LANG_SOURCE([[ #include #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); ! if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; ! if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; ! if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; }]])], *************** *** 1221,1226 **** --- 1270,1276 ---- [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], [gl_cv_func_snprintf_directive_n], [ *************** *** 1228,1233 **** --- 1278,1297 ---- [AC_LANG_SOURCE([[ #include #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif static char fmtstring[10]; static char buf[100]; int main () *************** *** 1237,1243 **** support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); ! snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; --- 1301,1307 ---- support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); ! my_snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; *************** *** 1289,1304 **** AC_DEFUN([gl_SNPRINTF_SIZE1], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([whether snprintf respects a size of 1], [gl_cv_func_snprintf_size1], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ! snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; }]])], [gl_cv_func_snprintf_size1=yes], --- 1353,1383 ---- AC_DEFUN([gl_SNPRINTF_SIZE1], [ AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf respects a size of 1], [gl_cv_func_snprintf_size1], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else + # include + static int my_snprintf (char *buf, int size, const char *format, ...) + { + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; + } + #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ! my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; }]])], [gl_cv_func_snprintf_size1=yes], *************** *** 1483,1486 **** dnl NetBSD 3.0 . . . . # # . ? # # ? # . # . . . . . . dnl Haiku . . . # # # . # . . . . . ? . . ? . . . dnl BeOS # # . # # # . ? # . ? . # ? . . ? . . . ! dnl mingw # # # # # # . . # # . # # ? . # # # . . --- 1562,1568 ---- dnl NetBSD 3.0 . . . . # # . ? # # ? # . # . . . . . . dnl Haiku . . . # # # . # . . . . . ? . . ? . . . dnl BeOS # # . # # # . ? # . ? . # ? . . ? . . . ! dnl old mingw / msvcrt # # # # # # . . # # . # # ? . # # # . . ! dnl MSVC 9 # # # # # # # . # # . # # ? # # # # . . ! dnl mingw 2009-2011 . # . # . . . . # # . . . ? . . . . . . ! dnl mingw-w64 2011 # # # # # # . . # # . # # ? . # # # . . diff -cNr octave-3.4.2/m4/raise.m4 octave-3.4.3/m4/raise.m4 *** octave-3.4.2/m4/raise.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/raise.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,36 ---- + # raise.m4 serial 2 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_RAISE], + [ + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([gl_MSVC_INVAL]) + AC_CHECK_FUNCS([raise]) + if test $ac_cv_func_raise = no; then + HAVE_RAISE=0 + else + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_RAISE=1 + fi + m4_ifdef([gl_SIGNALBLOCKING], [ + gl_SIGNALBLOCKING + if test $HAVE_POSIX_SIGNALBLOCKING = 0; then + m4_ifdef([gl_SIGNAL_SIGPIPE], [ + gl_SIGNAL_SIGPIPE + if test $gl_cv_header_signal_h_SIGPIPE != yes; then + REPLACE_RAISE=1 + fi + ], [:]) + fi + ]) + fi + ]) + + # Prerequisites of lib/raise.c. + AC_DEFUN([gl_PREREQ_RAISE], [ + AC_REQUIRE([AC_C_INLINE]) + ]) diff -cNr octave-3.4.2/m4/readdir.m4 octave-3.4.3/m4/readdir.m4 *** octave-3.4.2/m4/readdir.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/readdir.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,15 ---- + # readdir.m4 serial 1 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_READDIR], + [ + AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + + AC_CHECK_FUNCS([readdir]) + if test $ac_cv_func_readdir = no; then + HAVE_READDIR=0 + fi + ]) diff -cNr octave-3.4.2/m4/rename.m4 octave-3.4.3/m4/rename.m4 *** octave-3.4.2/m4/rename.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/rename.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # serial 24 # Copyright (C) 2001, 2003, 2005-2006, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,4 ---- ! # serial 25 # Copyright (C) 2001, 2003, 2005-2006, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 110,146 **** dnl NetBSD 1.6 and cygwin 1.5.x mistakenly reduce hard link count dnl on rename("h1","h2"). dnl This bug requires stat'ting targets prior to attempting rename. AC_CACHE_CHECK([whether rename manages hard links correctly], [gl_cv_func_rename_link_works], ! [rm -rf conftest.f conftest.f1 ! if touch conftest.f && ln conftest.f conftest.f1 && ! set x `ls -i conftest.f conftest.f1` && test "$2" = "$4"; then ! AC_RUN_IFELSE( ! [AC_LANG_PROGRAM([[ ! # include ! # include ! # include ! ]], ! [[int result = 0; ! if (rename ("conftest.f", "conftest.f1")) ! result |= 1; ! if (unlink ("conftest.f1")) ! result |= 2; ! if (rename ("conftest.f", "conftest.f")) ! result |= 4; ! if (rename ("conftest.f1", "conftest.f1") == 0) ! result |= 8; ! return result; ! ]])], ! [gl_cv_func_rename_link_works=yes], ! [gl_cv_func_rename_link_works=no], ! dnl When crosscompiling, assume rename is broken. ! [gl_cv_func_rename_link_works="guessing no"]) ! else ! gl_cv_func_rename_link_works="guessing no" ! fi ! rm -rf conftest.f conftest.f1 ! ]) if test "x$gl_cv_func_rename_link_works" != xyes; then REPLACE_RENAME=1 AC_DEFINE([RENAME_HARD_LINK_BUG], [1], --- 110,151 ---- dnl NetBSD 1.6 and cygwin 1.5.x mistakenly reduce hard link count dnl on rename("h1","h2"). dnl This bug requires stat'ting targets prior to attempting rename. + AC_CHECK_FUNCS_ONCE([link]) AC_CACHE_CHECK([whether rename manages hard links correctly], [gl_cv_func_rename_link_works], ! [if test $ac_cv_func_link = yes; then ! rm -rf conftest.f conftest.f1 ! if touch conftest.f && ln conftest.f conftest.f1 && ! set x `ls -i conftest.f conftest.f1` && test "$2" = "$4"; then ! AC_RUN_IFELSE( ! [AC_LANG_PROGRAM([[ ! # include ! # include ! # include ! ]], ! [[int result = 0; ! if (rename ("conftest.f", "conftest.f1")) ! result |= 1; ! if (unlink ("conftest.f1")) ! result |= 2; ! if (rename ("conftest.f", "conftest.f")) ! result |= 4; ! if (rename ("conftest.f1", "conftest.f1") == 0) ! result |= 8; ! return result; ! ]])], ! [gl_cv_func_rename_link_works=yes], ! [gl_cv_func_rename_link_works=no], ! dnl When crosscompiling, assume rename is broken. ! [gl_cv_func_rename_link_works="guessing no"]) ! else ! gl_cv_func_rename_link_works="guessing no" ! fi ! rm -rf conftest.f conftest.f1 ! else ! gl_cv_func_rename_link_works=yes ! fi ! ]) if test "x$gl_cv_func_rename_link_works" != xyes; then REPLACE_RENAME=1 AC_DEFINE([RENAME_HARD_LINK_BUG], [1], diff -cNr octave-3.4.2/m4/rmdir.m4 octave-3.4.3/m4/rmdir.m4 *** octave-3.4.2/m4/rmdir.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/rmdir.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # rmdir.m4 serial 11 dnl Copyright (C) 2002, 2005, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # rmdir.m4 serial 12 dnl Copyright (C) 2002, 2005, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 8,13 **** --- 8,14 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl Detect cygwin 1.5.x bug. + AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether rmdir works], [gl_cv_func_rmdir_works], [mkdir conftest.dir touch conftest.file *************** *** 15,21 **** [AC_LANG_PROGRAM( [[#include #include ! #include ]], [[int result = 0; if (!rmdir ("conftest.file/")) result |= 1; --- 16,26 ---- [AC_LANG_PROGRAM( [[#include #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif ]], [[int result = 0; if (!rmdir ("conftest.file/")) result |= 1; diff -cNr octave-3.4.2/m4/roundf.m4 octave-3.4.3/m4/roundf.m4 *** octave-3.4.2/m4/roundf.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/roundf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # roundf.m4 serial 13 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # roundf.m4 serial 14 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 10,16 **** AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare roundf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_DECLS([roundf], , , [#include ]) if test "$ac_cv_have_decl_roundf" = yes; then gl_CHECK_MATH_LIB([ROUNDF_LIBM], [x = roundf (x);]) if test "$ROUNDF_LIBM" != missing; then --- 10,16 ---- AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare roundf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_DECLS([roundf], , , [[#include ]]) if test "$ac_cv_have_decl_roundf" = yes; then gl_CHECK_MATH_LIB([ROUNDF_LIBM], [x = roundf (x);]) if test "$ROUNDF_LIBM" != missing; then *************** *** 96,102 **** fi if test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then dnl Find libraries needed to link lib/roundf.c. ! AC_CHECK_DECLS([ceilf, floorf], , , [#include ]) if test "$ac_cv_have_decl_floorf" = yes \ && test "$ac_cv_have_decl_ceilf" = yes; then gl_FUNC_FLOORF_LIBS --- 96,102 ---- fi if test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then dnl Find libraries needed to link lib/roundf.c. ! AC_CHECK_DECLS([ceilf, floorf], , , [[#include ]]) if test "$ac_cv_have_decl_floorf" = yes \ && test "$ac_cv_have_decl_ceilf" = yes; then gl_FUNC_FLOORF_LIBS diff -cNr octave-3.4.2/m4/round.m4 octave-3.4.3/m4/round.m4 *** octave-3.4.2/m4/round.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/round.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # round.m4 serial 12 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # round.m4 serial 13 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 10,16 **** AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare round(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_DECLS([round], , , [#include ]) if test "$ac_cv_have_decl_round" = yes; then gl_CHECK_MATH_LIB([ROUND_LIBM], [x = round (x);]) if test "$ROUND_LIBM" != missing; then --- 10,16 ---- AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare round(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ! AC_CHECK_DECLS([round], , , [[#include ]]) if test "$ac_cv_have_decl_round" = yes; then gl_CHECK_MATH_LIB([ROUND_LIBM], [x = round (x);]) if test "$ROUND_LIBM" != missing; then diff -cNr octave-3.4.2/m4/select.m4 octave-3.4.3/m4/select.m4 *** octave-3.4.2/m4/select.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/select.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # select.m4 serial 5 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # select.m4 serial 6 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 47,50 **** --- 47,75 ---- *) REPLACE_SELECT=1 ;; esac fi + + dnl Determine the needed libraries. + LIB_SELECT="$LIBSOCKET" + if test $REPLACE_SELECT = 1; then + case "$host_os" in + mingw*) + dnl On the MSVC platform, the function MsgWaitForMultipleObjects + dnl (used in lib/select.c) requires linking with -luser32. On mingw, + dnl it is implicit. + AC_LINK_IFELSE( + [AC_LANG_SOURCE([[ + #define WIN32_LEAN_AND_MEAN + #include + int + main () + { + MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); + return 0; + }]])], + [], + [LIB_SELECT="$LIB_SELECT -luser32"]) + ;; + esac + fi + AC_SUBST([LIB_SELECT]) ]) diff -cNr octave-3.4.2/m4/signalblocking.m4 octave-3.4.3/m4/signalblocking.m4 *** octave-3.4.2/m4/signalblocking.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/signalblocking.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # signalblocking.m4 serial 11 dnl Copyright (C) 2001-2002, 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # signalblocking.m4 serial 13 dnl Copyright (C) 2001-2002, 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 12,20 **** AC_DEFUN([gl_SIGNALBLOCKING], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ! signals_not_posix= ! AC_EGREP_HEADER([sigset_t], [signal.h], , [signals_not_posix=1]) ! if test -z "$signals_not_posix"; then AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) fi if test -z "$gl_cv_func_sigprocmask"; then --- 12,19 ---- AC_DEFUN([gl_SIGNALBLOCKING], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ! AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) ! if test $gl_cv_type_sigset_t = yes; then AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) fi if test -z "$gl_cv_func_sigprocmask"; then *************** *** 22,40 **** fi ]) ! # Prerequisites of the part of lib/signal.in.h and of lib/sigprocmask.c. ! AC_DEFUN([gl_PREREQ_SIGPROCMASK], ! [ ! AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ! AC_CHECK_TYPES([sigset_t], ! [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], ! [#include ! /* Mingw defines sigset_t not in , but in . */ ! #include ]) ! if test $gl_cv_type_sigset_t != yes; then ! HAVE_SIGSET_T=0 ! fi ! dnl HAVE_SIGSET_T is 1 if the system lacks the sigprocmask function but has ! dnl the sigset_t type. ! AC_SUBST([HAVE_SIGSET_T]) ]) --- 21,27 ---- fi ]) ! # Prerequisites of lib/sigprocmask.c. ! AC_DEFUN([gl_PREREQ_SIGPROCMASK], [ ! AC_REQUIRE([AC_C_INLINE]) ]) diff -cNr octave-3.4.2/m4/signal_h.m4 octave-3.4.3/m4/signal_h.m4 *** octave-3.4.2/m4/signal_h.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/signal_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # signal_h.m4 serial 12 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # signal_h.m4 serial 18 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 7,12 **** --- 7,13 ---- AC_DEFUN([gl_SIGNAL_H], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) + AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) gl_NEXT_HEADERS([signal.h]) # AIX declares sig_atomic_t to already include volatile, and C89 compilers *************** *** 16,21 **** --- 17,25 ---- #include ]]) + dnl Ensure the type pid_t gets defined. + AC_REQUIRE([AC_TYPE_PID_T]) + AC_REQUIRE([AC_TYPE_UID_T]) dnl Persuade glibc to define sighandler_t. *************** *** 27,36 **** dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask]) ]) AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. --- 31,55 ---- dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [pthread_sigmask sigaction ! sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask]) ]) + AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], + [ + AC_CHECK_TYPES([sigset_t], + [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], + [[ + #include + /* Mingw defines sigset_t not in , but in . */ + #include + ]]) + if test $gl_cv_type_sigset_t != yes; then + HAVE_SIGSET_T=0 + fi + ]) + AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. *************** *** 42,52 **** --- 61,75 ---- AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [ + GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) + GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) + HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) + HAVE_RAISE=1; AC_SUBST([HAVE_RAISE]) HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) *************** *** 55,58 **** --- 78,83 ---- HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) + REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) + REPLACE_RAISE=0; AC_SUBST([REPLACE_RAISE]) ]) diff -cNr octave-3.4.2/m4/sleep.m4 octave-3.4.3/m4/sleep.m4 *** octave-3.4.2/m4/sleep.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/sleep.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # sleep.m4 serial 5 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # sleep.m4 serial 6 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 12,18 **** dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep(): dnl it takes the number of milliseconds as argument and returns void. dnl mingw does not declare this function. ! AC_CHECK_DECLS([sleep], , , [#include ]) AC_CHECK_FUNCS_ONCE([sleep]) if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 --- 12,18 ---- dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep(): dnl it takes the number of milliseconds as argument and returns void. dnl mingw does not declare this function. ! AC_CHECK_DECLS([sleep], , , [[#include ]]) AC_CHECK_FUNCS_ONCE([sleep]) if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 diff -cNr octave-3.4.2/m4/ssize_t.m4 octave-3.4.3/m4/ssize_t.m4 *** octave-3.4.2/m4/ssize_t.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/ssize_t.m4 2011-04-19 21:36:02.000000000 -0400 *************** *** 0 **** --- 1,23 ---- + # ssize_t.m4 serial 5 (gettext-0.18.2) + dnl Copyright (C) 2001-2003, 2006, 2010-2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + dnl From Bruno Haible. + dnl Test whether ssize_t is defined. + + AC_DEFUN([gt_TYPE_SSIZE_T], + [ + AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x;]])], + [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) + if test $gt_cv_ssize_t = no; then + AC_DEFINE([ssize_t], [int], + [Define as a signed type of the same size as size_t.]) + fi + ]) diff -cNr octave-3.4.2/m4/stdint.m4 octave-3.4.3/m4/stdint.m4 *** octave-3.4.2/m4/stdint.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/stdint.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 466,471 **** --- 466,479 ---- fi gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) + + dnl If wint_t is smaller than 'int', it cannot satisfy the ISO C 99 + dnl requirement that wint_t is "unchanged by default argument promotions". + dnl In this case gnulib's and override wint_t. + dnl Set the variable BITSIZEOF_WINT_T accordingly. + if test $BITSIZEOF_WINT_T -lt 32; then + BITSIZEOF_WINT_T=32 + fi ]) dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. diff -cNr octave-3.4.2/m4/stdio_h.m4 octave-3.4.3/m4/stdio_h.m4 *** octave-3.4.2/m4/stdio_h.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/stdio_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # stdio_h.m4 serial 37 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # stdio_h.m4 serial 40 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 74,80 **** dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ! ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf]) ]) --- 74,80 ---- dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ! ]], [dprintf fpurge fseeko ftello getdelim getline pclose popen renameat snprintf tmpfile vdprintf vsnprintf]) ]) *************** *** 91,96 **** --- 91,97 ---- [ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) + GNULIB_FDOPEN=0; AC_SUBST([GNULIB_FDOPEN]) GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) GNULIB_FGETC=0; AC_SUBST([GNULIB_FGETC]) GNULIB_FGETS=0; AC_SUBST([GNULIB_FGETS]) *************** *** 115,120 **** --- 116,122 ---- GNULIB_GETS=0; AC_SUBST([GNULIB_GETS]) GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) + GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE]) GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) *************** *** 153,163 **** --- 155,168 ---- HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) + HAVE_PCLOSE=1; AC_SUBST([HAVE_PCLOSE]) + HAVE_POPEN=1; AC_SUBST([HAVE_POPEN]) HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) + REPLACE_FDOPEN=0; AC_SUBST([REPLACE_FDOPEN]) REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) diff -cNr octave-3.4.2/m4/strcase.m4 octave-3.4.3/m4/strcase.m4 *** octave-3.4.2/m4/strcase.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/strcase.m4 2011-06-21 12:41:25.000000000 -0400 *************** *** 0 **** --- 1,45 ---- + # strcase.m4 serial 11 + dnl Copyright (C) 2002, 2005-2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_STRCASE], + [ + gl_FUNC_STRCASECMP + gl_FUNC_STRNCASECMP + ]) + + AC_DEFUN([gl_FUNC_STRCASECMP], + [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + AC_CHECK_FUNCS([strcasecmp]) + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + fi + ]) + + AC_DEFUN([gl_FUNC_STRNCASECMP], + [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + AC_CHECK_FUNCS([strncasecmp]) + if test $ac_cv_func_strncasecmp = yes; then + HAVE_STRNCASECMP=1 + else + HAVE_STRNCASECMP=0 + fi + AC_CHECK_DECLS([strncasecmp]) + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi + ]) + + # Prerequisites of lib/strcasecmp.c. + AC_DEFUN([gl_PREREQ_STRCASECMP], [ + : + ]) + + # Prerequisites of lib/strncasecmp.c. + AC_DEFUN([gl_PREREQ_STRNCASECMP], [ + : + ]) diff -cNr octave-3.4.2/m4/strerror.m4 octave-3.4.3/m4/strerror.m4 *** octave-3.4.2/m4/strerror.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/strerror.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # strerror.m4 serial 15 dnl Copyright (C) 2002, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # strerror.m4 serial 16 dnl Copyright (C) 2002, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 8,40 **** [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) ]) ! if test -z "$ERRNO_H"; then AC_CACHE_CHECK([for working strerror function], [gl_cv_func_working_strerror], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include - #include ]], ! [[int result = 0; ! char *str; ! if (!*strerror (-2)) result |= 1; ! errno = 0; ! str = strerror (0); ! if (!*str) result |= 2; ! if (errno) result |= 4; ! if (strstr (str, "nknown") || strstr (str, "ndefined")) ! result |= 8; ! return result;]])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [dnl Be pessimistic on cross-compiles for now. ! gl_cv_func_working_strerror=no]) ]) ! if test $gl_cv_func_working_strerror = no; then dnl The system's strerror() fails to return a string for out-of-range dnl integers. Replace it. REPLACE_STRERROR=1 --- 8,31 ---- [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) + AC_REQUIRE([gl_FUNC_STRERROR_0]) m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) ]) ! if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then AC_CACHE_CHECK([for working strerror function], [gl_cv_func_working_strerror], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], ! [[if (!*strerror (-2)) return 1;]])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [dnl Be pessimistic on cross-compiles for now. ! gl_cv_func_working_strerror="guessing no"]) ]) ! if test "$gl_cv_func_working_strerror" != yes; then dnl The system's strerror() fails to return a string for out-of-range dnl integers. Replace it. REPLACE_STRERROR=1 *************** *** 48,54 **** ]) else dnl The system's strerror() cannot know about the new errno values we add ! dnl to . Replace it. REPLACE_STRERROR=1 fi ]) --- 39,78 ---- ]) else dnl The system's strerror() cannot know about the new errno values we add ! dnl to , or any fix for strerror(0). Replace it. REPLACE_STRERROR=1 fi ]) + + dnl Detect if strerror(0) passes (that is, does not set errno, and does not + dnl return a string that matches strerror(-1)). + AC_DEFUN([gl_FUNC_STRERROR_0], + [ + REPLACE_STRERROR_0=0 + AC_CACHE_CHECK([whether strerror(0) succeeds], + [gl_cv_func_strerror_0_works], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + #include + ]], + [[int result = 0; + char *str; + errno = 0; + str = strerror (0); + if (!*str) result |= 1; + if (errno) result |= 2; + if (strstr (str, "nknown") || strstr (str, "ndefined")) + result |= 4; + return result;]])], + [gl_cv_func_strerror_0_works=yes], + [gl_cv_func_strerror_0_works=no], + [dnl Be pessimistic on cross-compiles for now. + gl_cv_func_strerror_0_works="guessing no"]) + ]) + if test "$gl_cv_func_strerror_0_works" != yes; then + REPLACE_STRERROR_0=1 + AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0) + does not return a message implying success.]) + fi + ]) diff -cNr octave-3.4.2/m4/string_h.m4 octave-3.4.3/m4/string_h.m4 *** octave-3.4.2/m4/string_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/string_h.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 5,11 **** # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. ! # serial 20 # Written by Paul Eggert. --- 5,11 ---- # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. ! # serial 21 # Written by Paul Eggert. *************** *** 27,35 **** dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], ! [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup ! strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r ! strsignal strverscmp]) ]) AC_DEFUN([gl_STRING_MODULE_INDICATOR], --- 27,35 ---- dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], ! [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul ! strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r ! strerror_r strsignal strverscmp]) ]) AC_DEFUN([gl_STRING_MODULE_INDICATOR], *************** *** 43,48 **** --- 43,50 ---- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ + GNULIB_FFSL=0; AC_SUBST([GNULIB_FFSL]) + GNULIB_FFSLL=0; AC_SUBST([GNULIB_FFSLL]) GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) *************** *** 80,85 **** --- 82,89 ---- GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) + HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL]) HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) diff -cNr octave-3.4.2/m4/strings_h.m4 octave-3.4.3/m4/strings_h.m4 *** octave-3.4.2/m4/strings_h.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/strings_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,52 ---- + # Configure a replacement for . + # serial 6 + + # Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_HEADER_STRINGS_H], + [ + dnl Use AC_REQUIRE here, so that the default behavior below is expanded + dnl once only, before all statements that occur in other macros. + AC_REQUIRE([gl_HEADER_STRINGS_H_BODY]) + ]) + + AC_DEFUN([gl_HEADER_STRINGS_H_BODY], + [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + + gl_CHECK_NEXT_HEADERS([strings.h]) + if test $ac_cv_header_strings_h = yes; then + HAVE_STRINGS_H=1 + else + HAVE_STRINGS_H=0 + fi + AC_SUBST([HAVE_STRINGS_H]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[ + /* Minix 3.1.8 has a bug: must be included before + . */ + #include + #include + ]], [ffs strcasecmp strncasecmp]) + ]) + + AC_DEFUN([gl_STRINGS_MODULE_INDICATOR], + [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + + AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS], + [ + GNULIB_FFS=0; AC_SUBST([GNULIB_FFS]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_FFS=1; AC_SUBST([HAVE_FFS]) + HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP]) + HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP]) + ]) diff -cNr octave-3.4.2/m4/sys_select_h.m4 octave-3.4.3/m4/sys_select_h.m4 *** octave-3.4.2/m4/sys_select_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/sys_select_h.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # sys_select_h.m4 serial 16 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # sys_select_h.m4 serial 20 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_HEADER_SYS_SELECT], [ ! AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_select_h_selfcontained], --- 6,12 ---- AC_DEFUN([gl_HEADER_SYS_SELECT], [ ! AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_select_h_selfcontained], *************** *** 32,41 **** [AC_LANG_PROGRAM([[#include ]], [[ #undef memset #define memset nonexistent_memset ! extern void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ]]) --- 32,49 ---- [AC_LANG_PROGRAM([[#include ]], [[ #undef memset #define memset nonexistent_memset ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero ! extern ! #ifdef __cplusplus ! "C" ! #endif ! void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ]]) *************** *** 64,70 **** # include #endif #include ! ]], [select]) ]) AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], --- 72,78 ---- # include #endif #include ! ]], [pselect select]) ]) AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], *************** *** 78,84 **** --- 86,95 ---- AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], [ + GNULIB_PSELECT=0; AC_SUBST([GNULIB_PSELECT]) GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT]) dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_PSELECT=1; AC_SUBST([HAVE_PSELECT]) + REPLACE_PSELECT=0; AC_SUBST([REPLACE_PSELECT]) REPLACE_SELECT=0; AC_SUBST([REPLACE_SELECT]) ]) diff -cNr octave-3.4.2/m4/sys_stat_h.m4 octave-3.4.3/m4/sys_stat_h.m4 *** octave-3.4.2/m4/sys_stat_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/sys_stat_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # sys_stat_h.m4 serial 24 -*- Autoconf -*- dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # sys_stat_h.m4 serial 26 -*- Autoconf -*- dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 19,24 **** --- 19,27 ---- gl_CHECK_NEXT_HEADERS([sys/stat.h]) + dnl Ensure the type mode_t gets defined. + AC_REQUIRE([AC_TYPE_MODE_T]) + dnl Define types that are supposed to be defined in or dnl . AC_CHECK_TYPE([nlink_t], [], *************** *** 30,36 **** dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat]) ]) # gl_HEADER_SYS_STAT_H --- 33,39 ---- dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ! ]], [fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat]) ]) # gl_HEADER_SYS_STAT_H *************** *** 47,52 **** --- 50,56 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) + GNULIB_FSTAT=0; AC_SUBST([GNULIB_FSTAT]) GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) diff -cNr octave-3.4.2/m4/sys_time_h.m4 octave-3.4.3/m4/sys_time_h.m4 *** octave-3.4.2/m4/sys_time_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/sys_time_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,5 **** # Configure a replacement for . ! # serial 6 # Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,5 ---- # Configure a replacement for . ! # serial 7 # Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 27,32 **** --- 27,35 ---- HAVE_SYS_TIME_H=0 fi + dnl On native Windows with MSVC, 'struct timeval' is defined in + dnl only. So include that header in the list. + gl_PREREQ_SYS_H_WINSOCK2 AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( *************** *** 34,39 **** --- 37,45 ---- #include #endif #include + #if HAVE_WINSOCK2_H + # include + #endif ]], [[static struct timeval x; x.tv_sec = x.tv_usec;]])], [gl_cv_sys_struct_timeval=yes], diff -cNr octave-3.4.2/m4/sys_types_h.m4 octave-3.4.3/m4/sys_types_h.m4 *** octave-3.4.2/m4/sys_types_h.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/sys_types_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 0 **** --- 1,21 ---- + # sys_types_h.m4 serial 2 + dnl Copyright (C) 2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_SYS_TYPES_H], + [ + AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) + gl_NEXT_HEADERS([sys/types.h]) + + dnl Ensure the type pid_t gets defined. + AC_REQUIRE([AC_TYPE_PID_T]) + + dnl Ensure the type mode_t gets defined. + AC_REQUIRE([AC_TYPE_MODE_T]) + ]) + + AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], + [ + ]) diff -cNr octave-3.4.2/m4/tempname.m4 octave-3.4.3/m4/tempname.m4 *** octave-3.4.2/m4/tempname.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/tempname.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! #serial 4 # Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation --- 1,4 ---- ! #serial 5 # Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation *************** *** 9,16 **** # it as a public API, and provide it on systems that are lacking. AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [ - AC_REQUIRE([AC_SYS_LARGEFILE]) - gl_PREREQ_TEMPNAME ]) --- 9,14 ---- diff -cNr octave-3.4.2/m4/time_h.m4 octave-3.4.3/m4/time_h.m4 *** octave-3.4.2/m4/time_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/time_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 2,8 **** # Copyright (C) 2000-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. ! # serial 4 # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, --- 2,8 ---- # Copyright (C) 2000-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. ! # serial 6 # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -cNr octave-3.4.2/m4/tmpdir.m4 octave-3.4.3/m4/tmpdir.m4 *** octave-3.4.2/m4/tmpdir.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/tmpdir.m4 2011-04-19 21:36:02.000000000 -0400 *************** *** 0 **** --- 1,12 ---- + # tmpdir.m4 serial 3 + dnl Copyright (C) 2001-2002, 2006, 2009-2011 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + # Prerequisites for lib/tmpdir.c + + AC_DEFUN([gt_TMPDIR], + [ + AC_CHECK_FUNCS([__secure_getenv]) + ]) diff -cNr octave-3.4.2/m4/tmpfile.m4 octave-3.4.3/m4/tmpfile.m4 *** octave-3.4.2/m4/tmpfile.m4 1969-12-31 19:00:00.000000000 -0500 --- octave-3.4.3/m4/tmpfile.m4 2011-06-21 12:41:25.000000000 -0400 *************** *** 0 **** --- 1,38 ---- + # tmpfile.m4 serial 2 + # Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + + # Written by Ben Pfaff. + + # Check whether to use a replacement tmpfile() function. + + # The native Windows tmpfile function always tries to put the temporary + # file in the root directory. (This behaviour is even documented in + # Microsoft's documentation!) This often fails for ordinary users who + # don't have the permissions to write in the root directory. + # + # We can't test for tmpfile even at runtime, since our test program + # might be running with privileges that allow it to write to the root + # directory, even though tmpfile wouldn't work in general. Instead, + # just test for a Windows platform (excluding Cygwin). + + AC_DEFUN([gl_FUNC_TMPFILE], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AC_CACHE_CHECK([whether tmpfile should be overridden], + [gl_cv_func_tmpfile_unusable], + [AC_EGREP_CPP([choke me], [ + #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ + choke me + #endif + ], + [gl_cv_func_tmpfile_unusable=yes], + [gl_cv_func_tmpfile_unusable=no])]) + if test $gl_cv_func_tmpfile_unusable = yes; then + REPLACE_TMPFILE=1 + fi + ]) + + # Prerequisites of lib/tmpfile.c. + AC_DEFUN([gl_PREREQ_TMPFILE], [:]) diff -cNr octave-3.4.2/m4/truncf.m4 octave-3.4.3/m4/truncf.m4 *** octave-3.4.2/m4/truncf.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/truncf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # truncf.m4 serial 6 dnl Copyright (C) 2007, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # truncf.m4 serial 8 dnl Copyright (C) 2007, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 11,17 **** dnl Persuade glibc to declare truncf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether truncf() is declared. ! AC_CHECK_DECLS([truncf], , , [#include ]) if test "$ac_cv_have_decl_truncf" = yes; then dnl Test whether truncf() can be used without libm. TRUNCF_LIBM=? --- 11,17 ---- dnl Persuade glibc to declare truncf(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether truncf() is declared. ! AC_CHECK_DECLS([truncf], , , [[#include ]]) if test "$ac_cv_have_decl_truncf" = yes; then dnl Test whether truncf() can be used without libm. TRUNCF_LIBM=? diff -cNr octave-3.4.2/m4/trunc.m4 octave-3.4.3/m4/trunc.m4 *** octave-3.4.2/m4/trunc.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/trunc.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # trunc.m4 serial 7 dnl Copyright (C) 2007, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # trunc.m4 serial 8 dnl Copyright (C) 2007, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 11,17 **** dnl Persuade glibc to declare trunc(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether trunc() is declared. ! AC_CHECK_DECLS([trunc], , , [#include ]) if test "$ac_cv_have_decl_trunc" = yes; then dnl Test whether trunc() can be used without libm. TRUNC_LIBM=? --- 11,17 ---- dnl Persuade glibc to declare trunc(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether trunc() is declared. ! AC_CHECK_DECLS([trunc], , , [[#include ]]) if test "$ac_cv_have_decl_trunc" = yes; then dnl Test whether trunc() can be used without libm. TRUNC_LIBM=? diff -cNr octave-3.4.2/m4/unistd_h.m4 octave-3.4.3/m4/unistd_h.m4 *** octave-3.4.2/m4/unistd_h.m4 2011-06-10 13:59:38.000000000 -0400 --- octave-3.4.3/m4/unistd_h.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # unistd_h.m4 serial 56 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # unistd_h.m4 serial 61 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 21,29 **** fi AC_SUBST([HAVE_UNISTD_H]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. ! gl_WARN_ON_USE_PREPARE([[#include /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include --- 21,35 ---- fi AC_SUBST([HAVE_UNISTD_H]) + dnl Ensure the type pid_t gets defined. + AC_REQUIRE([AC_TYPE_PID_T]) + dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. ! gl_WARN_ON_USE_PREPARE([[ ! #if HAVE_UNISTD_H ! # include ! #endif /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include *************** *** 33,40 **** # include # endif #endif ! ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat ! fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat --- 39,46 ---- # include # endif #endif ! ]], [chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat ! fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat *************** *** 52,59 **** --- 58,67 ---- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ + GNULIB_CHDIR=0; AC_SUBST([GNULIB_CHDIR]) GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) + GNULIB_DUP=0; AC_SUBST([GNULIB_DUP]) GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) *************** *** 61,66 **** --- 69,75 ---- GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) + GNULIB_FDATASYNC=0; AC_SUBST([GNULIB_FDATASYNC]) GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) *************** *** 104,109 **** --- 113,119 ---- HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) + HAVE_FDATASYNC=1; AC_SUBST([HAVE_FDATASYNC]) HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) *************** *** 128,133 **** --- 138,144 ---- HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) + HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) diff -cNr octave-3.4.2/m4/unlink.m4 octave-3.4.3/m4/unlink.m4 *** octave-3.4.2/m4/unlink.m4 2011-06-21 12:41:25.000000000 -0400 --- octave-3.4.3/m4/unlink.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # unlink.m4 serial 8 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # unlink.m4 serial 9 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 8,13 **** --- 8,14 ---- [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) + AC_CHECK_HEADERS_ONCE([unistd.h]) dnl Detect FreeBSD 7.2, AIX 7.1, Solaris 9 bug. AC_CACHE_CHECK([whether unlink honors trailing slashes], [gl_cv_func_unlink_honors_slashes], *************** *** 18,24 **** fi AC_RUN_IFELSE( [AC_LANG_PROGRAM( ! [[#include #include ]], [[int result = 0; --- 19,29 ---- fi AC_RUN_IFELSE( [AC_LANG_PROGRAM( ! [[#if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! #endif #include ]], [[int result = 0; *************** *** 70,76 **** AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include ! #include int main () { int result = 0; --- 75,86 ---- AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include ! #if HAVE_UNISTD_H ! # include ! #else /* on Windows with MSVC */ ! # include ! # include ! #endif int main () { int result = 0; diff -cNr octave-3.4.2/m4/vasnprintf.m4 octave-3.4.3/m4/vasnprintf.m4 *** octave-3.4.2/m4/vasnprintf.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/vasnprintf.m4 2011-09-29 13:22:08.000000000 -0400 *************** *** 1,4 **** ! # vasnprintf.m4 serial 32 dnl Copyright (C) 2002-2004, 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vasnprintf.m4 serial 33 dnl Copyright (C) 2002-2004, 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 63,69 **** AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). ! AC_CHECK_DECLS([_snprintf], , , [#include ]) dnl We can avoid a lot of code by assuming that snprintf's return value dnl conforms to ISO C99. So check that. AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) --- 63,69 ---- AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). ! AC_CHECK_DECLS([_snprintf], , , [[#include ]]) dnl We can avoid a lot of code by assuming that snprintf's return value dnl conforms to ISO C99. So check that. AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) diff -cNr octave-3.4.2/m4/vsnprintf.m4 octave-3.4.3/m4/vsnprintf.m4 *** octave-3.4.2/m4/vsnprintf.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/vsnprintf.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,9 **** ! # vsnprintf.m4 serial 5 dnl Copyright (C) 2002-2004, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_VSNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) --- 1,13 ---- ! # vsnprintf.m4 serial 6 dnl Copyright (C) 2002-2004, 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. + dnl Libintl 0.17 will replace vsnprintf only if it does not support %1$s, + dnl but defers to any gnulib vsnprintf replacements. Therefore, gnulib + dnl must guarantee that the decision for replacing vsnprintf is a superset + dnl of the reasons checked by libintl. AC_DEFUN([gl_FUNC_VSNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) *************** *** 16,22 **** gl_SNPRINTF_RETVAL_C99 case "$gl_cv_func_snprintf_retval_c99" in *yes) ! gl_cv_func_vsnprintf_usable=yes ;; esac ;; --- 20,31 ---- gl_SNPRINTF_RETVAL_C99 case "$gl_cv_func_snprintf_retval_c99" in *yes) ! gl_PRINTF_POSITIONS ! case "$gl_cv_func_printf_positions" in ! *yes) ! gl_cv_func_vsnprintf_usable=yes ! ;; ! esac ;; esac ;; diff -cNr octave-3.4.2/m4/warn-on-use.m4 octave-3.4.3/m4/warn-on-use.m4 *** octave-3.4.2/m4/warn-on-use.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/warn-on-use.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # warn-on-use.m4 serial 2 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # warn-on-use.m4 serial 4 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 27,32 **** --- 27,34 ---- [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), [Define to 1 if ]m4_defn([gl_decl])[ is declared even after undefining macros.])])dnl + dnl FIXME: gl_Symbol must be used unquoted until we can assume + dnl autoconf 2.64 or newer. for gl_func in m4_flatten([$2]); do AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl AC_CACHE_CHECK([whether $gl_func is declared without a macro], *************** *** 35,42 **** [@%:@undef $gl_func (void) $gl_func;])], [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) ! AS_VAR_IF(gl_Symbol, [yes], ! [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) dnl shortcut - if the raw declaration exists, then set a cache dnl variable to allow skipping any later AC_CHECK_DECL efforts eval ac_cv_have_decl_$gl_func=yes]) --- 37,44 ---- [@%:@undef $gl_func (void) $gl_func;])], [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) ! AS_VAR_IF(gl_Symbol, [yes], ! [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) dnl shortcut - if the raw declaration exists, then set a cache dnl variable to allow skipping any later AC_CHECK_DECL efforts eval ac_cv_have_decl_$gl_func=yes]) diff -cNr octave-3.4.2/m4/wctype_h.m4 octave-3.4.3/m4/wctype_h.m4 *** octave-3.4.2/m4/wctype_h.m4 2011-04-19 21:36:02.000000000 -0400 --- octave-3.4.3/m4/wctype_h.m4 2011-08-03 23:54:53.000000000 -0400 *************** *** 1,4 **** ! # wctype_h.m4 serial 14 dnl A placeholder for ISO C99 , for platforms that lack it. --- 1,4 ---- ! # wctype_h.m4 serial 16 dnl A placeholder for ISO C99 , for platforms that lack it. *************** *** 75,81 **** AC_SUBST([REPLACE_ISWCNTRL]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then ! dnl Redefine all of iswcntrl, ..., towupper in . : fi --- 75,118 ---- AC_SUBST([REPLACE_ISWCNTRL]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then ! dnl Redefine all of iswcntrl, ..., iswxdigit in . ! : ! fi ! ! if test $REPLACE_ISWCNTRL = 1; then ! REPLACE_TOWLOWER=1 ! else ! AC_CHECK_FUNCS([towlower]) ! if test $ac_cv_func_towlower = yes; then ! REPLACE_TOWLOWER=0 ! else ! AC_CHECK_DECLS([towlower],,, ! [[/* Tru64 with Desktop Toolkit C has a bug: must be ! included before . ! BSD/OS 4.0.1 has a bug: , and ! must be included before . */ ! #include ! #include ! #include ! #include ! #if HAVE_WCTYPE_H ! # include ! #endif ! ]]) ! if test $ac_cv_have_decl_towlower = yes; then ! dnl On Minix 3.1.8, the system's declares towlower() and ! dnl towupper() although it does not have the functions. Avoid a ! dnl collision with gnulib's replacement. ! REPLACE_TOWLOWER=1 ! else ! REPLACE_TOWLOWER=0 ! fi ! fi ! fi ! AC_SUBST([REPLACE_TOWLOWER]) ! ! if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then ! dnl Redefine towlower, towupper in . : fi diff -cNr octave-3.4.2/Makefile.in octave-3.4.3/Makefile.in *** octave-3.4.2/Makefile.in 2011-06-24 10:38:43.000000000 -0400 --- octave-3.4.3/Makefile.in 2011-10-10 10:24:16.000000000 -0400 *************** *** 73,95 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 73,97 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 99,147 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 101,156 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 380,391 **** --- 389,403 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 397,404 **** --- 409,421 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 417,422 **** --- 434,440 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 506,511 **** --- 524,531 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 513,527 **** --- 533,551 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 531,536 **** --- 555,561 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 664,669 **** --- 689,695 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 675,680 **** --- 701,707 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 705,710 **** --- 732,738 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 718,723 **** --- 746,752 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 728,735 **** --- 757,768 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 777,799 **** --- 810,841 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 811,818 **** --- 853,862 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 922,927 **** --- 966,972 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 950,961 **** --- 995,1008 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 972,983 **** --- 1019,1032 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1045,1050 **** --- 1094,1100 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1110,1117 **** --- 1160,1170 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1149,1154 **** --- 1202,1208 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/NEWS octave-3.4.3/NEWS *** octave-3.4.2/NEWS 2011-06-21 12:56:10.000000000 -0400 --- octave-3.4.3/NEWS 2011-10-10 10:05:39.000000000 -0400 *************** *** 1,7 **** Summary of important user-visible changes for version 3.4.2: ----------------------------------------------------------- ! ** Octave 3.2.4 fixes some minor installation problems that affected version 3.4.1. Summary of important user-visible changes for version 3.4.1: --- 1,12 ---- + Summary of important user-visible changes for version 3.4.3: + ----------------------------------------------------------- + + ** Octave 3.4.3 is a bug fixing release. + Summary of important user-visible changes for version 3.4.2: ----------------------------------------------------------- ! ** Octave 3.4.2 fixes some minor installation problems that affected version 3.4.1. Summary of important user-visible changes for version 3.4.1: diff -cNr octave-3.4.2/scripts/DOCSTRINGS octave-3.4.3/scripts/DOCSTRINGS *** octave-3.4.2/scripts/DOCSTRINGS 2011-06-21 12:33:49.000000000 -0400 --- octave-3.4.3/scripts/DOCSTRINGS 2011-09-29 14:13:27.000000000 -0400 *************** *** 963,1012 **** @c accumarray scripts/general/accumarray.m -*- texinfo -*- @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! @deftypefnx {Function File} {} accumarray (@var{csubs}, @var{vals}, @dots{}) Create an array by accumulating the elements of a vector into the positions defined by their subscripts. The subscripts are defined by ! the rows of the matrix @var{subs} and the values by @var{vals}. Each row ! of @var{subs} corresponds to one of the values in @var{vals}. ! The size of the matrix will be determined by the subscripts themselves. ! However, if @var{sz} is defined it determines the matrix size. The length ! of @var{sz} must correspond to the number of columns in @var{subs}. ! ! The default action of @code{accumarray} is to sum the elements with the ! same subscripts. This behavior can be modified by defining the @var{func} ! function. This should be a function or function handle that accepts a ! column vector and returns a scalar. The result of the function should not ! depend on the order of the subscripts. ! The elements of the returned array that have no subscripts associated with ! them are set to zero. Defining @var{fillval} to some other value allows ! these values to be defined. ! By default @code{accumarray} returns a full matrix. If @var{issparse} is ! logically true, then a sparse matrix is returned instead. ! An example of the use of @code{accumarray} is: @example @group ! accumarray ([1,1,1;2,1,2;2,3,2;2,1,2;2,3,2], 101:105) @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ans(:,:,2) = [0, 0, 0; 206, 0, 208] @end group @end example ! The complexity in the non-sparse case is generally O(M+N), where N is the ! number of ! subscripts and M is the maximum subscript (linearized in multi-dimensional ! case). ! If @var{func} is one of @code{@@sum} (default), @code{@@max}, @code{@@min} ! or @code{@@(x) @{x@}}, an optimized code path is used. ! Note that for general reduction function the interpreter overhead can play a ! major part and it may be more efficient to do multiple accumarray calls and ! compute the results in a vectorized manner. ! @seealso{accumdim} @end deftypefn accumdim @c accumdim scripts/general/accumdim.m --- 963,1040 ---- @c accumarray scripts/general/accumarray.m -*- texinfo -*- @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! @deftypefnx {Function File} {} accumarray (@var{subs}, @var{vals}, @dots{}) Create an array by accumulating the elements of a vector into the positions defined by their subscripts. The subscripts are defined by ! the rows of the matrix @var{subs} and the values by @var{vals}. Each ! row of @var{subs} corresponds to one of the values in @var{vals}. If ! @var{vals} is a scalar, it will be used for each of the row of ! @var{subs}. ! ! The size of the matrix will be determined by the subscripts ! themselves. However, if @var{sz} is defined it determines the matrix ! size. The length of @var{sz} must correspond to the number of columns ! in @var{subs}. ! ! The default action of @code{accumarray} is to sum the elements with ! the same subscripts. This behavior can be modified by defining the ! @var{func} function. This should be a function or function handle ! that accepts a column vector and returns a scalar. The result of the ! function should not depend on the order of the subscripts. ! ! The elements of the returned array that have no subscripts associated ! with them are set to zero. Defining @var{fillval} to some other ! value allows these values to be defined. ! By default @code{accumarray} returns a full matrix. If ! @var{issparse} is logically true, then a sparse matrix is returned ! instead. ! The following @code{accumarray} example constructs a frequency table ! that in the first column counts how many occurrences each number in ! the second column has, taken from the vector @var{x}. Note the usage ! of @code{unique} for assigning to all repeated elements of @var{x} ! the same index (@pxref{doc-unique}). ! @example ! @group ! x = [91, 92, 90, 92, 90, 89, 91, 89, 90, 100, 100, 100]; ! [u, ~, j] = unique (x); ! [accumarray(j', 1), u'] ! @result{} 2 89 ! 3 90 ! 2 91 ! 2 92 ! 3 100 ! @end group ! @end example ! Another example, where the result is a multidimensional 3D array and ! the default value (zero) appears in the output: @example @group ! accumarray ([1, 1, 1; ! 2, 1, 2; ! 2, 3, 2; ! 2, 1, 2; ! 2, 3, 2], 101:105) @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ans(:,:,2) = [0, 0, 0; 206, 0, 208] @end group @end example ! The complexity in the non-sparse case is generally O(M+N), where N is ! the number of subscripts and M is the maximum subscript (linearized ! in multi-dimensional case). If @var{func} is one of @code{@@sum} ! (default), @code{@@max}, @code{@@min} or @code{@@(x) @{x@}}, an ! optimized code path is used. Note that for general reduction function ! the interpreter overhead can play a major part and it may be more ! efficient to do multiple accumarray calls and compute the results in ! a vectorized manner. ! ! @seealso{accumdim, unique} @end deftypefn accumdim @c accumdim scripts/general/accumdim.m *************** *** 7409,7415 **** @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tolerance}) Solve the nonlinear program @tex $$ --- 7437,7443 ---- @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tol}) Solve the nonlinear program @tex $$ *************** *** 7449,7462 **** The first argument is the initial guess for the vector @var{x0}. The second argument is a function handle pointing to the objective ! function. The objective function must be of the form ! ! @example ! @var{y} = phi (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{y} is a scalar. The second argument may also be a 2- or 3-element cell array of function handles. The first element should point to the objective --- 7477,7484 ---- The first argument is the initial guess for the vector @var{x0}. The second argument is a function handle pointing to the objective ! function @var{phi}. The objective function must accept one vector ! argument and return a scalar. The second argument may also be a 2- or 3-element cell array of function handles. The first element should point to the objective *************** *** 7467,7506 **** differences. If the Hessian function is not supplied, a BFGS update formula is used to approximate the Hessian. ! When supplied, the gradient function must be of the form ! ! @example ! @var{g} = gradient (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{g} is a vector. ! ! When supplied, the Hessian function must be of the form ! ! @example ! @var{h} = hessian (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{h} is a matrix. ! ! The third and fourth arguments are function handles pointing to ! functions that compute the equality constraints and the inequality ! constraints, respectively. ! ! If the problem does not have equality (or inequality) constraints, ! then use an empty matrix ([]) for @var{cef} (or @var{cif}). ! ! When supplied, the equality and inequality constraint functions must be ! of the form ! ! @example ! @var{r} = f (@var{x}) ! @end example ! ! @noindent ! in which @var{x} is a vector and @var{r} is a vector. The third and fourth arguments may also be 2-element cell arrays of function handles. The first element should point to the constraint --- 7489,7506 ---- differences. If the Hessian function is not supplied, a BFGS update formula is used to approximate the Hessian. ! When supplied, the gradient function @code{@var{phi}@{2@}} must accept ! one vector argument and return a vector. When supplifed, the Hessian ! function @code{@var{phi}@{3@}} must accept one vector argument and ! return a matrix. ! ! The third and fourth arguments @var{g} and @var{h} are function ! handles pointing to functions that compute the equality constraints ! and the inequality constraints, respectively. If the problem does ! not have equality (or inequality) constraints, then use an empty ! matrix ([]) for @var{g} (or @var{h}). When supplied, these equality ! and inequality constraint functions must accept one vector argument ! and return a vector. The third and fourth arguments may also be 2-element cell arrays of function handles. The first element should point to the constraint *************** *** 7524,7542 **** @end example @end ifnottex ! The fifth and sixth arguments contain lower and upper bounds ! on @var{x}. These must be consistent with the equality and inequality ! constraints @var{g} and @var{h}. If the arguments are vectors then ! @var{x}(i) is bound by @var{lb}(i) and @var{ub}(i). A bound can also ! be a scalar in which case all elements of @var{x} will share the same ! bound. If only one bound (lb, ub) is specified then the other will ! default to (-@var{realmax}, +@var{realmax}). ! The seventh argument specifies the maximum number of iterations. ! The default value is 100. ! The eighth argument specifies the tolerance for the stopping criteria. ! The default value is @code{sqrt(eps)}. The value returned in @var{info} may be one of the following: --- 7524,7543 ---- @end example @end ifnottex ! The fifth and sixth arguments, @var{lb} and @var{ub}, contain lower ! and upper bounds on @var{x}. These must be consistent with the ! equality and inequality constraints @var{g} and @var{h}. If the ! arguments are vectors then @var{x}(i) is bound by @var{lb}(i) and ! @var{ub}(i). A bound can also be a scalar in which case all elements ! of @var{x} will share the same bound. If only one bound (lb, ub) is ! specified then the other will default to (-@var{realmax}, ! +@var{realmax}). ! The seventh argument @var{maxiter} specifies the maximum number of ! iterations. The default value is 100. ! The eighth argument @var{tol} specifies the tolerance for the ! stopping criteria. The default value is @code{sqrt(eps)}. The value returned in @var{info} may be one of the following: *************** *** 7550,7556 **** @ifnottex delta @var{x}, @end ifnottex ! is less than @code{tol * norm (x)}. @item 102 The BFGS update failed. --- 7551,7557 ---- @ifnottex delta @var{x}, @end ifnottex ! is less than @code{@var{tol} * norm (x)}. @item 102 The BFGS update failed. *************** *** 12608,12615 **** @c residue scripts/polynomial/residue.m -*- texinfo -*- @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! Compute the partial fraction expansion for the quotient of the ! polynomials, @var{b} and @var{a}. @tex $$ {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} --- 12609,12618 ---- @c residue scripts/polynomial/residue.m -*- texinfo -*- @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! The first calling form computes the partial fraction expansion for the ! quotient of the polynomials, @var{b} and @var{a}. @tex $$ {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} *************** *** 12666,12677 **** @end ifnottex ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! Compute the reconstituted quotient of polynomials, ! @var{b}(s)/@var{a}(s), from the partial fraction expansion; ! represented by the residues, poles, and a direct polynomial specified ! by @var{r}, @var{p} and @var{k}, and the pole multiplicity @var{e}. If the multiplicity, @var{e}, is not explicitly specified the multiplicity is determined by the function @code{mpoles}. --- 12669,12679 ---- @end ifnottex ! The second calling form performs the inverse operation and computes ! the reconstituted quotient of polynomials, @var{b}(s)/@var{a}(s), ! from the partial fraction expansion; represented by the residues, ! poles, and a direct polynomial specified by @var{r}, @var{p} and ! @var{k}, and the pole multiplicity @var{e}. If the multiplicity, @var{e}, is not explicitly specified the multiplicity is determined by the function @code{mpoles}. *************** *** 13289,13301 **** center of the vector or matrix. If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! time samples spaced of @math{Dt} each, then @code{fftshift (fft ! (@var{x}))} corresponds to frequencies @example ! f = ((1:N) - ceil(N/2)) / N / Dt @end example If @var{x} is a matrix, the same holds for rows and columns. If @var{x} is an array, then the same holds along each dimension. --- 13291,13305 ---- center of the vector or matrix. If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! time samples spaced by @math{dt}, then ! @code{fftshift (fft (@var{x}))} corresponds to frequencies @example ! f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ] @end example + where @math{df} = 1 / @math{dt}. + If @var{x} is a matrix, the same holds for rows and columns. If @var{x} is an array, then the same holds along each dimension. *************** *** 18048,18073 **** str2num @c str2num scripts/strings/str2num.m -*- texinfo -*- ! @deftypefn {Function File} {} str2num (@var{s}) Convert the string (or character array) @var{s} to a number (or an array). Examples: @example @group ! str2num("3.141596") ! @result{} 3.141596 ! str2num(["1, 2, 3"; "4, 5, 6"]); ! @result{} ans = ! 1 2 3 ! 4 5 6 @end group @end example @strong{Caution:} As @code{str2num} uses the @code{eval} function to do the conversion, @code{str2num} will execute any code contained ! in the string @var{s}. Use @code{str2double} instead if you want to ! avoid the use of @code{eval}. @seealso{str2double, eval} @end deftypefn strcat --- 18052,18082 ---- str2num @c str2num scripts/strings/str2num.m -*- texinfo -*- ! @deftypefn {Function File} {@var{x} =} str2num (@var{s}) ! @deftypefnx {Function File} {[@var{x}, @var{state}] =} str2num (@var{s}) Convert the string (or character array) @var{s} to a number (or an array). Examples: @example @group ! str2num ("3.141596") ! @result{} 3.141596 ! str2num (["1, 2, 3"; "4, 5, 6"]); ! @result{} ans = ! 1 2 3 ! 4 5 6 @end group @end example + The optional second output, @var{state}, is logically true when the + coversion is successful. If the conversion fails the numeric output, + @var{x}, is empty and @var{state} is false. + @strong{Caution:} As @code{str2num} uses the @code{eval} function to do the conversion, @code{str2num} will execute any code contained ! in the string @var{s}. Use @code{str2double} for a safer and faster ! conversion. @seealso{str2double, eval} @end deftypefn strcat *************** *** 18223,18229 **** @c strtrim scripts/strings/strtrim.m -*- texinfo -*- @deftypefn {Function File} {} strtrim (@var{s}) ! Remove leading and trailing blanks and nulls from @var{s}. If @var{s} is a matrix, @var{strtrim} trims each row to the length of longest string. If @var{s} is a cell array, operate recursively on each element of the cell array. For example: --- 18232,18238 ---- @c strtrim scripts/strings/strtrim.m -*- texinfo -*- @deftypefn {Function File} {} strtrim (@var{s}) ! Remove leading and trailing whitespace and nulls from @var{s}. If @var{s} is a matrix, @var{strtrim} trims each row to the length of longest string. If @var{s} is a cell array, operate recursively on each element of the cell array. For example: diff -cNr octave-3.4.2/scripts/general/accumarray.m octave-3.4.3/scripts/general/accumarray.m *** octave-3.4.2/scripts/general/accumarray.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/general/accumarray.m 2011-09-20 15:34:43.000000000 -0400 *************** *** 19,68 **** ## -*- texinfo -*- ## @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! ## @deftypefnx {Function File} {} accumarray (@var{csubs}, @var{vals}, @dots{}) ## ## Create an array by accumulating the elements of a vector into the ## positions defined by their subscripts. The subscripts are defined by ! ## the rows of the matrix @var{subs} and the values by @var{vals}. Each row ! ## of @var{subs} corresponds to one of the values in @var{vals}. ## ! ## The size of the matrix will be determined by the subscripts themselves. ! ## However, if @var{sz} is defined it determines the matrix size. The length ! ## of @var{sz} must correspond to the number of columns in @var{subs}. ! ## ! ## The default action of @code{accumarray} is to sum the elements with the ! ## same subscripts. This behavior can be modified by defining the @var{func} ! ## function. This should be a function or function handle that accepts a ! ## column vector and returns a scalar. The result of the function should not ! ## depend on the order of the subscripts. ! ## ! ## The elements of the returned array that have no subscripts associated with ! ## them are set to zero. Defining @var{fillval} to some other value allows ! ## these values to be defined. ! ## ! ## By default @code{accumarray} returns a full matrix. If @var{issparse} is ! ## logically true, then a sparse matrix is returned instead. ## ! ## An example of the use of @code{accumarray} is: ## ## @example ## @group ! ## accumarray ([1,1,1;2,1,2;2,3,2;2,1,2;2,3,2], 101:105) ## @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ## ans(:,:,2) = [0, 0, 0; 206, 0, 208] ## @end group ## @end example ## ! ## The complexity in the non-sparse case is generally O(M+N), where N is the ! ## number of ! ## subscripts and M is the maximum subscript (linearized in multi-dimensional ! ## case). ! ## If @var{func} is one of @code{@@sum} (default), @code{@@max}, @code{@@min} ! ## or @code{@@(x) @{x@}}, an optimized code path is used. ! ## Note that for general reduction function the interpreter overhead can play a ! ## major part and it may be more efficient to do multiple accumarray calls and ! ## compute the results in a vectorized manner. ! ## @seealso{accumdim} ## @end deftypefn function A = accumarray (subs, vals, sz = [], func = [], fillval = [], issparse = []) --- 19,96 ---- ## -*- texinfo -*- ## @deftypefn {Function File} {} accumarray (@var{subs}, @var{vals}, @var{sz}, @var{func}, @var{fillval}, @var{issparse}) ! ## @deftypefnx {Function File} {} accumarray (@var{subs}, @var{vals}, @dots{}) ## ## Create an array by accumulating the elements of a vector into the ## positions defined by their subscripts. The subscripts are defined by ! ## the rows of the matrix @var{subs} and the values by @var{vals}. Each ! ## row of @var{subs} corresponds to one of the values in @var{vals}. If ! ## @var{vals} is a scalar, it will be used for each of the row of ! ## @var{subs}. ! ## ! ## The size of the matrix will be determined by the subscripts ! ## themselves. However, if @var{sz} is defined it determines the matrix ! ## size. The length of @var{sz} must correspond to the number of columns ! ## in @var{subs}. ! ## ! ## The default action of @code{accumarray} is to sum the elements with ! ## the same subscripts. This behavior can be modified by defining the ! ## @var{func} function. This should be a function or function handle ! ## that accepts a column vector and returns a scalar. The result of the ! ## function should not depend on the order of the subscripts. ! ## ! ## The elements of the returned array that have no subscripts associated ! ## with them are set to zero. Defining @var{fillval} to some other ! ## value allows these values to be defined. ! ## ! ## By default @code{accumarray} returns a full matrix. If ! ## @var{issparse} is logically true, then a sparse matrix is returned ! ## instead. ! ## ! ## The following @code{accumarray} example constructs a frequency table ! ## that in the first column counts how many occurrences each number in ! ## the second column has, taken from the vector @var{x}. Note the usage ! ## of @code{unique} for assigning to all repeated elements of @var{x} ! ## the same index (@pxref{doc-unique}). ## ! ## @example ! ## @group ! ## x = [91, 92, 90, 92, 90, 89, 91, 89, 90, 100, 100, 100]; ! ## [u, ~, j] = unique (x); ! ## [accumarray(j', 1), u'] ! ## @result{} 2 89 ! ## 3 90 ! ## 2 91 ! ## 2 92 ! ## 3 100 ! ## @end group ! ## @end example ## ! ## Another example, where the result is a multidimensional 3D array and ! ## the default value (zero) appears in the output: ## ## @example ## @group ! ## accumarray ([1, 1, 1; ! ## 2, 1, 2; ! ## 2, 3, 2; ! ## 2, 1, 2; ! ## 2, 3, 2], 101:105) ## @result{} ans(:,:,1) = [101, 0, 0; 0, 0, 0] ## ans(:,:,2) = [0, 0, 0; 206, 0, 208] ## @end group ## @end example ## ! ## The complexity in the non-sparse case is generally O(M+N), where N is ! ## the number of subscripts and M is the maximum subscript (linearized ! ## in multi-dimensional case). If @var{func} is one of @code{@@sum} ! ## (default), @code{@@max}, @code{@@min} or @code{@@(x) @{x@}}, an ! ## optimized code path is used. Note that for general reduction function ! ## the interpreter overhead can play a major part and it may be more ! ## efficient to do multiple accumarray calls and compute the results in ! ## a vectorized manner. ! ## ! ## @seealso{accumdim, unique} ## @end deftypefn function A = accumarray (subs, vals, sz = [], func = [], fillval = [], issparse = []) diff -cNr octave-3.4.2/scripts/general/interp2.m octave-3.4.3/scripts/general/interp2.m *** octave-3.4.2/scripts/general/interp2.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/general/interp2.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 101,109 **** --- 101,111 ---- switch (nargin) case 1 Z = varargin{1}; + n = 1; case 2 if (ischar (varargin{2})) [Z, method] = deal (varargin{:}); + n = 1; else [Z, n] = deal (varargin{:}); endif *************** *** 159,164 **** --- 161,167 ---- error ("interp2: X, Y must be numeric matrices"); endif if (! isempty (n)) + ## Calculate the interleaved input vectors. p = 2^n; XI = (p:p*zc)/p; YI = (p:p*zr)'/p; *************** *** 337,353 **** endif ## Check dimensions of XI and YI ! if (isvector (XI) && isvector (YI)) XI = XI(:).'; YI = YI(:); elseif (! size_equal (XI, YI)) error ("interp2: XI and YI must be matrices of equal size"); endif - ## FIXME bicubic/__splinen__ don't handle arbitrary XI, YI. if (strcmp (method, "cubic")) ! ## Please remove the dummy zero when bicubic is fixed. ! if (0 && isgriddata (XI) && isgriddata (YI')) ZI = bicubic (X, Y, Z, XI (1, :), YI (:, 1), extrapval); elseif (isgriddata (X) && isgriddata (Y')) ## Allocate output --- 340,355 ---- endif ## Check dimensions of XI and YI ! if (isvector (XI) && isvector (YI) && ! size_equal (XI, YI)) XI = XI(:).'; YI = YI(:); + [XI, YI] = meshgrid (XI, YI); elseif (! size_equal (XI, YI)) error ("interp2: XI and YI must be matrices of equal size"); endif if (strcmp (method, "cubic")) ! if (isgriddata (XI) && isgriddata (YI')) ZI = bicubic (X, Y, Z, XI (1, :), YI (:, 1), extrapval); elseif (isgriddata (X) && isgriddata (Y')) ## Allocate output *************** *** 589,591 **** --- 591,610 ---- %! X = meshgrid (1:4); %! assert (interp2 (X, 2.5, 2.5, 'nearest'), 3); + %!shared z, zout, tol + %! z = [1 3 5; 3 5 7; 5 7 9]; + %! zout = [1 2 3 4 5; 2 3 4 5 6; 3 4 5 6 7; 4 5 6 7 8; 5 6 7 8 9]; + %! tol = 2 * eps; + %!assert (interp2 (z), zout, tol); + %!assert (interp2 (z, "linear"), zout, tol); + %!assert (interp2 (z, "pchip"), zout, tol); + %!assert (interp2 (z, "cubic"), zout, 10 * tol); + %!assert (interp2 (z, "spline"), zout, tol); + %!assert (interp2 (z, [2 3 1], [2 2 2]', "linear"), repmat ([5, 7, 3], [3, 1]), tol) + %!assert (interp2 (z, [2 3 1], [2 2 2]', "pchip"), repmat ([5, 7, 3], [3, 1]), tol) + %!assert (interp2 (z, [2 3 1], [2 2 2]', "cubic"), repmat ([5, 7, 3], [3, 1]), 10 * tol) + %!assert (interp2 (z, [2 3 1], [2 2 2]', "spline"), repmat ([5, 7, 3], [3, 1]), tol) + %!assert (interp2 (z, [2 3 1], [2 2 2], "linear"), [5 7 3], tol); + %!assert (interp2 (z, [2 3 1], [2 2 2], "pchip"), [5 7 3], tol); + %!assert (interp2 (z, [2 3 1], [2 2 2], "cubic"), [5 7 3], 10 * tol); + %!assert (interp2 (z, [2 3 1], [2 2 2], "spline"), [5 7 3], tol); diff -cNr octave-3.4.2/scripts/general/interp3.m octave-3.4.3/scripts/general/interp3.m *** octave-3.4.2/scripts/general/interp3.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/general/interp3.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 69,82 **** extrapval = NA; nargs = nargin; ! if (nargin < 1) print_usage (); endif if (ischar (varargin{end})) method = varargin{end}; nargs = nargs - 1; ! elseif (ischar (varargin{end-1})) if (! isnumeric (varargin{end}) || ! isscalar (varargin{end})) error ("interp3: extrapal is expected to be a numeric scalar"); endif --- 69,82 ---- extrapval = NA; nargs = nargin; ! if (nargin < 1 || ! isnumeric (varargin{1})) print_usage (); endif if (ischar (varargin{end})) method = varargin{end}; nargs = nargs - 1; ! elseif (nargs > 1 && ischar (varargin{end - 1})) if (! isnumeric (varargin{end}) || ! isscalar (varargin{end})) error ("interp3: extrapal is expected to be a numeric scalar"); endif *************** *** 91,97 **** if (ndims (v) != 3) error ("interp3: expect 3-dimensional array of values"); endif ! x = varargin (2:4); if (any (! cellfun (@isvector, x))) for i = 2 : 3 if (! size_equal (x{1}, x{i})) --- 91,97 ---- if (ndims (v) != 3) error ("interp3: expect 3-dimensional array of values"); endif ! x = varargin (2:end); if (any (! cellfun (@isvector, x))) for i = 2 : 3 if (! size_equal (x{1}, x{i})) *************** *** 146,148 **** --- 146,166 ---- %! [xxi, yyi, zzi] = ndgrid (xi, yi, zi); %! vi2 = interpn(x, y, z, v, xxi, yyi, zzi); %! assert (vi, vi2); + + %!shared z, zout, tol + %! z = zeros (3, 3, 3); + %! zout = zeros (5, 5, 5); + %! z(:,:,1) = [1 3 5; 3 5 7; 5 7 9]; + %! z(:,:,2) = z(:,:,1) + 2; + %! z(:,:,3) = z(:,:,2) + 2; + %! for n = 1:5 + %! zout(:,:,n) = [1 2 3 4 5; + %! 2 3 4 5 6; + %! 3 4 5 6 7; + %! 4 5 6 7 8; + %! 5 6 7 8 9] + (n-1); + %! end + %! tol = 10 * eps; + %!assert (interp3 (z), zout, tol) + %!assert (interp3 (z, "linear"), zout, tol) + %!assert (interp3 (z, "spline"), zout, tol) diff -cNr octave-3.4.2/scripts/general/interpn.m octave-3.4.3/scripts/general/interpn.m *** octave-3.4.2/scripts/general/interpn.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/general/interpn.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 70,83 **** extrapval = NA; nargs = nargin; ! if (nargin < 1) print_usage (); endif if (ischar (varargin{end})) method = varargin{end}; nargs = nargs - 1; ! elseif (ischar (varargin{end - 1})) if (! isnumeric (varargin{end}) || ! isscalar (varargin{end})) error ("interpn: extrapal is expected to be a numeric scalar"); endif --- 70,83 ---- extrapval = NA; nargs = nargin; ! if (nargin < 1 || ! isnumeric (varargin{1})) print_usage (); endif if (ischar (varargin{end})) method = varargin{end}; nargs = nargs - 1; ! elseif (nargs > 1 && ischar (varargin{end - 1})) if (! isnumeric (varargin{end}) || ! isscalar (varargin{end})) error ("interpn: extrapal is expected to be a numeric scalar"); endif *************** *** 90,98 **** v = varargin{1}; m = 1; if (nargs == 2) ! m = varargin{2}; ! if (! isnumeric (m) || ! isscalar (m) || floor (m) != m) ! error ("interpn: M is expected to be a integer scalar"); endif endif sz = size (v); --- 90,101 ---- v = varargin{1}; m = 1; if (nargs == 2) ! if (ischar (varargin{2})) ! method = varargin{2}; ! elseif (isnumeric (m) && isscalar (m) && fix (m) == m) ! m = varargin{2}; ! else ! print_usage (); endif endif sz = size (v); *************** *** 103,108 **** --- 106,113 ---- x{i} = 1 : sz(i); y{i} = 1 : (1 / (2 ^ m)) : sz(i); endfor + y{1} = y{1}.'; + [y{:}] = ndgrid (y{:}); elseif (! isvector (varargin{1}) && nargs == (ndims (varargin{1}) + 1)) v = varargin{1}; sz = size (v); *************** *** 290,292 **** --- 295,314 ---- %! X = meshgrid (1:4); %! assert (interpn (X, 2.5, 2.5, 'nearest'), 3); + %!shared z, zout, tol + %! z = zeros (3, 3, 3); + %! zout = zeros (5, 5, 5); + %! z(:,:,1) = [1 3 5; 3 5 7; 5 7 9]; + %! z(:,:,2) = z(:,:,1) + 2; + %! z(:,:,3) = z(:,:,2) + 2; + %! for n = 1:5 + %! zout(:,:,n) = [1 2 3 4 5; + %! 2 3 4 5 6; + %! 3 4 5 6 7; + %! 4 5 6 7 8; + %! 5 6 7 8 9] + (n-1); + %! end + %! tol = 10 * eps; + %!assert (interpn (z), zout, tol) + %!assert (interpn (z, "linear"), zout, tol) + %!assert (interpn (z, "spline"), zout, tol) diff -cNr octave-3.4.2/scripts/image/image.m octave-3.4.3/scripts/image/image.m *** octave-3.4.2/scripts/image/image.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/image/image.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 164,169 **** --- 164,170 ---- endfunction %!demo + %! clf %! img = 1 ./ hilb (11); %! x = -5:5; %! y = x; *************** *** 186,189 **** --- 187,226 ---- %! set (h, "cdatamapping", "scaled") %! title ('image (-x, -y, img)') + %!demo + %! clf + %! g = 0.1:0.1:10; + %! h = g'*g; + %! imagesc (g, g, sin (h)); + %! hold on + %! imagesc (g, g+12, cos (h/2)); + %! axis ([0 10 0 22]) + %! hold off + %! title ("two consecutive images") + + %!demo + %! clf + %! g = 0.1:0.1:10; + %! h = g'*g; + %! imagesc (g, g, sin (h)); + %! hold all + %! plot (g, 11.0 * ones (size (g))) + %! imagesc (g, g+12, cos (h/2)); + %! axis ([0 10 0 22]) + %! hold off + %! title ("image, line, image") + + %!demo + %! clf + %! g = 0.1:0.1:10; + %! h = g'*g; + %! plot (g, 10.5 * ones (size (g))) + %! hold all + %! imagesc (g, g, sin (h)); + %! plot (g, 11.0 * ones (size (g))) + %! imagesc (g, g+12, cos (h/2)); + %! plot (g, 11.5 * ones (size (g))) + %! axis ([0 10 0 22]) + %! hold off + %! title ("line, image, line, image, line") diff -cNr octave-3.4.2/scripts/linear-algebra/gmres.m octave-3.4.3/scripts/linear-algebra/gmres.m *** octave-3.4.2/scripts/linear-algebra/gmres.m 2011-06-21 12:17:20.000000000 -0400 --- octave-3.4.3/scripts/linear-algebra/gmres.m 2011-09-20 15:34:57.000000000 -0400 *************** *** 76,82 **** if (nargin < 2 || nargin > 8) print_usage (); ! end if (ischar (A)) Ax = str2func (A); --- 76,82 ---- if (nargin < 2 || nargin > 8) print_usage (); ! endif if (ischar (A)) Ax = str2func (A); diff -cNr octave-3.4.2/scripts/linear-algebra/logm.m octave-3.4.3/scripts/linear-algebra/logm.m *** octave-3.4.2/scripts/linear-algebra/logm.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/linear-algebra/logm.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 63,73 **** [u, s] = rsf2csf (u, s); endif ! if (any (diag (s) < 0)) warning ("Octave:logm:non-principal", "logm: principal matrix logarithm is not defined for matrices with negative eigenvalues; computing non-principal logarithm"); endif k = 0; ## Algorithm 11.9 in "Function of matrices", by N. Higham theta = [0, 0, 1.61e-2, 5.38e-2, 1.13e-1, 1.86e-1, 2.6429608311114350e-1]; --- 63,76 ---- [u, s] = rsf2csf (u, s); endif ! eigv = diag (s); ! if (any (eigv < 0)) warning ("Octave:logm:non-principal", "logm: principal matrix logarithm is not defined for matrices with negative eigenvalues; computing non-principal logarithm"); endif + real_eig = all (eigv >= 0); + k = 0; ## Algorithm 11.9 in "Function of matrices", by N. Higham theta = [0, 0, 1.61e-2, 5.38e-2, 1.13e-1, 1.86e-1, 2.6429608311114350e-1]; *************** *** 100,105 **** --- 103,113 ---- s = 2^k * u * s * u'; + ## Remove small complex values (O(eps)) which may have entered calculation + if (real_eig) + s = real (s); + endif + if (nargout == 2) iters = k; endif diff -cNr octave-3.4.2/scripts/Makefile.in octave-3.4.3/scripts/Makefile.in *** octave-3.4.2/scripts/Makefile.in 2011-06-24 10:38:41.000000000 -0400 --- octave-3.4.3/scripts/Makefile.in 2011-10-10 10:24:14.000000000 -0400 *************** *** 85,107 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 85,109 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 111,159 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 113,168 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 356,367 **** --- 365,379 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 373,380 **** --- 385,397 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 393,398 **** --- 410,416 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 482,487 **** --- 500,507 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 489,503 **** --- 509,527 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 507,512 **** --- 531,537 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 640,645 **** --- 665,671 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 651,656 **** --- 677,683 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 681,686 **** --- 708,714 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 694,699 **** --- 722,728 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 704,711 **** --- 733,744 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 753,775 **** --- 786,817 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 787,794 **** --- 829,838 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 898,903 **** --- 942,948 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 926,937 **** --- 971,984 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 948,959 **** --- 995,1008 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 1021,1026 **** --- 1070,1076 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1086,1093 **** --- 1136,1146 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1125,1130 **** --- 1178,1184 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/scripts/miscellaneous/getappdata.m octave-3.4.3/scripts/miscellaneous/getappdata.m *** octave-3.4.2/scripts/miscellaneous/getappdata.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/miscellaneous/getappdata.m 2011-09-20 15:34:57.000000000 -0400 *************** *** 40,46 **** appdata.(name) = []; end_try_catch val(nh) = {appdata.(name)}; ! end if (nh == 1) val = val{1}; endif --- 40,46 ---- appdata.(name) = []; end_try_catch val(nh) = {appdata.(name)}; ! endfor if (nh == 1) val = val{1}; endif diff -cNr octave-3.4.2/scripts/miscellaneous/private/__xzip__.m octave-3.4.3/scripts/miscellaneous/private/__xzip__.m *** octave-3.4.2/scripts/miscellaneous/private/__xzip__.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/miscellaneous/private/__xzip__.m 2011-09-01 09:39:18.000000000 -0400 *************** *** 80,93 **** commandname, status); endif ! if (nargout > 0) ! if (nargin == 5) entries = cellfun( @(x) fullfile (outdir, sprintf ("%s.%s", x, extension)), f, "uniformoutput", false); ! else ! movefile (cellfun(@(x) sprintf ("%s.%s", x, extension), f, ! "uniformoutput", false), cwd); ## FIXME this does not work when you try to compress directories entries = cellfun(@(x) sprintf ("%s.%s", x, extension), files, "uniformoutput", false); --- 80,95 ---- commandname, status); endif ! if (nargin == 5) ! if (nargout > 0) entries = cellfun( @(x) fullfile (outdir, sprintf ("%s.%s", x, extension)), f, "uniformoutput", false); ! endif ! else ! movefile (cellfun(@(x) sprintf ("%s.%s", x, extension), f, ! "uniformoutput", false), cwd); ! if (nargout > 0) ## FIXME this does not work when you try to compress directories entries = cellfun(@(x) sprintf ("%s.%s", x, extension), files, "uniformoutput", false); diff -cNr octave-3.4.2/scripts/miscellaneous/setappdata.m octave-3.4.3/scripts/miscellaneous/setappdata.m *** octave-3.4.2/scripts/miscellaneous/setappdata.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/miscellaneous/setappdata.m 2011-09-20 15:34:57.000000000 -0400 *************** *** 33,39 **** for nh = 1:numel(h) if (! isfield (get (h(nh)), "__appdata__")) addproperty ("__appdata__", h(nh), "any", struct ()); ! end appdata = get (h(nh), "__appdata__"); for narg = 1:2:numel(varargin) if (iscellstr (varargin{narg})) --- 33,39 ---- for nh = 1:numel(h) if (! isfield (get (h(nh)), "__appdata__")) addproperty ("__appdata__", h(nh), "any", struct ()); ! endif appdata = get (h(nh), "__appdata__"); for narg = 1:2:numel(varargin) if (iscellstr (varargin{narg})) diff -cNr octave-3.4.2/scripts/miscellaneous/tar.m octave-3.4.3/scripts/miscellaneous/tar.m *** octave-3.4.2/scripts/miscellaneous/tar.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/miscellaneous/tar.m 2011-09-01 09:38:52.000000000 -0400 *************** *** 42,48 **** files = cellstr (files); endif ! if (ischar (tarfile) && iscellstr (files) && ischar (root)) error ("tar: all arguments must be character strings"); endif --- 42,48 ---- files = cellstr (files); endif ! if (! (ischar (tarfile) && iscellstr (files) && ischar (root))) error ("tar: all arguments must be character strings"); endif diff -cNr octave-3.4.2/scripts/optimization/sqp.m octave-3.4.3/scripts/optimization/sqp.m *** octave-3.4.2/scripts/optimization/sqp.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/optimization/sqp.m 2011-09-29 13:21:18.000000000 -0400 *************** *** 22,28 **** ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tolerance}) ## Solve the nonlinear program ## @tex ## $$ --- 22,28 ---- ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}) ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}) ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}) ! ## @deftypefnx {Function File} {[@dots{}] =} sqp (@var{x0}, @var{phi}, @var{g}, @var{h}, @var{lb}, @var{ub}, @var{maxiter}, @var{tol}) ## Solve the nonlinear program ## @tex ## $$ *************** *** 62,75 **** ## The first argument is the initial guess for the vector @var{x0}. ## ## The second argument is a function handle pointing to the objective ! ## function. The objective function must be of the form ! ## ! ## @example ! ## @var{y} = phi (@var{x}) ! ## @end example ! ## ! ## @noindent ! ## in which @var{x} is a vector and @var{y} is a scalar. ## ## The second argument may also be a 2- or 3-element cell array of ## function handles. The first element should point to the objective --- 62,69 ---- ## The first argument is the initial guess for the vector @var{x0}. ## ## The second argument is a function handle pointing to the objective ! ## function @var{phi}. The objective function must accept one vector ! ## argument and return a scalar. ## ## The second argument may also be a 2- or 3-element cell array of ## function handles. The first element should point to the objective *************** *** 80,119 **** ## differences. If the Hessian function is not supplied, a BFGS update ## formula is used to approximate the Hessian. ## ! ## When supplied, the gradient function must be of the form ! ## ! ## @example ! ## @var{g} = gradient (@var{x}) ! ## @end example ! ## ! ## @noindent ! ## in which @var{x} is a vector and @var{g} is a vector. ! ## ! ## When supplied, the Hessian function must be of the form ! ## ! ## @example ! ## @var{h} = hessian (@var{x}) ! ## @end example ! ## ! ## @noindent ! ## in which @var{x} is a vector and @var{h} is a matrix. ! ## ! ## The third and fourth arguments are function handles pointing to ! ## functions that compute the equality constraints and the inequality ! ## constraints, respectively. ! ## ! ## If the problem does not have equality (or inequality) constraints, ! ## then use an empty matrix ([]) for @var{cef} (or @var{cif}). ! ## ! ## When supplied, the equality and inequality constraint functions must be ! ## of the form ! ## ! ## @example ! ## @var{r} = f (@var{x}) ! ## @end example ! ## ! ## @noindent ! ## in which @var{x} is a vector and @var{r} is a vector. ## ## The third and fourth arguments may also be 2-element cell arrays of ## function handles. The first element should point to the constraint --- 74,91 ---- ## differences. If the Hessian function is not supplied, a BFGS update ## formula is used to approximate the Hessian. ## ! ## When supplied, the gradient function @code{@var{phi}@{2@}} must accept ! ## one vector argument and return a vector. When supplifed, the Hessian ! ## function @code{@var{phi}@{3@}} must accept one vector argument and ! ## return a matrix. ! ## ! ## The third and fourth arguments @var{g} and @var{h} are function ! ## handles pointing to functions that compute the equality constraints ! ## and the inequality constraints, respectively. If the problem does ! ## not have equality (or inequality) constraints, then use an empty ! ## matrix ([]) for @var{g} (or @var{h}). When supplied, these equality ! ## and inequality constraint functions must accept one vector argument ! ## and return a vector. ## ## The third and fourth arguments may also be 2-element cell arrays of ## function handles. The first element should point to the constraint *************** *** 137,155 **** ## @end example ## ## @end ifnottex ! ## The fifth and sixth arguments contain lower and upper bounds ! ## on @var{x}. These must be consistent with the equality and inequality ! ## constraints @var{g} and @var{h}. If the arguments are vectors then ! ## @var{x}(i) is bound by @var{lb}(i) and @var{ub}(i). A bound can also ! ## be a scalar in which case all elements of @var{x} will share the same ! ## bound. If only one bound (lb, ub) is specified then the other will ! ## default to (-@var{realmax}, +@var{realmax}). ## ! ## The seventh argument specifies the maximum number of iterations. ! ## The default value is 100. ## ! ## The eighth argument specifies the tolerance for the stopping criteria. ! ## The default value is @code{sqrt(eps)}. ## ## The value returned in @var{info} may be one of the following: ## --- 109,128 ---- ## @end example ## ## @end ifnottex ! ## The fifth and sixth arguments, @var{lb} and @var{ub}, contain lower ! ## and upper bounds on @var{x}. These must be consistent with the ! ## equality and inequality constraints @var{g} and @var{h}. If the ! ## arguments are vectors then @var{x}(i) is bound by @var{lb}(i) and ! ## @var{ub}(i). A bound can also be a scalar in which case all elements ! ## of @var{x} will share the same bound. If only one bound (lb, ub) is ! ## specified then the other will default to (-@var{realmax}, ! ## +@var{realmax}). ## ! ## The seventh argument @var{maxiter} specifies the maximum number of ! ## iterations. The default value is 100. ## ! ## The eighth argument @var{tol} specifies the tolerance for the ! ## stopping criteria. The default value is @code{sqrt(eps)}. ## ## The value returned in @var{info} may be one of the following: ## *************** *** 163,169 **** ## @ifnottex ## delta @var{x}, ## @end ifnottex ! ## is less than @code{tol * norm (x)}. ## ## @item 102 ## The BFGS update failed. --- 136,142 ---- ## @ifnottex ## delta @var{x}, ## @end ifnottex ! ## is less than @code{@var{tol} * norm (x)}. ## ## @item 102 ## The BFGS update failed. diff -cNr octave-3.4.2/scripts/plot/axis.m octave-3.4.3/scripts/plot/axis.m *** octave-3.4.2/scripts/plot/axis.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/plot/axis.m 2011-09-20 15:34:57.000000000 -0400 *************** *** 277,284 **** endif for i = 1:2:len ! if (ax(i) == ax(i+1)) ! error ("axis: limits(%d) cannot equal limits(%d)", i, i+1); endif endfor --- 277,284 ---- endif for i = 1:2:len ! if (ax(i) >= ax(i+1)) ! error ("axis: limits(%d) must be less than limits(%d)", i, i+1); endif endfor *************** *** 320,327 **** data = get (kids, strcat (ax, "data")); scale = get (ca, strcat (ax, "scale")); if (strcmp (scale, "log")) ! data(data<=0) = NaN; ! end if (iscell (data)) data = data (find (! cellfun (@isempty, data))); if (! isempty (data)) --- 320,333 ---- data = get (kids, strcat (ax, "data")); scale = get (ca, strcat (ax, "scale")); if (strcmp (scale, "log")) ! if (iscell (data)) ! for i = 1:length(data) ! data{i}(data{i}<=0) = NaN; ! endfor ! else ! data(data<=0) = NaN; ! endif ! endif if (iscell (data)) data = data (find (! cellfun (@isempty, data))); if (! isempty (data)) *************** *** 350,355 **** --- 356,362 ---- endfunction %!demo + %! clf %! t=0:0.01:2*pi; x=sin(t); %! %! subplot(221); *************** *** 372,377 **** --- 379,385 ---- %! axis("normal"); %!demo + %! clf %! t=0:0.01:2*pi; x=sin(t); %! %! subplot(121); *************** *** 385,390 **** --- 393,399 ---- %! axis("xy"); %!demo + %! clf %! t=0:0.01:2*pi; x=sin(t); %! %! subplot(331); *************** *** 433,438 **** --- 442,448 ---- %! axis("on"); %!demo + %! clf %! t=0:0.01:2*pi; x=sin(t); %! %! subplot(321); *************** *** 493,495 **** --- 503,510 ---- %! legend ({"x >= 1", "x <= 1"}, "location", "north") %! title ("ylim = [1, 10]") + %!demo + %! clf + %! loglog (1:20, "-s") + %! axis tight + diff -cNr octave-3.4.2/scripts/plot/contour.m octave-3.4.3/scripts/plot/contour.m *** octave-3.4.2/scripts/plot/contour.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/contour.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 71,81 **** --- 71,92 ---- endfunction %!demo + %! clf () %! [x, y, z] = peaks (); %! contour (x, y, z); %!demo + %! clf () %! [theta, r] = meshgrid (linspace (0, 2*pi, 64), linspace(0,1,64)); %! [X, Y] = pol2cart (theta, r); %! Z = sin(2*theta).*(1-r); %! contour(X, Y, abs(Z), 10) + + %!demo + %! clf () + %! x = linspace (-2, 2); + %! [x, y] = meshgrid (x); + %! z = sqrt (x.^2 + y.^2) ./ (x.^2 + y.^2+1); + %! contourf (x, y, z, [0.4, 0.4]) + %! title ("The hole should be filled with the background color") + diff -cNr octave-3.4.2/scripts/plot/__go_draw_axes__.m octave-3.4.3/scripts/plot/__go_draw_axes__.m *** octave-3.4.2/scripts/plot/__go_draw_axes__.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/plot/__go_draw_axes__.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 1521,1526 **** --- 1521,1533 ---- fprintf (plot_stream, "%s \"-\" %s %s %s \\\n", plot_cmd, usingclause{1}, titlespec{1}, withclause{1}); elseif (is_image_data (1)) + if (numel (is_image_data) > 1 && is_image_data(2)) + ## Remove terminating semicolon + n = max (strfind (withclause{1}, ";")); + if (! isempty(n)) + withclause{1} = withclause{1}(1:n-1); + endif + endif fprintf (plot_stream, "%s \"-\" %s %s %s \\\n", plot_cmd, usingclause{1}, titlespec{1}, withclause{1}); else *************** *** 1542,1550 **** fputs (plot_stream, "unset obj 2; \\\n"); fg_is_set = false; endif endif - fprintf (plot_stream, "%s \"-\" %s %s %s \\\n", plot_cmd, - usingclause{i}, titlespec{i}, withclause{i}); elseif (is_image_data (i-1)) if (bg_is_set) fputs (plot_stream, "unset obj 1; \\\n"); --- 1549,1568 ---- fputs (plot_stream, "unset obj 2; \\\n"); fg_is_set = false; endif + if (numel (is_image_data) > i && is_image_data(i+1)) + ## Remove terminating semicolon + n = max (strfind (withclause{i}, ";")); + if (! isempty(n)) + withclause{i} = withclause{i}(1:n-1); + endif + endif + fprintf (plot_stream, "%s \"-\" %s %s %s \\\n", plot_cmd, + usingclause{i}, titlespec{i}, withclause{i}); + else + ## For consecutive images continue with the same plot command + fprintf (plot_stream, "%s \"-\" %s %s %s \\\n", ",", + usingclause{i}, titlespec{i}, withclause{i}); endif elseif (is_image_data (i-1)) if (bg_is_set) fputs (plot_stream, "unset obj 1; \\\n"); *************** *** 1901,1961 **** do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale); elseif (strcmpi (obj.xaxislocation, "zero")) do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "axis", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "axis", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale); else do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale); endif if (strcmpi (obj.yaxislocation, "right")) do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale); elseif (strcmpi (obj.yaxislocation, "zero")) do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "axis", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "axis", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale); else do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale); endif do_tics_1 (obj.ztickmode, obj.ztick, obj.zminortick, obj.zticklabelmode, obj.zticklabel, obj.zcolor, "z", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.zscale); endfunction function do_tics_1 (ticmode, tics, mtics, labelmode, labels, color, ax, plot_stream, mirror, mono, axispos, tickdir, ticklength, ! fontname, fontspec, interpreter, scale) persistent warned_latex = false; if (strcmpi (interpreter, "tex")) for n = 1 : numel(labels) --- 1919,1985 ---- do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale, ! gnuplot_term); elseif (strcmpi (obj.xaxislocation, "zero")) do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "axis", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "axis", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale, ! gnuplot_term); else do_tics_1 (obj.xtickmode, obj.xtick, obj.xminortick, obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.xscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.xticklabelmode, obj.xticklabel, obj.xcolor, "x2", plot_stream, true, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.xscale, ! gnuplot_term); endif if (strcmpi (obj.yaxislocation, "right")) do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale, ! gnuplot_term); elseif (strcmpi (obj.yaxislocation, "zero")) do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "axis", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "axis", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale, ! gnuplot_term); else do_tics_1 (obj.ytickmode, obj.ytick, obj.yminortick, obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y", plot_stream, ymirror, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.yscale, gnuplot_term); do_tics_1 ("manual", [], "off", obj.yticklabelmode, obj.yticklabel, obj.ycolor, "y2", plot_stream, ymirror, mono, "border", ! "", "", fontname, fontspec, obj.interpreter, obj.yscale, ! gnuplot_term); endif do_tics_1 (obj.ztickmode, obj.ztick, obj.zminortick, obj.zticklabelmode, obj.zticklabel, obj.zcolor, "z", plot_stream, true, mono, "border", obj.tickdir, ticklength, fontname, fontspec, ! obj.interpreter, obj.zscale, gnuplot_term); endfunction function do_tics_1 (ticmode, tics, mtics, labelmode, labels, color, ax, plot_stream, mirror, mono, axispos, tickdir, ticklength, ! fontname, fontspec, interpreter, scale, gnuplot_term) persistent warned_latex = false; if (strcmpi (interpreter, "tex")) for n = 1 : numel(labels) *************** *** 1968,1975 **** endif endif if (strcmp (scale, "log")) - fmt = "10^{%T}"; num_mtics = 10; else fmt = "%g"; num_mtics = 5; --- 1992,2003 ---- endif endif if (strcmp (scale, "log")) num_mtics = 10; + if (any (strcmp (gnuplot_term, {"tikz", "pstex", "pslatex", "epslatex"}))) + fmt = "$10^{%T}$"; + else + fmt = "10^{%T}"; + endif else fmt = "%g"; num_mtics = 5; diff -cNr octave-3.4.2/scripts/plot/plotyy.m octave-3.4.3/scripts/plot/plotyy.m *** octave-3.4.2/scripts/plot/plotyy.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/plot/plotyy.m 2011-09-02 11:10:19.000000000 -0400 *************** *** 70,75 **** --- 70,76 ---- else error ("plotyy: expecting first argument to be axes handle"); endif + oldh = gca (); else f = get (0, "currentfigure"); if (isempty (f)) *************** *** 93,109 **** elseif (isempty (ax)) ax(1) = axes (); ax(2) = axes (); endif if (nargin < 2) varargin = {}; endif endif if (nargin < 4) print_usage (); endif - oldh = gca (); unwind_protect [ax, h1, h2] = __plotyy__ (ax, varargin{:}); unwind_protect_cleanup --- 94,111 ---- elseif (isempty (ax)) ax(1) = axes (); ax(2) = axes (); + ca = ax(2); endif if (nargin < 2) varargin = {}; endif + oldh = ca; endif if (nargin < 4) print_usage (); endif unwind_protect [ax, h1, h2] = __plotyy__ (ax, varargin{:}); unwind_protect_cleanup *************** *** 241,246 **** --- 243,257 ---- %! plotyy (x, 10*sin(2*pi*x), x, cos(2*pi*x)) %! axis square + %!demo + %! clf + %! x = linspace (-1, 1, 201); + %! subplot (1, 1, 1); + %! hax = plotyy (x, sin(pi*x), x, cos(pi*x)); + %! ylabel ("Blue and on the Left") + %! ylabel (hax(2), "Green and on the Right") + %! xlabel ("xlabel") + function deleteplotyy (h, d, ax2, t2) if (ishandle (ax2) && strcmp (get (ax2, "type"), "axes") && (isempty (gcbf()) || strcmp (get (gcbf(), "beingdeleted"),"off")) diff -cNr octave-3.4.2/scripts/plot/__print_parse_opts__.m octave-3.4.3/scripts/plot/__print_parse_opts__.m *** octave-3.4.2/scripts/plot/__print_parse_opts__.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/plot/__print_parse_opts__.m 2011-09-01 09:39:18.000000000 -0400 *************** *** 569,575 **** case "inches" value = value * 72; case "centimeters" ! value = value * 72 / 25.4; case "normalized" error ("print:customnormalized", "print.m: papersize=='' and paperunits='normalized' may not be combined"); --- 569,575 ---- case "inches" value = value * 72; case "centimeters" ! value = value * 72 / 2.54; case "normalized" error ("print:customnormalized", "print.m: papersize=='' and paperunits='normalized' may not be combined"); diff -cNr octave-3.4.2/scripts/plot/private/__axes_limits__.m octave-3.4.3/scripts/plot/private/__axes_limits__.m *** octave-3.4.2/scripts/plot/private/__axes_limits__.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/private/__axes_limits__.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 44,50 **** if (!isnumeric (arg) && any (size(arg(:)) != [2, 1])) error ("%s: argument must be a 2 element vector", fcn); else ! set (h, fcn, arg(:)); endif endif endif --- 44,54 ---- if (!isnumeric (arg) && any (size(arg(:)) != [2, 1])) error ("%s: argument must be a 2 element vector", fcn); else ! if (arg(1) >= arg(2)) ! error ("%s: axis limits must be increasing", fcn) ! else ! set (h, fcn, arg(:)); ! endif endif endif endif diff -cNr octave-3.4.2/scripts/plot/private/__contour__.m octave-3.4.3/scripts/plot/private/__contour__.m *** octave-3.4.2/scripts/plot/private/__contour__.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/plot/private/__contour__.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 319,328 **** else ## Special case unclosed contours endif h = [h; __go_patch__(ca, "xdata", ctmp(1, :)(:), "ydata", ctmp(2, :)(:), "vertices", ctmp.', "faces", 1:(cont_len(idx)-1), "facevertexcdata", cont_lev(idx), ! "facecolor", "flat", "cdata", cont_lev(idx), "edgecolor", lc, "linestyle", ls, "linewidth", lw, "parent", hg)]; endfor --- 319,336 ---- else ## Special case unclosed contours endif + if (isnan(cont_lev(idx))) + fc = get (ca, "color"); + if (strcmp (fc, "none")) + fc = get (ancestor (ca, "figure"), "color"); + endif + else + fc = "flat"; + endif h = [h; __go_patch__(ca, "xdata", ctmp(1, :)(:), "ydata", ctmp(2, :)(:), "vertices", ctmp.', "faces", 1:(cont_len(idx)-1), "facevertexcdata", cont_lev(idx), ! "facecolor", fc, "cdata", cont_lev(idx), "edgecolor", lc, "linestyle", ls, "linewidth", lw, "parent", hg)]; endfor diff -cNr octave-3.4.2/scripts/plot/private/__errplot__.m octave-3.4.3/scripts/plot/private/__errplot__.m *** octave-3.4.2/scripts/plot/private/__errplot__.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/private/__errplot__.m 2011-09-29 13:21:18.000000000 -0400 *************** *** 31,37 **** print_usage (); endif ! [fmt, key] = __pltopt__ ("__errplot__", fstr); [len, nplots] = size (varargin{1}); h = []; --- 31,37 ---- print_usage (); endif ! [fmt, valid] = __pltopt__ ("__errplot__", fstr); [len, nplots] = size (varargin{1}); h = []; *************** *** 74,80 **** switch (numel(varargin)) case 2 ydata = varargin{1}(:,i); ! xdata = 1:numel(ydata); if (strcmp (ifmt, "xerr") || strcmp (ifmt, "box")) xldata = varargin{2}(:,i); xudata = ldata; --- 74,80 ---- switch (numel(varargin)) case 2 ydata = varargin{1}(:,i); ! xdata = 1:numel (ydata); if (strcmp (ifmt, "xerr") || strcmp (ifmt, "box")) xldata = varargin{2}(:,i); xudata = ldata; *************** *** 86,97 **** xldata = []; xudata = []; else ! error ("errorbar: 2 column errorplot is only valid or xerr or yerr"); endif case 3 if (strcmp (ifmt, "boxxy") || strcmp (ifmt, "xyerr")) ydata = varargin{1}(:,i); ! xdata = 1:numel(ydata); xldata = varargin{2}(:,i); xudata = xldata; ldata = varargin{3}(:,i); --- 86,97 ---- xldata = []; xudata = []; else ! error ("errorbar: 2 column errorplot is only valid for xerr or yerr"); endif case 3 if (strcmp (ifmt, "boxxy") || strcmp (ifmt, "xyerr")) ydata = varargin{1}(:,i); ! xdata = 1:numel (ydata); xldata = varargin{2}(:,i); xudata = xldata; ldata = varargin{3}(:,i); *************** *** 146,152 **** error ("errorbar: error plot with 6 columns only valid for boxxy and xyerr"); endif otherwise ! error ("errorbar: error plot requires 2, 3, 4 or 6 arguments"); endswitch addproperty ("xdata", hg, "data", xdata(:)); --- 146,152 ---- error ("errorbar: error plot with 6 columns only valid for boxxy and xyerr"); endif otherwise ! error ("errorbar: error plot requires 2, 3, 4, or 6 arguments"); endswitch addproperty ("xdata", hg, "data", xdata(:)); *************** *** 193,198 **** --- 193,226 ---- endfor + ## Process legend key + if (! isempty (fmt.key)) + hlegend = []; + fkids = get (gcf(), "children"); + for i = 1 : numel (fkids) + if (ishandle (fkids(i)) && strcmp (get (fkids(i), "type"), "axes") + && (strcmp (get (fkids(i), "tag"), "legend"))) + udata = get (fkids(i), "userdata"); + if (! isempty (intersect (udata.handle, gca ()))) + hlegend = fkids (i); + break; + endif + endif + endfor + + if (isempty (hlegend)) + hlgnd = []; + tlgnd = {}; + else + [hlgnd, tlgnd] = __getlegenddata__ (hlegend); + endif + + hlgnd(end+1) = hg; + tlgnd(end+1) = fmt.key; + + legend (gca(), hlgnd, tlgnd); + end + endfunction function [xdata, ydata] = errorbar_data (xdata, ydata, ldata, udata, *************** *** 259,266 **** --- 287,296 ---- else error ("errorbar: valid error bar types are xerr, yerr, boxxy, and xyerr"); endif + xdata = xdata.'(:); ydata = ydata.'(:); + endfunction function update_props (hg, dummy, hl) diff -cNr octave-3.4.2/scripts/plot/private/__getlegenddata__.m octave-3.4.3/scripts/plot/private/__getlegenddata__.m *** octave-3.4.2/scripts/plot/private/__getlegenddata__.m 2011-06-21 12:18:15.000000000 -0400 --- octave-3.4.3/scripts/plot/private/__getlegenddata__.m 2011-09-29 13:21:18.000000000 -0400 *************** *** 26,63 **** text_strings = {}; ca = getfield (get (hlegend, "userdata"), "handle"); kids = []; ! for i = 1 : numel (ca) ! kids = [kids; get(ca (i), "children")]; endfor ! k = numel (kids); ! while (k > 0) ! typ = get (kids(k), "type"); ! while (k > 0 ! && ! (strcmp (typ, "line") || strcmp (typ, "surface") ! || strcmp (typ, "patch") || strcmp (typ, "hggroup"))) ! typ = get (kids(--k), "type"); ! endwhile ! if (k > 0) ! if (strcmp (get (kids(k), "type"), "hggroup")) ! hgkids = get (kids(k), "children"); for j = 1 : length (hgkids) hgobj = get (hgkids (j)); ! if (isfield (hgobj, "displayname") ! && ! isempty (hgobj.displayname)) hplots = [hplots, hgkids(j)]; text_strings = {text_strings{:}, hgobj.displayname}; break; endif endfor else ! if (! isempty (get (kids (k), "displayname"))) ! hplots = [hplots, kids(k)]; ! text_strings = {text_strings{:}, get(kids (k), "displayname")}; endif endif ! if (--k == 0) ! break; ! endif endif ! endwhile endfunction --- 26,58 ---- text_strings = {}; ca = getfield (get (hlegend, "userdata"), "handle"); kids = []; ! for i = 1:numel (ca) ! kids = [kids; get(ca(i), "children")]; endfor ! ! for i = numel (kids):-1:1 ! typ = get (kids(i), "type"); ! if (strcmp (typ, "line") || strcmp (typ, "surface") ! || strcmp (typ, "patch") || strcmp (typ, "hggroup")) ! ! if (strcmp (typ, "hggroup")) ! hgkids = get (kids(i), "children"); for j = 1 : length (hgkids) hgobj = get (hgkids (j)); ! if (isfield (hgobj, "displayname") && ! isempty (hgobj.displayname)) hplots = [hplots, hgkids(j)]; text_strings = {text_strings{:}, hgobj.displayname}; break; endif endfor else ! if (! isempty (get (kids (i), "displayname"))) ! hplots = [hplots, kids(i)]; ! text_strings = {text_strings{:}, get(kids (i), "displayname")}; endif endif ! endif ! endfor ! endfunction diff -cNr octave-3.4.2/scripts/plot/private/__line__.m octave-3.4.3/scripts/plot/private/__line__.m *** octave-3.4.2/scripts/plot/private/__line__.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/private/__line__.m 2011-09-29 13:21:18.000000000 -0400 *************** *** 45,52 **** num_data_args = 0; endif if (rem (nvargs - num_data_args, 2) != 0) ! print_usage ("line"); endif data_args = {}; --- 45,56 ---- num_data_args = 0; endif + if (num_data_args > 0 && ! size_equal (varargin{1:num_data_args})) + error ("line: number of X, Y, and Z points must be equal"); + endif + if (rem (nvargs - num_data_args, 2) != 0) ! error ("line: invalid number of PROPERTY / VALUE pairs"); endif data_args = {}; diff -cNr octave-3.4.2/scripts/plot/surfc.m octave-3.4.3/scripts/plot/surfc.m *** octave-3.4.2/scripts/plot/surfc.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/surfc.m 2011-09-01 09:39:18.000000000 -0400 *************** *** 54,56 **** --- 54,73 ---- endif endfunction + + %!demo + %! clf + %! [~,~,Z]=peaks; + %! surfc(Z); + + %!demo + %! [~,~,Z]=sombrero; + %! [Fx,Fy] = gradient(Z); + %! surfc(Z,Fx+Fy); + %! shading interp; + + %!demo + %! [X,Y,Z]=sombrero; + %! [~,Fy] = gradient(Z); + %! surfc(X,Y,Z,Fy); + %! shading interp; diff -cNr octave-3.4.2/scripts/plot/surf.m octave-3.4.3/scripts/plot/surf.m *** octave-3.4.2/scripts/plot/surf.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/plot/surf.m 2011-09-01 09:38:52.000000000 -0400 *************** *** 60,62 **** --- 60,79 ---- endif endfunction + + %!demo + %! clf + %! [~,~,Z]=peaks; + %! surf(Z); + + %!demo + %! [~,~,Z]=sombrero; + %! [Fx,Fy] = gradient(Z); + %! surf(Z,Fx+Fy); + %! shading interp; + + %!demo + %! [X,Y,Z]=sombrero; + %! [~,Fy] = gradient(Z); + %! surf(X,Y,Z,Fy); + %! shading interp; diff -cNr octave-3.4.2/scripts/polynomial/residue.m octave-3.4.3/scripts/polynomial/residue.m *** octave-3.4.2/scripts/polynomial/residue.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/polynomial/residue.m 2011-09-20 13:26:04.000000000 -0400 *************** *** 19,26 **** ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! ## Compute the partial fraction expansion for the quotient of the ! ## polynomials, @var{b} and @var{a}. ## @tex ## $$ ## {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} --- 19,28 ---- ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{r}, @var{p}, @var{k}, @var{e}] =} residue (@var{b}, @var{a}) ! ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! ## The first calling form computes the partial fraction expansion for the ! ## quotient of the polynomials, @var{b} and @var{a}. ## @tex ## $$ ## {B(s)\over A(s)} = \sum_{m=1}^M {r_m\over (s-p_m)^e_m} *************** *** 77,88 **** ## ## @end ifnottex ## ! ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ! ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) ! ## Compute the reconstituted quotient of polynomials, ! ## @var{b}(s)/@var{a}(s), from the partial fraction expansion; ! ## represented by the residues, poles, and a direct polynomial specified ! ## by @var{r}, @var{p} and @var{k}, and the pole multiplicity @var{e}. ## ## If the multiplicity, @var{e}, is not explicitly specified the multiplicity is ## determined by the function @code{mpoles}. --- 79,89 ---- ## ## @end ifnottex ## ! ## The second calling form performs the inverse operation and computes ! ## the reconstituted quotient of polynomials, @var{b}(s)/@var{a}(s), ! ## from the partial fraction expansion; represented by the residues, ! ## poles, and a direct polynomial specified by @var{r}, @var{p} and ! ## @var{k}, and the pole multiplicity @var{e}. ## ## If the multiplicity, @var{e}, is not explicitly specified the multiplicity is ## determined by the function @code{mpoles}. *************** *** 409,411 **** --- 410,431 ---- %! [br, ar] = residue (r, p, k); %! assert ((abs (br - b) < 1e-12 %! && abs (ar - a) < 1e-12)); + + ## The following test is due to Bernard Grung (bug #34266) + %!xtest + %! z1 = 7.0372976777e6; + %! p1 = -3.1415926536e9; + %! p2 = -4.9964813512e8; + %! r1 = -(1 + z1/p1)/(1 - p1/p2)/p2/p1; + %! r2 = -(1 + z1/p2)/(1 - p2/p1)/p2/p1; + %! r3 = (1 + (p2 + p1)/p2/p1*z1)/p2/p1; + %! r4 = z1/p2/p1; + %! r = [r1; r2; r3; r4]; + %! p = [p1; p2; 0; 0]; + %! k = []; + %! e = [1; 1; 1; 2]; + %! b = [1, z1]; + %! a = [1, -(p1 + p2), p1*p2, 0, 0]; + %! [br, ar] = residue (r, p, k, e); + %! assert (br, b, 1e-8); + %! assert (ar, a, 1e-8); diff -cNr octave-3.4.2/scripts/signal/fftshift.m octave-3.4.3/scripts/signal/fftshift.m *** octave-3.4.2/scripts/signal/fftshift.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/signal/fftshift.m 2011-09-29 13:21:18.000000000 -0400 *************** *** 24,36 **** ## center of the vector or matrix. ## ## If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! ## time samples spaced of @math{Dt} each, then @code{fftshift (fft ! ## (@var{x}))} corresponds to frequencies ## ## @example ! ## f = ((1:N) - ceil(N/2)) / N / Dt ## @end example ## ## If @var{x} is a matrix, the same holds for rows and columns. If ## @var{x} is an array, then the same holds along each dimension. ## --- 24,38 ---- ## center of the vector or matrix. ## ## If @var{x} is a vector of @math{N} elements corresponding to @math{N} ! ## time samples spaced by @math{dt}, then ! ## @code{fftshift (fft (@var{x}))} corresponds to frequencies ## ## @example ! ## f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ] ## @end example ## + ## where @math{df} = 1 / @math{dt}. + ## ## If @var{x} is a matrix, the same holds for rows and columns. If ## @var{x} is an array, then the same holds along each dimension. ## *************** *** 44,58 **** function retval = fftshift (x, dim) - retval = 0; - if (nargin != 1 && nargin != 2) print_usage (); endif if (nargin == 2) ! if (!isscalar (dim)) ! error ("fftshift: dimension must be an integer scalar"); endif nd = ndims (x); sz = size (x); --- 46,58 ---- function retval = fftshift (x, dim) if (nargin != 1 && nargin != 2) print_usage (); endif if (nargin == 2) ! if (! (isscalar (dim) && dim > 0 && dim == fix (dim))) ! error ("fftshift: dimension DIM must be a positive integer"); endif nd = ndims (x); sz = size (x); *************** *** 84,89 **** --- 84,90 ---- endfunction + %!test %! x = [0:7]; %! y = fftshift (x); diff -cNr octave-3.4.2/scripts/sparse/svds.m octave-3.4.3/scripts/sparse/svds.m *** octave-3.4.2/scripts/sparse/svds.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/sparse/svds.m 2011-10-10 10:15:58.000000000 -0400 *************** *** 249,256 **** %! s = s(idx); %! u = u(:,idx); %! v = v(:,idx); ! %! randn('state',42); % Initialize to make normest function reproducible ! %! rand('state',42) %! opts.v0 = rand (2*n,1); % Initialize eigs ARPACK starting vector %! % to guarantee reproducible results %!test --- 249,256 ---- %! s = s(idx); %! u = u(:,idx); %! v = v(:,idx); ! %! randn ('state', 42); % Initialize to make normest function reproducible ! %! rand ('state', 42) %! opts.v0 = rand (2*n,1); % Initialize eigs ARPACK starting vector %! % to guarantee reproducible results %!test diff -cNr octave-3.4.2/scripts/specfun/legendre.m octave-3.4.3/scripts/specfun/legendre.m *** octave-3.4.2/scripts/specfun/legendre.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/specfun/legendre.m 2011-09-01 09:38:52.000000000 -0400 *************** *** 166,172 **** error ("legendre: N must be a non-negative scalar integer"); endif ! if (!isvector (x) || !isreal (x) || any (x < -1 | x > 1)) error ("legendre: X must be real-valued vector in the range -1 <= X <= 1"); endif --- 166,172 ---- error ("legendre: N must be a non-negative scalar integer"); endif ! if (!isreal (x) || any (x(:) < -1 | x(:) > 1)) error ("legendre: X must be real-valued vector in the range -1 <= X <= 1"); endif *************** *** 187,196 **** error ('legendre: expecting NORMALIZATION option to be "norm", "sch", or "unnorm"'); endswitch ! if (rows (x) != 1) ! x = x'; ! endif ! scale = scale * ones (1, numel (x)); ## Based on the recurrence relation below ## m m m --- 187,193 ---- error ('legendre: expecting NORMALIZATION option to be "norm", "sch", or "unnorm"'); endswitch ! scale = scale * ones (size (x)); ## Based on the recurrence relation below ## m m m *************** *** 199,204 **** --- 196,202 ---- ## http://en.wikipedia.org/wiki/Associated_Legendre_function overflow = false; + retval = zeros([n+1, size(x)]); for m = 1:n lpm1 = scale; lpm2 = (2*m-1) .* x .* scale; *************** *** 217,223 **** endif endif endfor ! retval(m,:) = lpm3; if (strcmp (normalization, "unnorm")) scale = -scale * (2*m-1); else --- 215,221 ---- endif endif endfor ! retval(m,:) = lpm3(:); if (strcmp (normalization, "unnorm")) scale = -scale * (2*m-1); else *************** *** 227,233 **** scale = scale .* sqrt(1-x.^2); endfor ! retval(n+1,:) = scale; if (strcmp (normalization, "sch")) retval(1,:) = retval(1,:) / sqrt (2); --- 225,236 ---- scale = scale .* sqrt(1-x.^2); endfor ! retval(n+1,:) = scale(:); ! ! if (isvector (x)) ! ## vector case is special ! retval = reshape (retval, n + 1, length (x)); ! endif if (strcmp (normalization, "sch")) retval(1,:) = retval(1,:) / sqrt (2); *************** *** 240,245 **** --- 243,249 ---- endfunction + %!test %! result = legendre (3, [-1.0 -0.9 -0.8]); %! expected = [ *************** *** 278,288 **** %!test %! result = legendre (150, 0); %! ## This agrees with Matlab's result. ! %! assert (result(end), 3.7532741115719e+306, 0.0000000000001e+306) %!test %! result = legendre (0, 0:0.1:1); ! %! assert (result, full(ones(1,11))) %% Check correct invocation %!error legendre (); --- 282,306 ---- %!test %! result = legendre (150, 0); %! ## This agrees with Matlab's result. ! %! assert (result(end), 3.7532741115719e+306, 0.0000000000001e+306); %!test %! result = legendre (0, 0:0.1:1); ! %! assert (result, full(ones(1,11))); ! ! %!test ! %! result = legendre (3, [-1,0,1;1,0,-1]); ! %! ## Test matrix input ! %! expected(:,:,1) = [-1,1;0,0;0,0;0,0]; ! %! expected(:,:,2) = [0,0;1.5,1.5;0,0;-15,-15]; ! %! expected(:,:,3) = [1,-1;0,0;0,0;0,0]; ! %! assert (result, expected); ! ! %!test ! %! result = legendre (3, [-1,0,1;1,0,-1]'); ! %! expected(:,:,1) = [-1,0,1;0,1.5,0;0,0,0;0,-15,0]; ! %! expected(:,:,2) = [1,0,-1;0,1.5,0;0,0,0;0,-15,0]; ! %! assert (result, expected); %% Check correct invocation %!error legendre (); diff -cNr octave-3.4.2/scripts/strings/str2num.m octave-3.4.3/scripts/strings/str2num.m *** octave-3.4.2/scripts/strings/str2num.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/strings/str2num.m 2011-09-02 11:10:19.000000000 -0400 *************** *** 17,57 **** ## . ## -*- texinfo -*- ! ## @deftypefn {Function File} {} str2num (@var{s}) ## Convert the string (or character array) @var{s} to a number (or an ## array). Examples: ## ## @example ## @group ! ## str2num("3.141596") ! ## @result{} 3.141596 ## ! ## str2num(["1, 2, 3"; "4, 5, 6"]); ! ## @result{} ans = ! ## 1 2 3 ! ## 4 5 6 ## @end group ## @end example ## ## @strong{Caution:} As @code{str2num} uses the @code{eval} function ## to do the conversion, @code{str2num} will execute any code contained ! ## in the string @var{s}. Use @code{str2double} instead if you want to ! ## avoid the use of @code{eval}. ## @seealso{str2double, eval} ## @end deftypefn ## Author: jwe ! function m = str2num (s) if (nargin == 1 && ischar (s)) [nr, nc] = size (s); sep = ";"; sep = sep (ones (nr, 1), 1); s = sprintf ("m = [%s];", reshape ([s, sep]', 1, nr * (nc + 1))); ! eval (s, "m = [];"); if (ischar (m)) m = []; endif else print_usage (); --- 17,64 ---- ## . ## -*- texinfo -*- ! ## @deftypefn {Function File} {@var{x} =} str2num (@var{s}) ! ## @deftypefnx {Function File} {[@var{x}, @var{state}] =} str2num (@var{s}) ## Convert the string (or character array) @var{s} to a number (or an ## array). Examples: ## ## @example ## @group ! ## str2num ("3.141596") ! ## @result{} 3.141596 ## ! ## str2num (["1, 2, 3"; "4, 5, 6"]); ! ## @result{} ans = ! ## 1 2 3 ! ## 4 5 6 ## @end group ## @end example ## + ## The optional second output, @var{state}, is logically true when the + ## coversion is successful. If the conversion fails the numeric output, + ## @var{x}, is empty and @var{state} is false. + ## ## @strong{Caution:} As @code{str2num} uses the @code{eval} function ## to do the conversion, @code{str2num} will execute any code contained ! ## in the string @var{s}. Use @code{str2double} for a safer and faster ! ## conversion. ## @seealso{str2double, eval} ## @end deftypefn ## Author: jwe ! function [m, state] = str2num (s) if (nargin == 1 && ischar (s)) [nr, nc] = size (s); sep = ";"; sep = sep (ones (nr, 1), 1); s = sprintf ("m = [%s];", reshape ([s, sep]', 1, nr * (nc + 1))); ! state = true; ! eval (s, "m = []; state = false;"); if (ischar (m)) m = []; + state = false; endif else print_usage (); *************** *** 65,67 **** --- 72,79 ---- %!error str2num ("string", 1); + %!test + %! [x, state] = str2num ("pi"); + %! assert (state) + %! [x, state] = str2num (tmpnam); + %! assert (! state) diff -cNr octave-3.4.2/scripts/strings/strtrim.m octave-3.4.3/scripts/strings/strtrim.m *** octave-3.4.2/scripts/strings/strtrim.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/strings/strtrim.m 2011-09-01 09:39:18.000000000 -0400 *************** *** 18,24 **** ## -*- texinfo -*- ## @deftypefn {Function File} {} strtrim (@var{s}) ! ## Remove leading and trailing blanks and nulls from @var{s}. If ## @var{s} is a matrix, @var{strtrim} trims each row to the length of ## longest string. If @var{s} is a cell array, operate recursively on ## each element of the cell array. For example: --- 18,24 ---- ## -*- texinfo -*- ## @deftypefn {Function File} {} strtrim (@var{s}) ! ## Remove leading and trailing whitespace and nulls from @var{s}. If ## @var{s} is a matrix, @var{strtrim} trims each row to the length of ## longest string. If @var{s} is a cell array, operate recursively on ## each element of the cell array. For example: *************** *** 50,69 **** if (isempty (s) || isempty (k)) s = ""; else ! s = s(:,ceil (min (k) / rows (s)):ceil (max (k) / rows (s))); endif elseif (iscell(s)) ! s = cellfun (@strtrim, s, "uniformoutput", false); else ! error ("strtrim: expecting string argument"); endif endfunction ! %!error strtrim(); ! %!error strtrim("abc", "def"); %!assert (strtrim (" abc "), "abc"); %!assert (strtrim ([" abc "; " def "]), ["abc "; " def"]); --- 50,76 ---- if (isempty (s) || isempty (k)) s = ""; else ! s = s(:, ceil (min (k) / rows (s)):ceil (max (k) / rows (s))); endif elseif (iscell(s)) ! s = regexprep (s, "^[\\s\v\\0]+|[\\s\v\\0]+$", ''); else ! error ("strtrim: S argument must be a string"); endif endfunction ! %!assert (strtrim (" abc "), "abc"); + %!assert (strtrim (" "), ""); + %!assert (strtrim ("abc"), "abc"); %!assert (strtrim ([" abc "; " def "]), ["abc "; " def"]); + %!assert (strtrim ({" abc "; " def "}), {"abc"; "def"}); + + %!error strtrim (); + %!error strtrim ("abc", "def"); + %!error strtrim (1); + diff -cNr octave-3.4.2/scripts/testfun/assert.m octave-3.4.3/scripts/testfun/assert.m *** octave-3.4.2/scripts/testfun/assert.m 2011-06-09 13:20:17.000000000 -0400 --- octave-3.4.3/scripts/testfun/assert.m 2011-09-01 09:38:52.000000000 -0400 *************** *** 125,133 **** error (); endif if (empty) ! v = cell (1, 0); ! endif ! if (normal) v = {v}; else v = v(:)'; --- 125,132 ---- error (); endif if (empty) ! v = {}; ! elseif (normal) v = {v}; else v = v(:)'; *************** *** 307,319 **** %!error assert (x,y) %!error assert (3, x); %!error assert (x, 3); ! ! ## check usage statements ! %!error assert ! %!error assert(1,2,3,4,5) ## strings %!assert("dog","dog") %!error assert("dog","cat") %!error assert("dog",3); %!error assert(3,"dog"); --- 306,324 ---- %!error assert (x,y) %!error assert (3, x); %!error assert (x, 3); ! %!test ! %! # Empty structures ! %! x = resize (x, 0, 1); ! %! y = resize (y, 0, 1); ! %! assert (x, y); ## strings %!assert("dog","dog") %!error assert("dog","cat") %!error assert("dog",3); %!error assert(3,"dog"); + + ## check input validation + %!error assert + %!error assert (1,2,3,4,5) + diff -cNr octave-3.4.2/scripts/time/weekday.m octave-3.4.3/scripts/time/weekday.m *** octave-3.4.2/scripts/time/weekday.m 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/scripts/time/weekday.m 2011-09-20 15:34:43.000000000 -0400 *************** *** 61,67 **** if (nargout > 1) if (strcmpi (format, "long")) ! names = {"Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday"}; else names = {"Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat"}; --- 61,67 ---- if (nargout > 1) if (strcmpi (format, "long")) ! names = {"Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" \ "Friday" "Saturday"}; else names = {"Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat"}; *************** *** 96,101 **** --- 96,107 ---- %!assert(weekday('7-Feb-2008'),5) ## Test fractional dates %!assert(weekday(728647.1),2) + ## Test "long" option + %!test + %! [a, b] = weekday ("25-Dec-1994", "long"); + %! assert (a, 1); + %! assert (b, "Sunday"); + # demos %!demo %! [n, s] = weekday (now ()) diff -cNr octave-3.4.2/src/c-file-ptr-stream.cc octave-3.4.3/src/c-file-ptr-stream.cc *** octave-3.4.2/src/c-file-ptr-stream.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/c-file-ptr-stream.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 68,74 **** { if (f) { ! int_type c = fgetc (f); if (! bump #if defined (CXX_ISO_COMPLIANT_LIBRARY) --- 68,74 ---- { if (f) { ! int_type c = gnulib::fgetc (f); if (! bump #if defined (CXX_ISO_COMPLIANT_LIBRARY) *************** *** 112,118 **** c_file_ptr_buf::xsgetn (char *s, std::streamsize n) { if (f) ! return fread (s, 1, n, f); else return 0; } --- 112,118 ---- c_file_ptr_buf::xsgetn (char *s, std::streamsize n) { if (f) ! return gnulib::fread (s, 1, n, f); else return 0; } *************** *** 173,179 **** int c_file_ptr_buf::flush (void) { ! return f ? fflush (f) : EOF; } int --- 173,179 ---- int c_file_ptr_buf::flush (void) { ! return f ? gnulib::fflush (f) : EOF; } int *************** *** 193,198 **** --- 193,210 ---- } int + c_file_ptr_buf::seek (long offset, int origin) + { + return f ? gnulib::fseek (f, offset, origin) : -1; + } + + long + c_file_ptr_buf::tell (void) + { + return f ? gnulib::ftell (f) : -1; + } + + int c_file_ptr_buf::file_close (FILE *f) { return gnulib::fclose (f); diff -cNr octave-3.4.2/src/c-file-ptr-stream.h octave-3.4.3/src/c-file-ptr-stream.h *** octave-3.4.2/src/c-file-ptr-stream.h 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/c-file-ptr-stream.h 2011-09-01 09:38:52.000000000 -0400 *************** *** 74,83 **** int file_number () const { return f ? fileno (f) : -1; } ! int seek (long offset, int origin) ! { return f ? fseek (f, offset, origin) : -1; } ! long tell (void) { return f ? ftell (f) : -1; } void clear (void) { if (f) clearerr (f); } --- 74,82 ---- int file_number () const { return f ? fileno (f) : -1; } ! int seek (long offset, int origin); ! long tell (void); void clear (void) { if (f) clearerr (f); } diff -cNr octave-3.4.2/src/data.cc octave-3.4.3/src/data.cc *** octave-3.4.2/src/data.cc 2011-06-09 13:22:33.000000000 -0400 --- octave-3.4.3/src/data.cc 2011-09-01 09:39:19.000000000 -0400 *************** *** 2029,2035 **** \n\ @example\n\ @group\n\ ! ndims (ones (4, 1, 2, 1)\n\ @result{} 3\n\ @end group\n\ @end example\n\ --- 2029,2035 ---- \n\ @example\n\ @group\n\ ! ndims (ones (4, 1, 2, 1))\n\ @result{} 3\n\ @end group\n\ @end example\n\ *************** *** 2057,2062 **** --- 2057,2072 ---- @var{a}(@var{idx1}, @var{idx2}, @dots{})\n\ @end example\n\ \n\ + Note that the indices do not have to be numerical. For example\n\ + \n\ + @example\n\ + @var{a} = 1;\n\ + @var{b} = ones (2, 3);\n\ + numel (@var{a}, @var{b});\n\ + @end example\n\ + \n\ + will return 6, as this is the number of ways to index with @var{b}.\n\ + \n\ This method is also called when an object appears as lvalue with cs-list\n\ indexing, i.e., @code{object@{@dots{}@}} or @code{object(@dots{}).field}.\n\ @seealso{size}\n\ diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/betainc.cc octave-3.4.3/src/DLD-FUNCTIONS/betainc.cc *** octave-3.4.2/src/DLD-FUNCTIONS/betainc.cc 2011-06-09 13:22:32.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/betainc.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 57,63 **** \n\ @end ifnottex\n\ \n\ ! If 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") --- 57,63 ---- \n\ @end ifnottex\n\ \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") diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/__magick_read__.cc octave-3.4.3/src/DLD-FUNCTIONS/__magick_read__.cc *** octave-3.4.2/src/DLD-FUNCTIONS/__magick_read__.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/__magick_read__.cc 2011-09-01 09:39:18.000000000 -0400 *************** *** 663,670 **** octave_idx_type rows = m.rows (); octave_idx_type columns = m.columns (); ! // FIXME -- maybe simply using bit shifting would be better? ! unsigned int div_factor = pow (2.0, static_cast (bitdepth)) - 1; for (unsigned int ii = 0; ii < nframes; ii++) { --- 663,669 ---- octave_idx_type rows = m.rows (); octave_idx_type columns = m.columns (); ! unsigned int div_factor = (1 << bitdepth) - 1; for (unsigned int ii = 0; ii < nframes; ii++) { *************** *** 753,759 **** } im.quantizeColorSpace (Magick::GRAYColorspace); ! im.quantizeColors (pow (2, bitdepth)); im.quantize (); } --- 752,758 ---- } im.quantizeColorSpace (Magick::GRAYColorspace); ! im.quantizeColors (1 << bitdepth); im.quantize (); } diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/schur.cc octave-3.4.3/src/DLD-FUNCTIONS/schur.cc *** octave-3.4.2/src/DLD-FUNCTIONS/schur.cc 2011-06-09 13:22:32.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/schur.cc 2011-09-29 13:21:18.000000000 -0400 *************** *** 60,67 **** DEFUN_DLD (schur, args, nargout, "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{S} =} schur (@var{A})\n\ @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, \"complex\")\n\ ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @var{opt})\n\ @cindex Schur decomposition\n\ Compute the Schur@tie{}decomposition of @var{A}\n\ @tex\n\ --- 60,69 ---- DEFUN_DLD (schur, args, nargout, "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{S} =} schur (@var{A})\n\ + @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, \"real\")\n\ @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, \"complex\")\n\ ! @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, @var{opt})\n\ ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @dots{})\n\ @cindex Schur decomposition\n\ Compute the Schur@tie{}decomposition of @var{A}\n\ @tex\n\ *************** *** 104,110 **** @end ifnottex\n\ blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}.\n\ \n\ ! A complex decomposition may be forced by passing \"complex\" as @var{opt}.\n\ \n\ The eigenvalues are optionally ordered along the diagonal according to\n\ the value of @var{opt}. @code{@var{opt} = \"a\"} indicates that all\n\ --- 106,113 ---- @end ifnottex\n\ blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}.\n\ \n\ ! The default for real matrices is a real Schur@tie{}decomposition.\n\ ! A complex decomposition may be forced by passing the flag \"complex\".\n\ \n\ The eigenvalues are optionally ordered along the diagonal according to\n\ the value of @var{opt}. @code{@var{opt} = \"a\"} indicates that all\n\ *************** *** 150,156 **** bool force_complex = false; ! if (ord == "complex") { force_complex = true; ord = std::string (); --- 153,163 ---- bool force_complex = false; ! if (ord == "real") ! { ! ord = std::string (); ! } ! else if (ord == "complex") { force_complex = true; ord = std::string (); diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/strfind.cc octave-3.4.3/src/DLD-FUNCTIONS/strfind.cc *** octave-3.4.2/src/DLD-FUNCTIONS/strfind.cc 2011-06-09 13:22:32.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/strfind.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 50,56 **** const char *x = needle.data (); octave_idx_type m = needle.numel (); ! for (octave_idx_type i = 0; i < UCHAR_MAX; i++) table[i] = m + 1; for (octave_idx_type i = 0; i < m; i++) table[ORD(x[i])] = m - i; --- 50,56 ---- const char *x = needle.data (); octave_idx_type m = needle.numel (); ! 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,209 **** if (argpat.is_string ()) { Array needle = argpat.char_array_value (); ! OCTAVE_LOCAL_BUFFER (octave_idx_type, table, UCHAR_MAX); qs_preprocess (needle, table); if (argstr.is_string ()) --- 203,209 ---- if (argpat.is_string ()) { Array needle = argpat.char_array_value (); ! OCTAVE_LOCAL_BUFFER (octave_idx_type, table, TABSIZE); qs_preprocess (needle, table); if (argstr.is_string ()) *************** *** 367,373 **** const Array pat = argpat.char_array_value (); const Array rep = argrep.char_array_value (); ! OCTAVE_LOCAL_BUFFER (octave_idx_type, table, UCHAR_MAX); qs_preprocess (pat, table); if (argstr.is_string ()) --- 367,373 ---- const Array pat = argpat.char_array_value (); const Array rep = argrep.char_array_value (); ! OCTAVE_LOCAL_BUFFER (octave_idx_type, table, TABSIZE); qs_preprocess (pat, table); if (argstr.is_string ()) diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/time.cc octave-3.4.3/src/DLD-FUNCTIONS/time.cc *** octave-3.4.2/src/DLD-FUNCTIONS/time.cc 2011-06-09 13:22:32.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/time.cc 2011-09-01 09:38:52.000000000 -0400 *************** *** 340,352 **** Literal character fields:\n\ \n\ @table @code\n\ ! @item %\n\ % character.\n\ \n\ ! @item n\n\ Newline character.\n\ \n\ ! @item t\n\ Tab character.\n\ @end table\n\ \n\ --- 340,352 ---- Literal character fields:\n\ \n\ @table @code\n\ ! @item %%\n\ % character.\n\ \n\ ! @item %n\n\ Newline character.\n\ \n\ ! @item %t\n\ Tab character.\n\ @end table\n\ \n\ diff -cNr octave-3.4.2/src/DLD-FUNCTIONS/urlwrite.cc octave-3.4.3/src/DLD-FUNCTIONS/urlwrite.cc *** octave-3.4.2/src/DLD-FUNCTIONS/urlwrite.cc 2011-06-09 13:22:32.000000000 -0400 --- octave-3.4.3/src/DLD-FUNCTIONS/urlwrite.cc 2011-09-01 09:39:19.000000000 -0400 *************** *** 52,58 **** #include #include - #include #include static int --- 52,57 ---- diff -cNr octave-3.4.2/src/DOCSTRINGS octave-3.4.3/src/DOCSTRINGS *** octave-3.4.2/src/DOCSTRINGS 2011-06-09 14:02:15.000000000 -0400 --- octave-3.4.3/src/DOCSTRINGS 2011-09-29 14:13:04.000000000 -0400 *************** *** 476,482 **** @example @group ! ndims (ones (4, 1, 2, 1) @result{} 3 @end group @end example --- 476,482 ---- @example @group ! ndims (ones (4, 1, 2, 1)) @result{} 3 @end group @end example *************** *** 494,499 **** --- 494,509 ---- @var{a}(@var{idx1}, @var{idx2}, @dots{}) @end example + Note that the indices do not have to be numerical. For example + + @example + @var{a} = 1; + @var{b} = ones (2, 3); + numel (@var{a}, @var{b}); + @end example + + will return 6, as this is the number of ways to index with @var{b}. + This method is also called when an object appears as lvalue with cs-list indexing, i.e., @code{object@{@dots{}@}} or @code{object(@dots{}).field}. @seealso{size} *************** *** 2712,2722 **** sscanf @c sscanf src/file-io.cc -*- texinfo -*- ! @deftypefn {Built-in Function} {[@var{val}, @var{count}] =} sscanf (@var{string}, @var{template}, @var{size}) @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, "C") This is like @code{fscanf}, except that the characters are taken from the string @var{string} instead of from a stream. Reaching the end of the ! string is treated as an end-of-file condition. @seealso{fscanf, scanf, sprintf} @end deftypefn scanf --- 2722,2734 ---- sscanf @c sscanf src/file-io.cc -*- texinfo -*- ! @deftypefn {Built-in Function} {[@var{val}, @var{count}, @var{pos}] =} sscanf (@var{string}, @var{template}, @var{size}) @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, "C") This is like @code{fscanf}, except that the characters are taken from the string @var{string} instead of from a stream. Reaching the end of the ! string is treated as an end-of-file condition. In addition to the values ! returned by @code{fscanf}, the index of the next character to be read ! is returned in in @var{pos}. @seealso{fscanf, scanf, sprintf} @end deftypefn scanf *************** *** 4764,4770 **** -*- texinfo -*- @deftypefn {Mapping Function} {} round (@var{x}) Return the integer nearest to @var{x}. If @var{x} is complex, return ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}. @example @group --- 4776,4783 ---- -*- texinfo -*- @deftypefn {Mapping Function} {} round (@var{x}) Return the integer nearest to @var{x}. If @var{x} is complex, return ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}. If there ! are two nearest integers, return the one further away from zero. @example @group *************** *** 4772,4778 **** @result{} -3 3 @end group @end example ! @seealso{ceil, floor, fix} @end deftypefn roundb @c roundb src/mappers.cc --- 4785,4791 ---- @result{} -3 3 @end group @end example ! @seealso{ceil, floor, fix, roundb} @end deftypefn roundb @c roundb src/mappers.cc *************** *** 5106,5117 **** @noindent calls the function @code{acos} with the argument @samp{-1}. ! The function @code{feval} is necessary in order to be able to write ! functions that call user-supplied functions, because Octave does not ! have a way to declare a pointer to a function (like C) or to declare a ! special kind of variable that can be used to hold the name of a function ! (like @code{EXTERNAL} in Fortran). Instead, you must refer to functions ! by name, and use @code{feval} to call them. @end deftypefn builtin @c builtin src/oct-parse.cc --- 5119,5144 ---- @noindent calls the function @code{acos} with the argument @samp{-1}. ! The function @code{feval} can also be used with function handles of ! any sort (@pxref{Function Handles}). Historically, @code{feval} was ! the only way to call user-supplied functions in strings, but ! function handles are now preferred due to the cleaner syntax they ! offer. For example, ! ! @example ! @group ! @var{f} = @@exp; ! feval (@var{f}, 1) ! @result{} 2.7183 ! @var{f} (1) ! @result{} 2.7183 ! @end group ! @end example ! ! @noindent ! are equivalent ways to call the function referred to by @var{f}. If it ! cannot be predicted beforehand that @var{f} is a function handle or the ! function name in a string, @code{feval} can be used instead. @end deftypefn builtin @c builtin src/oct-parse.cc *************** *** 8407,8413 **** @end ifnottex ! If x has more than one component, both @var{a} and @var{b} must be scalars. If @var{x} is a scalar, @var{a} and @var{b} must be of compatible dimensions. @end deftypefn --- 8434,8440 ---- @end ifnottex ! If @var{x} has more than one component, both @var{a} and @var{b} must be scalars. If @var{x} is a scalar, @var{a} and @var{b} must be of compatible dimensions. @end deftypefn *************** *** 12575,12582 **** @c schur src/DLD-FUNCTIONS/schur.cc -*- texinfo -*- @deftypefn {Loadable Function} {@var{S} =} schur (@var{A}) @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "complex") ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @var{opt}) @cindex Schur decomposition Compute the Schur@tie{}decomposition of @var{A} @tex --- 12602,12611 ---- @c schur src/DLD-FUNCTIONS/schur.cc -*- texinfo -*- @deftypefn {Loadable Function} {@var{S} =} schur (@var{A}) + @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "real") @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, "complex") ! @deftypefnx {Loadable Function} {@var{S} =} schur (@var{A}, @var{opt}) ! @deftypefnx {Loadable Function} {[@var{U}, @var{S}] =} schur (@var{A}, @dots{}) @cindex Schur decomposition Compute the Schur@tie{}decomposition of @var{A} @tex *************** *** 12619,12625 **** @end ifnottex blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}. ! A complex decomposition may be forced by passing "complex" as @var{opt}. The eigenvalues are optionally ordered along the diagonal according to the value of @var{opt}. @code{@var{opt} = "a"} indicates that all --- 12648,12655 ---- @end ifnottex blocks, when appropriate) are the eigenvalues of @var{A} and @var{S}. ! The default for real matrices is a real Schur@tie{}decomposition. ! A complex decomposition may be forced by passing the flag "complex". The eigenvalues are optionally ordered along the diagonal according to the value of @var{opt}. @code{@var{opt} = "a"} indicates that all *************** *** 13180,13192 **** Literal character fields: @table @code ! @item % % character. ! @item n Newline character. ! @item t Tab character. @end table --- 13210,13222 ---- Literal character fields: @table @code ! @item %% % character. ! @item %n Newline character. ! @item %t Tab character. @end table diff -cNr octave-3.4.2/src/file-io.cc octave-3.4.3/src/file-io.cc *** octave-3.4.2/src/file-io.cc 2011-06-09 13:22:33.000000000 -0400 --- octave-3.4.3/src/file-io.cc 2011-09-01 09:39:19.000000000 -0400 *************** *** 494,500 **** { tmode.erase (pos, 1); ! FILE *fptr = ::fopen (fname.c_str (), tmode.c_str ()); int fd = fileno (fptr); --- 494,500 ---- { tmode.erase (pos, 1); ! FILE *fptr = gnulib::fopen (fname.c_str (), tmode.c_str ()); int fd = fileno (fptr); *************** *** 509,515 **** else #endif { ! FILE *fptr = ::fopen (fname.c_str (), tmode.c_str ()); retval = octave_stdiostream::create (fname, fptr, md, flt_fmt); --- 509,515 ---- else #endif { ! FILE *fptr = gnulib::fopen (fname.c_str (), tmode.c_str ()); retval = octave_stdiostream::create (fname, fptr, md, flt_fmt); *************** *** 666,679 **** if (nargin == 1) { ! if (nargout < 2 && args(0).is_string ()) { // If there is only one argument and it is a string but it // is not the string "all", we assume it is a file to open // with MODE = "r". To open a file called "all", you have // to supply more than one argument. ! if (args(0).string_value () == "all") return octave_stream_list::open_file_numbers (); } else --- 666,679 ---- if (nargin == 1) { ! if (args(0).is_string ()) { // If there is only one argument and it is a string but it // is not the string "all", we assume it is a file to open // with MODE = "r". To open a file called "all", you have // to supply more than one argument. ! if (nargout < 2 && args(0).string_value () == "all") return octave_stream_list::open_file_numbers (); } else *************** *** 1176,1186 **** DEFUN (sscanf, args, , "-*- texinfo -*-\n\ ! @deftypefn {Built-in Function} {[@var{val}, @var{count}] =} sscanf (@var{string}, @var{template}, @var{size})\n\ @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, \"C\")\n\ This is like @code{fscanf}, except that the characters are taken from the\n\ string @var{string} instead of from a stream. Reaching the end of the\n\ ! string is treated as an end-of-file condition.\n\ @seealso{fscanf, scanf, sprintf}\n\ @end deftypefn") { --- 1176,1188 ---- DEFUN (sscanf, args, , "-*- texinfo -*-\n\ ! @deftypefn {Built-in Function} {[@var{val}, @var{count}, @var{pos}] =} sscanf (@var{string}, @var{template}, @var{size})\n\ @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, \"C\")\n\ This is like @code{fscanf}, except that the characters are taken from the\n\ string @var{string} instead of from a stream. Reaching the end of the\n\ ! string is treated as an end-of-file condition. In addition to the values\n\ ! returned by @code{fscanf}, the index of the next character to be read\n\ ! is returned in in @var{pos}.\n\ @seealso{fscanf, scanf, sprintf}\n\ @end deftypefn") { *************** *** 1247,1253 **** // position will clear it. std::string errmsg = os.error (); ! retval(3) = os.tell () + 1; retval(2) = errmsg; retval(1) = count; retval(0) = tmp; --- 1249,1256 ---- // position will clear it. std::string errmsg = os.error (); ! retval(3) ! = (os.eof () ? data.length () : os.tell ()) + 1; retval(2) = errmsg; retval(1) = count; retval(0) = tmp; *************** *** 1922,1928 **** if (nargin == 0) { ! FILE *fid = tmpfile (); if (fid) { --- 1925,1931 ---- if (nargin == 0) { ! FILE *fid = gnulib::tmpfile (); if (fid) { *************** *** 1989,1995 **** OCTAVE_LOCAL_BUFFER (char, tmp, tmpl8.size () + 1); strcpy (tmp, tmpl8.c_str ()); ! int fd = mkstemp (tmp); if (fd < 0) { --- 1992,1998 ---- OCTAVE_LOCAL_BUFFER (char, tmp, tmpl8.size () + 1); strcpy (tmp, tmpl8.c_str ()); ! int fd = gnulib::mkstemp (tmp); if (fd < 0) { diff -cNr octave-3.4.2/src/graphics.cc octave-3.4.3/src/graphics.cc *** octave-3.4.2/src/graphics.cc 2011-06-09 13:22:33.000000000 -0400 --- octave-3.4.3/src/graphics.cc 2011-09-20 13:26:04.000000000 -0400 *************** *** 5123,5128 **** --- 5123,5136 ---- double tick_sep = calc_tick_sep (lo , hi); + if (is_logscale && ! (xisinf (hi) || xisinf (lo))) + { + // FIXME - what if (hi-lo) < tick_sep? + // ex: loglog ([1 1.1]) + tick_sep = std::max (tick_sep, 1.); + tick_sep = std::ceil (tick_sep); + } + int i1 = static_cast (gnulib::floor (lo / tick_sep)); int i2 = static_cast (std::ceil (hi / tick_sep)); diff -cNr octave-3.4.2/src/input.cc octave-3.4.3/src/input.cc *** octave-3.4.2/src/input.cc 2011-06-09 13:22:33.000000000 -0400 --- octave-3.4.3/src/input.cc 2011-09-01 09:39:19.000000000 -0400 *************** *** 213,219 **** FILE *stream = command_editor::get_output_stream (); gnulib::fputs (s.c_str (), stream); ! fflush (stream); } FILE *curr_stream = command_editor::get_input_stream (); --- 213,219 ---- FILE *stream = command_editor::get_output_stream (); gnulib::fputs (s.c_str (), stream); ! gnulib::fflush (stream); } FILE *curr_stream = command_editor::get_input_stream (); *************** *** 428,434 **** FILE *instream = 0; if (name.length () > 0) ! instream = fopen (name.c_str (), "rb"); if (! instream && warn) warning ("%s: no such file or directory", name.c_str ()); --- 428,434 ---- FILE *instream = 0; if (name.length () > 0) ! instream = gnulib::fopen (name.c_str (), "rb"); if (! instream && warn) warning ("%s: no such file or directory", name.c_str ()); diff -cNr octave-3.4.2/src/Makefile.am octave-3.4.3/src/Makefile.am *** octave-3.4.2/src/Makefile.am 2011-06-21 19:07:10.000000000 -0400 --- octave-3.4.3/src/Makefile.am 2011-09-01 09:39:19.000000000 -0400 *************** *** 539,545 **** ../libcruft/libcruft.la \ ../libcruft/libranlib.la \ ../libgnu/libgnu.la \ ! $(FFTW_XLDFLAGS) $(FFTW_XLIBS) $(QHULL_LDFLAGS) $(QHULL_LIBS) \ $(QRUPDATE_LDFLAGS) $(QRUPDATE_LIBS) \ $(SPARSE_XLDFLAGS) $(SPARSE_XLIBS) \ --- 539,545 ---- ../libcruft/libcruft.la \ ../libcruft/libranlib.la \ ../libgnu/libgnu.la \ ! $(FFTW_XLDFLAGS) $(FFTW_XLIBS) \ $(QHULL_LDFLAGS) $(QHULL_LIBS) \ $(QRUPDATE_LDFLAGS) $(QRUPDATE_LIBS) \ $(SPARSE_XLDFLAGS) $(SPARSE_XLIBS) \ diff -cNr octave-3.4.2/src/Makefile.in octave-3.4.3/src/Makefile.in *** octave-3.4.2/src/Makefile.in 2011-06-24 10:38:42.000000000 -0400 --- octave-3.4.3/src/Makefile.in 2011-10-10 10:24:16.000000000 -0400 *************** *** 77,99 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 77,101 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 103,151 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 105,160 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 1303,1309 **** @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libranlib.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libgnu/libgnu.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_4) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_4) @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@am__DEPENDENCIES_6 = \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ./liboctinterp.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ../liboctave/liboctave.la \ --- 1312,1348 ---- @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libranlib.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libgnu/libgnu.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_4) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_4) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_3) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_3) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(am__DEPENDENCIES_1) @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@am__DEPENDENCIES_6 = \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ./liboctinterp.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ../liboctave/liboctave.la \ *************** *** 1692,1703 **** --- 1731,1745 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 1709,1716 **** --- 1751,1763 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 1729,1734 **** --- 1776,1782 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 1818,1823 **** --- 1866,1873 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 1825,1839 **** --- 1875,1893 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 1843,1848 **** --- 1897,1903 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 1976,1981 **** --- 2031,2037 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 1987,1992 **** --- 2043,2049 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 2017,2022 **** --- 2074,2080 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 2030,2035 **** --- 2088,2094 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 2040,2047 **** --- 2099,2110 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 2089,2111 **** --- 2152,2183 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 2123,2130 **** --- 2195,2204 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 2234,2239 **** --- 2308,2314 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 2262,2273 **** --- 2337,2350 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 2284,2295 **** --- 2361,2374 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 2357,2362 **** --- 2436,2442 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 2422,2429 **** --- 2502,2512 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 2461,2466 **** --- 2544,2550 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ *************** *** 3652,3658 **** @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libcruft.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libranlib.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libgnu/libgnu.la \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FFTW_XLDFLAGS) $(FFTW_XLIBS) @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@OCTAVE_LIBS = \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ./liboctinterp.la \ --- 3736,3759 ---- @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libcruft.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libcruft/libranlib.la \ @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ ../libgnu/libgnu.la \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FFTW_XLDFLAGS) $(FFTW_XLIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QHULL_LDFLAGS) $(QHULL_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QRUPDATE_LDFLAGS) $(QRUPDATE_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(SPARSE_XLDFLAGS) $(SPARSE_XLIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(REGEX_LDFLAGS) $(REGEX_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(CURL_LDFLAGS) $(CURL_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(GLPK_LDFLAGS) $(GLPK_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(MAGICK_LDFLAGS) $(MAGICK_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(GRAPHICS_LDFLAGS) $(GRAPHICS_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FT2_LDFLAGS) $(FT2_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(HDF5_LDFLAGS) $(HDF5_LIBS) $(Z_LDFLAGS) $(Z_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(OPENGL_LIBS) $(X11_LIBS) $(CARBON_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(READLINE_LIBS) $(TERM_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LIBGLOB) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LAPACK_LIBS) $(BLAS_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(DL_LIBS) $(PTHREAD_LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LIBS) \ ! @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FLIBS) @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@OCTAVE_LIBS = \ @AMCOND_ENABLE_DYNAMIC_LINKING_TRUE@ ./liboctinterp.la \ *************** *** 9681,9703 **** $(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh $(srcdir)/DLD-FUNCTIONS/config-module.awk $(srcdir)/DLD-FUNCTIONS/module-files $(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir) - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QHULL_LDFLAGS) $(QHULL_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QRUPDATE_LDFLAGS) $(QRUPDATE_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(SPARSE_XLDFLAGS) $(SPARSE_XLIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(REGEX_LDFLAGS) $(REGEX_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(CURL_LDFLAGS) $(CURL_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(GLPK_LDFLAGS) $(GLPK_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(MAGICK_LDFLAGS) $(MAGICK_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(GRAPHICS_LDFLAGS) $(GRAPHICS_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FT2_LDFLAGS) $(FT2_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(HDF5_LDFLAGS) $(HDF5_LIBS) $(Z_LDFLAGS) $(Z_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(OPENGL_LIBS) $(X11_LIBS) $(CARBON_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(READLINE_LIBS) $(TERM_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LIBGLOB) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LAPACK_LIBS) $(BLAS_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(DL_LIBS) $(PTHREAD_LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(LIBS) \ - @AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(FLIBS) display.df display.lo: CPPFLAGS += $(X11_FLAGS) --- 9782,9787 ---- diff -cNr octave-3.4.2/src/mappers.cc octave-3.4.3/src/mappers.cc *** octave-3.4.2/src/mappers.cc 2011-06-09 13:22:33.000000000 -0400 --- octave-3.4.3/src/mappers.cc 2011-09-20 13:26:04.000000000 -0400 *************** *** 1475,1481 **** "-*- texinfo -*-\n\ @deftypefn {Mapping Function} {} round (@var{x})\n\ Return the integer nearest to @var{x}. If @var{x} is complex, return\n\ ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}.\n\ \n\ @example\n\ @group\n\ --- 1475,1482 ---- "-*- texinfo -*-\n\ @deftypefn {Mapping Function} {} round (@var{x})\n\ Return the integer nearest to @var{x}. If @var{x} is complex, return\n\ ! @code{round (real (@var{x})) + round (imag (@var{x})) * I}. If there\n\ ! are two nearest integers, return the one further away from zero.\n\ \n\ @example\n\ @group\n\ *************** *** 1483,1489 **** @result{} -3 3\n\ @end group\n\ @end example\n\ ! @seealso{ceil, floor, fix}\n\ @end deftypefn") { octave_value retval; --- 1484,1490 ---- @result{} -3 3\n\ @end group\n\ @end example\n\ ! @seealso{ceil, floor, fix, roundb}\n\ @end deftypefn") { octave_value retval; diff -cNr octave-3.4.2/src/mkoctfile.cc.in octave-3.4.3/src/mkoctfile.cc.in *** octave-3.4.2/src/mkoctfile.cc.in 2011-06-10 13:48:38.000000000 -0400 --- octave-3.4.3/src/mkoctfile.cc.in 2011-09-20 13:26:04.000000000 -0400 *************** *** 759,765 **** else { string LINK_DEPS = vars["LFLAGS"] + " " + vars["OCTAVE_LIBS"] ! + " " + vars["LDFLAGS"] + " " + vars["BLAS_LIBS"] + " " + vars["FFTW_LIBS"] + " " + vars["LIBS"] + " " + vars["FLIBS"]; string cmd = vars["DL_LD"] + " " + vars["DL_LDFLAGS"] + " " + pass_on_options + " -o " + octfile + " " + objfiles + " " --- 759,766 ---- else { string LINK_DEPS = vars["LFLAGS"] + " " + vars["OCTAVE_LIBS"] ! + " " + vars["LDFLAGS"] + " " ! + vars["LAPACK_LIBS"] + " " + vars["BLAS_LIBS"] + " " + vars["FFTW_LIBS"] + " " + vars["LIBS"] + " " + vars["FLIBS"]; string cmd = vars["DL_LD"] + " " + vars["DL_LDFLAGS"] + " " + pass_on_options + " -o " + octfile + " " + objfiles + " " diff -cNr octave-3.4.2/src/oct-parse.cc octave-3.4.3/src/oct-parse.cc *** octave-3.4.2/src/oct-parse.cc 2011-06-09 13:58:37.000000000 -0400 --- octave-3.4.3/src/oct-parse.cc 2011-09-29 14:00:45.000000000 -0400 *************** *** 6452,6464 **** static int text_getc (FILE *f) { ! int c = getc (f); // Convert CRLF into just LF and single CR into LF. if (c == '\r') { ! c = getc (f); if (c != '\n') { --- 6452,6464 ---- static int text_getc (FILE *f) { ! int c = gnulib::getc (f); // Convert CRLF into just LF and single CR into LF. if (c == '\r') { ! c = gnulib::getc (f); if (c != '\n') { *************** *** 6533,6548 **** { bool status = false; ! long pos = ftell (ffile); char buf [10]; ! fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "classdef", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! fseek (ffile, pos, SEEK_SET); return status; } --- 6533,6548 ---- { bool status = false; ! long pos = gnulib::ftell (ffile); char buf [10]; ! gnulib::fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "classdef", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! gnulib::fseek (ffile, pos, SEEK_SET); return status; } *************** *** 6593,6608 **** { bool status = false; ! long pos = ftell (ffile); char buf [10]; ! fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "function", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! fseek (ffile, pos, SEEK_SET); return status; } --- 6593,6608 ---- { bool status = false; ! long pos = gnulib::ftell (ffile); char buf [10]; ! gnulib::fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "function", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! gnulib::fseek (ffile, pos, SEEK_SET); return status; } *************** *** 7388,7399 **** @noindent\n\ calls the function @code{acos} with the argument @samp{-1}.\n\ \n\ ! The function @code{feval} is necessary in order to be able to write\n\ ! functions that call user-supplied functions, because Octave does not\n\ ! have a way to declare a pointer to a function (like C) or to declare a\n\ ! special kind of variable that can be used to hold the name of a function\n\ ! (like @code{EXTERNAL} in Fortran). Instead, you must refer to functions\n\ ! by name, and use @code{feval} to call them.\n\ @end deftypefn") { octave_value_list retval; --- 7388,7413 ---- @noindent\n\ calls the function @code{acos} with the argument @samp{-1}.\n\ \n\ ! The function @code{feval} can also be used with function handles of\n\ ! any sort (@pxref{Function Handles}). Historically, @code{feval} was\n\ ! the only way to call user-supplied functions in strings, but\n\ ! function handles are now preferred due to the cleaner syntax they\n\ ! offer. For example,\n\ ! \n\ ! @example\n\ ! @group\n\ ! @var{f} = @@exp;\n\ ! feval (@var{f}, 1)\n\ ! @result{} 2.7183\n\ ! @var{f} (1)\n\ ! @result{} 2.7183\n\ ! @end group\n\ ! @end example\n\ ! \n\ ! @noindent\n\ ! are equivalent ways to call the function referred to by @var{f}. If it\n\ ! cannot be predicted beforehand that @var{f} is a function handle or the\n\ ! function name in a string, @code{feval} can be used instead.\n\ @end deftypefn") { octave_value_list retval; diff -cNr octave-3.4.2/src/oct-parse.yy octave-3.4.3/src/oct-parse.yy *** octave-3.4.2/src/oct-parse.yy 2011-06-09 13:33:25.000000000 -0400 --- octave-3.4.3/src/oct-parse.yy 2011-09-01 09:39:19.000000000 -0400 *************** *** 3287,3299 **** static int text_getc (FILE *f) { ! int c = getc (f); // Convert CRLF into just LF and single CR into LF. if (c == '\r') { ! c = getc (f); if (c != '\n') { --- 3287,3299 ---- static int text_getc (FILE *f) { ! int c = gnulib::getc (f); // Convert CRLF into just LF and single CR into LF. if (c == '\r') { ! c = gnulib::getc (f); if (c != '\n') { *************** *** 3368,3383 **** { bool status = false; ! long pos = ftell (ffile); char buf [10]; ! fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "classdef", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! fseek (ffile, pos, SEEK_SET); return status; } --- 3368,3383 ---- { bool status = false; ! long pos = gnulib::ftell (ffile); char buf [10]; ! gnulib::fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "classdef", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! gnulib::fseek (ffile, pos, SEEK_SET); return status; } *************** *** 3428,3443 **** { bool status = false; ! long pos = ftell (ffile); char buf [10]; ! fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "function", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! fseek (ffile, pos, SEEK_SET); return status; } --- 3428,3443 ---- { bool status = false; ! long pos = gnulib::ftell (ffile); char buf [10]; ! gnulib::fgets (buf, 10, ffile); size_t len = strlen (buf); if (len > 8 && strncmp (buf, "function", 8) == 0 && ! (isalnum (buf[8]) || buf[8] == '_')) status = true; ! gnulib::fseek (ffile, pos, SEEK_SET); return status; } *************** *** 4223,4234 **** @noindent\n\ calls the function @code{acos} with the argument @samp{-1}.\n\ \n\ ! The function @code{feval} is necessary in order to be able to write\n\ ! functions that call user-supplied functions, because Octave does not\n\ ! have a way to declare a pointer to a function (like C) or to declare a\n\ ! special kind of variable that can be used to hold the name of a function\n\ ! (like @code{EXTERNAL} in Fortran). Instead, you must refer to functions\n\ ! by name, and use @code{feval} to call them.\n\ @end deftypefn") { octave_value_list retval; --- 4223,4248 ---- @noindent\n\ calls the function @code{acos} with the argument @samp{-1}.\n\ \n\ ! The function @code{feval} can also be used with function handles of\n\ ! any sort (@pxref{Function Handles}). Historically, @code{feval} was\n\ ! the only way to call user-supplied functions in strings, but\n\ ! function handles are now preferred due to the cleaner syntax they\n\ ! offer. For example,\n\ ! \n\ ! @example\n\ ! @group\n\ ! @var{f} = @@exp;\n\ ! feval (@var{f}, 1)\n\ ! @result{} 2.7183\n\ ! @var{f} (1)\n\ ! @result{} 2.7183\n\ ! @end group\n\ ! @end example\n\ ! \n\ ! @noindent\n\ ! are equivalent ways to call the function referred to by @var{f}. If it\n\ ! cannot be predicted beforehand that @var{f} is a function handle or the\n\ ! function name in a string, @code{feval} can be used instead.\n\ @end deftypefn") { octave_value_list retval; diff -cNr octave-3.4.2/src/oct-stream.cc octave-3.4.3/src/oct-stream.cc *** octave-3.4.2/src/oct-stream.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/oct-stream.cc 2011-09-01 09:39:19.000000000 -0400 *************** *** 1352,1368 **** is.putback (c3); is.putback (c2); is.putback (c1); ! is >> ref; } ! } ! else ! { ! is.putback (c2); ! is.putback (c1); ! ! is >> ref; ! } } } } --- 1352,1375 ---- is.putback (c3); is.putback (c2); is.putback (c1); ! is >> ref; } ! } ! else ! { ! is.putback (c2); ! is.putback (c1); ! ! is >> ref; ! } ! } ! else ! { ! is.putback (c2); ! is.putback (c1); ! ! is >> ref; } } } *************** *** 1521,1527 **** tmp[n++] = static_cast (c); \ \ if (n > 0 && c == EOF) \ ! is.clear () // For a `%s' format, skip initial whitespace and then read until the // next whitespace character or until WIDTH characters have been read. --- 1528,1536 ---- tmp[n++] = static_cast (c); \ \ if (n > 0 && c == EOF) \ ! is.clear (); \ ! \ ! tmp.resize (n) // For a `%s' format, skip initial whitespace and then read until the // next whitespace character or until WIDTH characters have been read. diff -cNr octave-3.4.2/src/OPERATORS/op-fcm-fcm.cc octave-3.4.3/src/OPERATORS/op-fcm-fcm.cc *** octave-3.4.2/src/OPERATORS/op-fcm-fcm.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/OPERATORS/op-fcm-fcm.cc 2011-09-20 13:26:04.000000000 -0400 *************** *** 214,220 **** DEFNDASSIGNOP_FN (assign, float_complex_matrix, float_complex_matrix, float_complex_array, assign) ! DEFNDASSIGNOP_FN (dbl_assign, float_complex_matrix, complex_matrix, float_complex_array, assign) DEFNULLASSIGNOP_FN (null_assign, float_complex_matrix, delete_elements) --- 214,222 ---- DEFNDASSIGNOP_FN (assign, float_complex_matrix, float_complex_matrix, float_complex_array, assign) ! DEFNDASSIGNOP_FN (dbl_clx_assign, float_complex_matrix, complex_matrix, ! float_complex_array, assign) ! DEFNDASSIGNOP_FN (dbl_assign, float_complex_matrix, matrix, float_complex_array, assign) DEFNULLASSIGNOP_FN (null_assign, float_complex_matrix, delete_elements) *************** *** 308,314 **** INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_float_complex_matrix, assign); INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, ! octave_complex_matrix, dbl_assign); INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_null_matrix, null_assign); --- 310,318 ---- INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_float_complex_matrix, assign); INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, ! octave_complex_matrix, dbl_clx_assign); ! INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, ! octave_matrix, dbl_assign); INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_null_matrix, null_assign); diff -cNr octave-3.4.2/src/OPERATORS/op-m-s.cc octave-3.4.3/src/OPERATORS/op-m-s.cc *** octave-3.4.2/src/OPERATORS/op-m-s.cc 2011-04-11 10:57:08.000000000 -0400 --- octave-3.4.3/src/OPERATORS/op-m-s.cc 2011-09-20 13:26:04.000000000 -0400 *************** *** 29,34 **** --- 29,35 ---- #include "ov.h" #include "ov-re-mat.h" #include "ov-flt-re-mat.h" + #include "ov-flt-cx-mat.h" #include "ov-scalar.h" #include "ov-typeinfo.h" #include "ops.h" *************** *** 106,111 **** --- 107,113 ---- DEFNDASSIGNOP_FN (assign, matrix, scalar, scalar, assign) DEFNDASSIGNOP_FN (sgl_assign, float_matrix, scalar, float_scalar, assign) + DEFNDASSIGNOP_FN (clx_sgl_assign, float_complex_matrix, scalar, float_complex, assign) DEFNDASSIGNOP_OP (assign_add, matrix, scalar, scalar, +=) DEFNDASSIGNOP_OP (assign_sub, matrix, scalar, scalar, -=) *************** *** 144,149 **** --- 146,152 ---- INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_scalar, assign); INSTALL_ASSIGNOP (op_asn_eq, octave_float_matrix, octave_scalar, sgl_assign); + INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_scalar, clx_sgl_assign); INSTALL_ASSIGNOP (op_add_eq, octave_matrix, octave_scalar, assign_add); INSTALL_ASSIGNOP (op_sub_eq, octave_matrix, octave_scalar, assign_sub); diff -cNr octave-3.4.2/src/xdiv.cc octave-3.4.3/src/xdiv.cc *** octave-3.4.2/src/xdiv.cc 2011-04-11 10:57:09.000000000 -0400 --- octave-3.4.3/src/xdiv.cc 2011-09-01 09:38:53.000000000 -0400 *************** *** 64,77 **** template bool ! mx_leftdiv_conform (const T1& a, const T2& b) { ! octave_idx_type a_nr = a.rows (); octave_idx_type b_nr = b.rows (); if (a_nr != b_nr) { ! octave_idx_type a_nc = a.cols (); octave_idx_type b_nc = b.cols (); gripe_nonconformant ("operator \\", a_nr, a_nc, b_nr, b_nc); --- 64,77 ---- template bool ! mx_leftdiv_conform (const T1& a, const T2& b, blas_trans_type blas_trans) { ! octave_idx_type a_nr = blas_trans == blas_no_trans ? a.rows () : a.cols (); octave_idx_type b_nr = b.rows (); if (a_nr != b_nr) { ! octave_idx_type a_nc = blas_trans == blas_no_trans ? a.cols () : a.rows (); octave_idx_type b_nc = b.cols (); gripe_nonconformant ("operator \\", a_nr, a_nc, b_nr, b_nc); *************** *** 82,88 **** } #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \ ! template bool mx_leftdiv_conform (const T1&, const T2&) INSTANTIATE_MX_LEFTDIV_CONFORM (Matrix, Matrix); INSTANTIATE_MX_LEFTDIV_CONFORM (Matrix, ComplexMatrix); --- 82,88 ---- } #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \ ! template bool mx_leftdiv_conform (const T1&, const T2&, blas_trans_type) INSTANTIATE_MX_LEFTDIV_CONFORM (Matrix, Matrix); INSTANTIATE_MX_LEFTDIV_CONFORM (Matrix, ComplexMatrix); *************** *** 352,358 **** Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return Matrix (); octave_idx_type info; --- 352,358 ---- Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return Matrix (); octave_idx_type info; *************** *** 364,370 **** ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return ComplexMatrix (); octave_idx_type info; --- 364,370 ---- ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return ComplexMatrix (); octave_idx_type info; *************** *** 377,383 **** ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return ComplexMatrix (); octave_idx_type info; --- 377,383 ---- ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return ComplexMatrix (); octave_idx_type info; *************** *** 389,395 **** ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return ComplexMatrix (); octave_idx_type info; --- 389,395 ---- ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return ComplexMatrix (); octave_idx_type info; *************** *** 650,656 **** FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return FloatMatrix (); octave_idx_type info; --- 650,656 ---- FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return FloatMatrix (); octave_idx_type info; *************** *** 662,668 **** FloatComplexMatrix xleftdiv (const FloatMatrix& a, const FloatComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return FloatComplexMatrix (); octave_idx_type info; --- 662,668 ---- FloatComplexMatrix xleftdiv (const FloatMatrix& a, const FloatComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return FloatComplexMatrix (); octave_idx_type info; *************** *** 675,681 **** FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return FloatComplexMatrix (); octave_idx_type info; --- 675,681 ---- FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return FloatComplexMatrix (); octave_idx_type info; *************** *** 687,693 **** FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b)) return FloatComplexMatrix (); octave_idx_type info; --- 687,693 ---- FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b, MatrixType &typ, blas_trans_type transt) { ! if (! mx_leftdiv_conform (a, b, transt)) return FloatComplexMatrix (); octave_idx_type info; *************** *** 782,788 **** MT dmm_leftdiv_impl (const DMT& d, const MT& a) { ! if (! mx_leftdiv_conform (d, a)) return MT (); octave_idx_type m = d.cols (), n = a.cols (), k = a.rows (), l = d.length (); --- 782,788 ---- MT dmm_leftdiv_impl (const DMT& d, const MT& a) { ! if (! mx_leftdiv_conform (d, a, blas_no_trans)) return MT (); octave_idx_type m = d.cols (), n = a.cols (), k = a.rows (), l = d.length (); *************** *** 931,937 **** MT dmdm_leftdiv_impl (const DMT& d, const MT& a) { ! if (! mx_leftdiv_conform (d, a)) return MT (); octave_idx_type m = d.cols (), n = a.cols (), k = d.rows (); --- 931,937 ---- MT dmdm_leftdiv_impl (const DMT& d, const MT& a) { ! if (! mx_leftdiv_conform (d, a, blas_no_trans)) return MT (); octave_idx_type m = d.cols (), n = a.cols (), k = d.rows (); diff -cNr octave-3.4.2/src/xpow.h octave-3.4.3/src/xpow.h *** octave-3.4.2/src/xpow.h 2011-04-11 10:57:09.000000000 -0400 --- octave-3.4.3/src/xpow.h 2011-09-20 13:26:04.000000000 -0400 *************** *** 41,158 **** class octave_value; class Range; ! extern octave_value xpow (double a, double b); ! extern octave_value xpow (double a, const Matrix& b); ! extern octave_value xpow (double a, const Complex& b); ! extern octave_value xpow (double a, const ComplexMatrix& b); ! extern octave_value xpow (const Matrix& a, double b); ! extern octave_value xpow (const Matrix& a, const Complex& b); ! extern octave_value xpow (const DiagMatrix& a, double b); ! extern octave_value xpow (const DiagMatrix& a, const Complex& b); ! extern octave_value xpow (const PermMatrix& a, double b); ! extern octave_value xpow (const Complex& a, double b); ! extern octave_value xpow (const Complex& a, const Matrix& b); ! extern octave_value xpow (const Complex& a, const Complex& b); ! extern octave_value xpow (const Complex& a, const ComplexMatrix& b); ! extern octave_value xpow (const ComplexMatrix& a, double b); ! extern octave_value xpow (const ComplexMatrix& a, const Complex& b); ! extern octave_value xpow (const ComplexDiagMatrix& a, double b); ! extern octave_value xpow (const ComplexDiagMatrix& a, const Complex& b); ! extern octave_value elem_xpow (double a, const Matrix& b); ! extern octave_value elem_xpow (double a, const ComplexMatrix& b); ! extern octave_value elem_xpow (double a, const Range& r); ! extern octave_value elem_xpow (const Matrix& a, double b); ! extern octave_value elem_xpow (const Matrix& a, const Matrix& b); ! extern octave_value elem_xpow (const Matrix& a, const Complex& b); ! extern octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b); ! extern octave_value elem_xpow (const Complex& a, const Matrix& b); ! extern octave_value elem_xpow (const Complex& a, const ComplexMatrix& b); ! extern octave_value elem_xpow (const Complex& a, const Range& r); ! extern octave_value elem_xpow (const ComplexMatrix& a, double b); ! extern octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b); ! extern octave_value elem_xpow (const ComplexMatrix& a, const Complex& b); ! extern octave_value elem_xpow (const ComplexMatrix& a, const ComplexMatrix& b); ! extern octave_value elem_xpow (double a, const NDArray& b); ! extern octave_value elem_xpow (double a, const ComplexNDArray& b); ! extern octave_value elem_xpow (const NDArray& a, double b); ! extern octave_value elem_xpow (const NDArray& a, const NDArray& b); ! extern octave_value elem_xpow (const NDArray& a, const Complex& b); ! extern octave_value elem_xpow (const NDArray& a, const ComplexNDArray& b); ! extern octave_value elem_xpow (const Complex& a, const NDArray& b); ! extern octave_value elem_xpow (const Complex& a, const ComplexNDArray& b); ! extern octave_value elem_xpow (const ComplexNDArray& a, double b); ! extern octave_value elem_xpow (const ComplexNDArray& a, const NDArray& b); ! extern octave_value elem_xpow (const ComplexNDArray& a, const Complex& b); ! extern octave_value elem_xpow (const ComplexNDArray& a, const ComplexNDArray& b); ! extern octave_value xpow (float a, float b); ! extern octave_value xpow (float a, const FloatMatrix& b); ! extern octave_value xpow (float a, const FloatComplex& b); ! extern octave_value xpow (float a, const FloatComplexMatrix& b); ! extern octave_value xpow (const FloatMatrix& a, float b); ! extern octave_value xpow (const FloatMatrix& a, const FloatComplex& b); ! extern octave_value xpow (const FloatDiagMatrix& a, float b); ! extern octave_value xpow (const FloatDiagMatrix& a, const FloatComplex& b); ! extern octave_value xpow (const FloatComplex& a, float b); ! extern octave_value xpow (const FloatComplex& a, const FloatMatrix& b); ! extern octave_value xpow (const FloatComplex& a, const FloatComplex& b); ! extern octave_value xpow (const FloatComplex& a, const FloatComplexMatrix& b); ! extern octave_value xpow (const FloatComplexMatrix& a, float b); ! extern octave_value xpow (const FloatComplexMatrix& a, const FloatComplex& b); ! extern octave_value xpow (const FloatComplexDiagMatrix& a, float b); ! extern octave_value xpow (const FloatComplexDiagMatrix& a, const FloatComplex& b); ! extern octave_value elem_xpow (float a, const FloatMatrix& b); ! extern octave_value elem_xpow (float a, const FloatComplexMatrix& b); ! extern octave_value elem_xpow (const FloatMatrix& a, float b); ! extern octave_value elem_xpow (const FloatMatrix& a, const FloatMatrix& b); ! extern octave_value elem_xpow (const FloatMatrix& a, const FloatComplex& b); ! extern octave_value elem_xpow (const FloatMatrix& a, const FloatComplexMatrix& b); ! extern octave_value elem_xpow (const FloatComplex& a, const FloatMatrix& b); ! extern octave_value elem_xpow (const FloatComplex& a, const FloatComplexMatrix& b); ! extern octave_value elem_xpow (const FloatComplexMatrix& a, float b); ! extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatMatrix& b); ! extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplex& b); ! extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplexMatrix& b); ! extern octave_value elem_xpow (float a, const FloatNDArray& b); ! extern octave_value elem_xpow (float a, const FloatComplexNDArray& b); ! extern octave_value elem_xpow (const FloatNDArray& a, float b); ! extern octave_value elem_xpow (const FloatNDArray& a, const FloatNDArray& b); ! extern octave_value elem_xpow (const FloatNDArray& a, const FloatComplex& b); ! extern octave_value elem_xpow (const FloatNDArray& a, const FloatComplexNDArray& b); ! extern octave_value elem_xpow (const FloatComplex& a, const FloatNDArray& b); ! extern octave_value elem_xpow (const FloatComplex& a, const FloatComplexNDArray& b); ! extern octave_value elem_xpow (const FloatComplexNDArray& a, float b); ! extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatNDArray& b); ! extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplex& b); ! extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplexNDArray& b); #endif --- 41,158 ---- class octave_value; class Range; ! extern OCTINTERP_API octave_value xpow (double a, double b); ! extern OCTINTERP_API octave_value xpow (double a, const Matrix& b); ! extern OCTINTERP_API octave_value xpow (double a, const Complex& b); ! extern OCTINTERP_API octave_value xpow (double a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value xpow (const Matrix& a, double b); ! extern OCTINTERP_API octave_value xpow (const Matrix& a, const Complex& b); ! extern OCTINTERP_API octave_value xpow (const DiagMatrix& a, double b); ! extern OCTINTERP_API octave_value xpow (const DiagMatrix& a, const Complex& b); ! extern OCTINTERP_API octave_value xpow (const PermMatrix& a, double b); ! extern OCTINTERP_API octave_value xpow (const Complex& a, double b); ! extern OCTINTERP_API octave_value xpow (const Complex& a, const Matrix& b); ! extern OCTINTERP_API octave_value xpow (const Complex& a, const Complex& b); ! extern OCTINTERP_API octave_value xpow (const Complex& a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value xpow (const ComplexMatrix& a, double b); ! extern OCTINTERP_API octave_value xpow (const ComplexMatrix& a, const Complex& b); ! extern OCTINTERP_API octave_value xpow (const ComplexDiagMatrix& a, double b); ! extern OCTINTERP_API octave_value xpow (const ComplexDiagMatrix& a, const Complex& b); ! extern OCTINTERP_API octave_value elem_xpow (double a, const Matrix& b); ! extern OCTINTERP_API octave_value elem_xpow (double a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (double a, const Range& r); ! extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, double b); ! extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, const Matrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, const Complex& b); ! extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const Matrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const Range& r); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, double b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, const Complex& b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, const ComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (double a, const NDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (double a, const ComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, double b); ! extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, const NDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, const Complex& b); ! extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, const ComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const NDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const ComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, double b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, const NDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, const Complex& b); ! extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, const ComplexNDArray& b); ! extern OCTINTERP_API octave_value xpow (float a, float b); ! extern OCTINTERP_API octave_value xpow (float a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value xpow (float a, const FloatComplex& b); ! extern OCTINTERP_API octave_value xpow (float a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value xpow (const FloatMatrix& a, float b); ! extern OCTINTERP_API octave_value xpow (const FloatMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value xpow (const FloatDiagMatrix& a, float b); ! extern OCTINTERP_API octave_value xpow (const FloatDiagMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value xpow (const FloatComplex& a, float b); ! extern OCTINTERP_API octave_value xpow (const FloatComplex& a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value xpow (const FloatComplex& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value xpow (const FloatComplex& a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value xpow (const FloatComplexMatrix& a, float b); ! extern OCTINTERP_API octave_value xpow (const FloatComplexMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value xpow (const FloatComplexDiagMatrix& a, float b); ! extern OCTINTERP_API octave_value xpow (const FloatComplexDiagMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value elem_xpow (float a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (float a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, float b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, float b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, const FloatMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplexMatrix& b); ! extern OCTINTERP_API octave_value elem_xpow (float a, const FloatNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (float a, const FloatComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, float b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, const FloatNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, const FloatComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, const FloatNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, const FloatComplexNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, float b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, const FloatNDArray& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplex& b); ! extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplexNDArray& b); #endif diff -cNr octave-3.4.2/test/Makefile.in octave-3.4.3/test/Makefile.in *** octave-3.4.2/test/Makefile.in 2011-06-24 10:38:42.000000000 -0400 --- octave-3.4.3/test/Makefile.in 2011-10-10 10:24:16.000000000 -0400 *************** *** 68,90 **** $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/codeset.m4 \ ! $(top_srcdir)/m4/configmake.m4 $(top_srcdir)/m4/d-ino.m4 \ ! $(top_srcdir)/m4/d-type.m4 $(top_srcdir)/m4/dirent_h.m4 \ ! $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ ! $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/errno_h.m4 \ ! $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \ ! $(top_srcdir)/m4/fchdir.m4 $(top_srcdir)/m4/fclose.m4 \ ! $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl.m4 \ ! $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \ ! $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filemode.m4 \ ! $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/float_h.m4 \ ! $(top_srcdir)/m4/floor.m4 $(top_srcdir)/m4/floorf.m4 \ ! $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/ftell.m4 \ ! $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ --- 68,92 ---- $(top_srcdir)/m4/canonicalize.m4 $(top_srcdir)/m4/ceil.m4 \ $(top_srcdir)/m4/ceilf.m4 $(top_srcdir)/m4/chdir-long.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/chown.m4 \ ! $(top_srcdir)/m4/close.m4 $(top_srcdir)/m4/closedir.m4 \ ! $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ ! $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ ! $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ ! $(top_srcdir)/m4/dirname.m4 \ ! $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup.m4 \ ! $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ ! $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ ! $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ ! $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \ ! $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ ! $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ ! $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ ! $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ ! $(top_srcdir)/m4/floorf.m4 $(top_srcdir)/m4/fnmatch.m4 \ ! $(top_srcdir)/m4/fopen.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/fseek.m4 \ ! $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fstat.m4 \ ! $(top_srcdir)/m4/ftell.m4 $(top_srcdir)/m4/ftello.m4 \ $(top_srcdir)/m4/getcwd-abort-bug.m4 \ $(top_srcdir)/m4/getcwd-path-max.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdtablesize.m4 \ *************** *** 94,142 **** $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lchown.m4 \ ! $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/link.m4 \ ! $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ ! $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ ! $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ ! $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \ ! $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ ! $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \ ! $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ ! $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbrtowc.m4 \ ! $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ ! $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/md5.m4 \ ! $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ ! $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/mkdir.m4 \ ! $(top_srcdir)/m4/mkfifo.m4 $(top_srcdir)/m4/mkstemp.m4 \ ! $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ ! $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ ! $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/readlink.m4 \ ! $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/rename.m4 \ ! $(top_srcdir)/m4/rmdir.m4 $(top_srcdir)/m4/round.m4 \ ! $(top_srcdir)/m4/roundf.m4 $(top_srcdir)/m4/save-cwd.m4 \ ! $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/sigaction.m4 \ ! $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ ! $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ ! $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ ! $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ ! $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strptime.m4 \ ! $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ --- 96,151 ---- $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \ ! $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/largefile.m4 \ ! $(top_srcdir)/m4/lchown.m4 $(top_srcdir)/m4/libtool.m4 \ ! $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ ! $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ ! $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/longlong.m4 \ ! $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ ! $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ ! $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ ! $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ ! $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mathfunc.m4 \ ! $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ ! $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ ! $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ ! $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ ! $(top_srcdir)/m4/mkdir.m4 $(top_srcdir)/m4/mkfifo.m4 \ ! $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ ! $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ ! $(top_srcdir)/m4/msvc-inval.m4 \ ! $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/nproc.m4 $(top_srcdir)/m4/open.m4 \ ! $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/opendir.m4 \ ! $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/printf.m4 \ ! $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readdir.m4 \ ! $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \ ! $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/rmdir.m4 \ ! $(top_srcdir)/m4/round.m4 $(top_srcdir)/m4/roundf.m4 \ ! $(top_srcdir)/m4/save-cwd.m4 $(top_srcdir)/m4/select.m4 \ ! $(top_srcdir)/m4/sigaction.m4 $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ ! $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ ! $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ ! $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ ! $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ ! $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ ! $(top_srcdir)/m4/strcase.m4 $(top_srcdir)/m4/strdup.m4 \ $(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/strftime.m4 \ ! $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ ! $(top_srcdir)/m4/strptime.m4 $(top_srcdir)/m4/symlink.m4 \ ! $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ ! $(top_srcdir)/m4/sys_times_h.m4 \ ! $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/times.m4 \ ! $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \ ! $(top_srcdir)/m4/tmpfile.m4 $(top_srcdir)/m4/trunc.m4 \ $(top_srcdir)/m4/truncf.m4 $(top_srcdir)/m4/unistd-safer.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vsnprintf.m4 \ *************** *** 297,308 **** --- 306,320 ---- GNULIB_CEIL = @GNULIB_CEIL@ GNULIB_CEILF = @GNULIB_CEILF@ GNULIB_CEILL = @GNULIB_CEILL@ + GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ + GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COSL = @GNULIB_COSL@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ + GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ *************** *** 314,321 **** --- 326,338 ---- GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ + GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ + GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ + GNULIB_FFS = @GNULIB_FFS@ + GNULIB_FFSL = @GNULIB_FFSL@ + GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FLOOR = @GNULIB_FLOOR@ *************** *** 334,339 **** --- 351,357 ---- GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ + GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ *************** *** 423,428 **** --- 441,448 ---- GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ + GNULIB_OPENDIR = @GNULIB_OPENDIR@ + GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ *************** *** 430,444 **** --- 450,468 ---- GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ + GNULIB_PSELECT = @GNULIB_PSELECT@ + GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ + GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ + GNULIB_READDIR = @GNULIB_READDIR@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ *************** *** 448,453 **** --- 472,478 ---- GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ + GNULIB_REWINDDIR = @GNULIB_REWINDDIR@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ *************** *** 581,586 **** --- 606,612 ---- HAVE_BTOWC = @HAVE_BTOWC@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ + HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COSL = @HAVE_COSL@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ *************** *** 592,597 **** --- 618,624 ---- HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ + HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ *************** *** 622,627 **** --- 649,655 ---- HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ + HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ *************** *** 635,640 **** --- 663,669 ---- HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ + HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ *************** *** 645,652 **** --- 674,685 ---- HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ + HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ + HAVE_FFS = @HAVE_FFS@ + HAVE_FFSL = @HAVE_FFSL@ + HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ *************** *** 694,716 **** --- 727,758 ---- HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ + HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_OPENAT = @HAVE_OPENAT@ + HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ + HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PCRE_CONFIG = @HAVE_PCRE_CONFIG@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ + HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ + HAVE_PSELECT = @HAVE_PSELECT@ + HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PWRITE = @HAVE_PWRITE@ + HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ + HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ + HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCANDIR = @HAVE_SCANDIR@ *************** *** 728,735 **** --- 770,779 ---- HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ + HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ + HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ *************** *** 839,844 **** --- 883,889 ---- LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ + LIB_SELECT = @LIB_SELECT@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ *************** *** 867,878 **** --- 912,925 ---- NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIMES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ + NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ *************** *** 889,900 **** --- 936,949 ---- NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ + NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIMES_H = @NEXT_SYS_TIMES_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ + NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ *************** *** 962,967 **** --- 1011,1017 ---- REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ + REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOOR = @REPLACE_FLOOR@ *************** *** 1027,1034 **** --- 1077,1087 ---- REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ + REPLACE_PSELECT = @REPLACE_PSELECT@ + REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ + REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_REALLOC = @REPLACE_REALLOC@ *************** *** 1066,1071 **** --- 1119,1125 ---- REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ + REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ diff -cNr octave-3.4.2/test/test_io.m octave-3.4.3/test/test_io.m *** octave-3.4.2/test/test_io.m 2011-04-11 10:57:09.000000000 -0400 --- octave-3.4.3/test/test_io.m 2011-09-01 09:39:19.000000000 -0400 *************** *** 242,247 **** --- 242,250 ---- %% test/octave.test/io/puts-4.m %!error puts (1, 2); + %!assert (sscanf ('123456', '%10c'), '123456') + %!assert (sscanf ('123456', '%10s'), '123456') + %% test/octave.test/io/sscanf-1.m %!test %! [a, b, c] = sscanf ("1.2 3 foo", "%f%d%s", "C"); PATCH_EOF