Mercurial > hg > octave-nkf
view liboctave/link-deps.mk @ 16967:52c1b832d98e
imread: make sure test file is removed if imread() errors.
* imread.m: file removal is made before the test so it occurs even
if test fails. However, if imread() errors, file was never removed.
Fixed with use of unwind_protect block. Also, use tmpnam() to
choose filename instead of current working directory.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Fri, 12 Jul 2013 18:06:20 +0100 |
parents | c898dbe14e1d |
children | 0946b0e06544 |
line wrap: on
line source
GNULIB_LINK_DEPS = \ $(COPYSIGNF_LIBM)\ $(COPYSIGN_LIBM)\ $(FLOORF_LIBM)\ $(FLOOR_LIBM)\ $(GETHOSTNAME_LIB)\ $(LIBSOCKET)\ $(LIB_NANOSLEEP)\ $(LIB_SELECT)\ $(LTLIBINTL)\ $(ROUNDF_LIBM)\ $(ROUND_LIBM)\ $(TRUNCF_LIBM)\ $(TRUNC_LIBM) LIBOCTAVE_LINK_DEPS = \ $(GNULIB_LINK_DEPS) \ $(SPARSE_XLIBS) \ $(ARPACK_LIBS) \ $(QRUPDATE_LIBS) \ $(FFTW_XLIBS) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(READLINE_LIBS) \ $(TERM_LIBS) \ $(LIBGLOB) \ $(REGEX_LIBS) \ $(DL_LIBS) \ $(PTHREAD_LIBS) \ $(FLIBS) \ $(LIBS) LIBOCTAVE_LINK_OPTS = \ $(SPARSE_XLDFLAGS) \ $(ARPACK_LDFLAGS) \ $(QRUPDATE_LDFLAGS) \ $(FFTW_XLDFLAGS)