Mercurial > octave-nkf
view build-aux/find-files-with-tests.sh @ 20476:b22528fd3deb
Add placeholder functions for save_ascii, save_binary for octave_java (bug #45694).
* ov-java.h: (save_ascii, load_ascii, save_binary, load_binary): New function
prototypes overriding defaults in ov.h.
* ov-java.cc (save_ascii, save_binary): New functions emit warning about
inability to save java objects, and then return true so that other variables
can be saved.
* ov-java.cc (load_ascii, load_binary): New functions silently skip over null
octave_java elements in a file produced by save_ascii() or save_binary().
author | Rik <rik@octave.org> |
---|---|
date | Thu, 13 Aug 2015 22:00:02 -0700 |
parents | 43e6415393ff |
children |
line wrap: on
line source
#! /bin/sh set -e GREP=${GREP:-grep} SED=${SED:-sed} srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$GREP -l '^%!' $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,,"; fi done