of appending. Fixes build when typical LilyPond 1.4 leftovers clutter
the system.
* flower/include/file-path.hh (prepend): New function.
+2002-08-21 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * lily/main.cc (setup_paths): Prepend dirs to search path, instead
+ of appending. Fixes build when typical LilyPond 1.4 leftovers clutter
+ the system.
+
+ * flower/include/file-path.hh (prepend): New function.
+
2002-08-20 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* Documentation/misc/ChangeLog-1.5: move 1.5 ChangeLog to misc/
String find (String nm) const;
Array<String>::push;
+ void prepend (String str) { Array<String>::insert (str, 0); }
String string ()const;
bool try_add (String str);
void add (String);
for (char **s = suffixes; *s; s++)
{
String p = prefix_directory[i] + to_string ('/') + String (*s);
- global_path.add (p);
+ global_path.prepend (p);
#if !KPATHSEA
/* Urg: GNU make's $ (word) index starts at 1 */