]> git.donarmstrong.com Git - lilypond.git/commitdiff
(link_file): verbosity for OSError.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 3 Oct 2006 13:19:12 +0000 (13:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 3 Oct 2006 13:19:12 +0000 (13:19 +0000)
ChangeLog
buildscripts/output-distance.py
input/regression/spacing-no-note.ly [new file with mode: 0644]

index f59a27fc85855d57a066697cd4f84b5dd021f027..fa2f8e518d27fbbaef65ee9f4fb3c5b9b680cc9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-10-03  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * buildscripts/output-distance.py (link_file): verbosity for OSError.
+
        * lily/book.cc: #include cleanup.
 
        * lily/include/lily-guile-macros.hh: add assert to
index 1249746e6f496474cae5f6747bdc614b0f7e4b13..7c7a914d567dd23a4426c5d8e1c3b77f678b58f3 100644 (file)
@@ -623,7 +623,11 @@ def mkdir (x):
 
 def link_file (x, y):
     mkdir (os.path.split (y)[0])
-    os.link (x, y)
+    try:
+        os.link (x, y)
+    except OSError, z:
+        print 'OSError', x, y, z
+        raise OSError
     
 def open_write_file (x):
     d = os.path.split (x)[0]
diff --git a/input/regression/spacing-no-note.ly b/input/regression/spacing-no-note.ly
new file mode 100644 (file)
index 0000000..7d65c9e
--- /dev/null
@@ -0,0 +1,13 @@
+\header {
+
+  texidoc = "In the absence of NoteSpacings, wide objects still get
+extra space. In this case, the slash before the barline gets a little
+more space. "
+
+}
+\layout { ragged-right  = ##t }
+\version "2.9.21"
+{
+  \time 2/4 
+  \repeat "percent" 3  { c'4 }
+}