From a4c514e3890eab8fed791c086ce145e945d889d3 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 23:56:05 +0000 Subject: [PATCH] lilypond-1.3.90 --- CHANGES | 29 +++++++++++++++++++++++++++++ VERSION | 2 +- flower/file-path.cc | 14 ++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 95feb90029..dc84c63d28 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,32 @@ +1.3.89.jcn1 +=========== + +* Changed lilypond to LilyPond in ly2dvi, Mudela to LilyPond source. + +* Website fixes: Changed \interline to \staffspace in manual, removed offending + braces from mudela-book.tely. + +* Fixed slur attachment correction bug. + +* Made some fixes to Coriolan. + +1.3.89.hwn1 +=========== + +* Only open files, not directories + +* bugfix: textNonEmpty. + +* Look ahead in auto-change iterator for rests. This means rests +before the note leading to an automatic staff switch are switched as +well (improves the looks of scarlatti-test). Associated fixes and +additions for Music_iterator::skip () and friends. + +* Bugfix: only quantise staccato inside the staff. + +* cleanups for beam and stem. Removed global GUILE namespace calls +from Beam and Stem. + 1.3.89 ====== diff --git a/VERSION b/VERSION index 23eb5f64a8..ce0904ffd5 100644 --- a/VERSION +++ b/VERSION @@ -1,7 +1,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=3 -PATCH_LEVEL=89 +PATCH_LEVEL=90 MY_PATCH_LEVEL= # use the above to send patches: MY_PATCH_LEVEL is always empty for a diff --git a/flower/file-path.cc b/flower/file-path.cc index 10df133946..501554ea65 100644 --- a/flower/file-path.cc +++ b/flower/file-path.cc @@ -2,7 +2,10 @@ path.cc - manipulation of paths and filenames. */ + #include +#include +#include #include "config.h" #include "file-path.hh" @@ -98,6 +101,17 @@ File_path::find (String nm) const path += nm; DEBUG_OUT << path << "? "; + + /* + Check if directory. TODO: encapsulate for autoconf + */ + struct stat sbuf; + if (stat (path.ch_C(), &sbuf) == ENOENT) + continue; + + if (!(sbuf.st_mode & __S_IFREG)) + continue; + FILE *f = fopen (path.ch_C(), "r"); // ugh! if (f) { -- 2.39.5