From: Han-Wen Nienhuys Date: Tue, 3 Oct 2006 13:19:12 +0000 (+0000) Subject: (link_file): verbosity for OSError. X-Git-Tag: cvs/HEAD~26 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11376d6e9bc77bbf858086500fcb848a5540748c;p=lilypond.git (link_file): verbosity for OSError. --- diff --git a/ChangeLog b/ChangeLog index f59a27fc85..fa2f8e518d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-10-03 Han-Wen Nienhuys + * buildscripts/output-distance.py (link_file): verbosity for OSError. + * lily/book.cc: #include cleanup. * lily/include/lily-guile-macros.hh: add assert to diff --git a/buildscripts/output-distance.py b/buildscripts/output-distance.py index 1249746e6f..7c7a914d56 100644 --- a/buildscripts/output-distance.py +++ b/buildscripts/output-distance.py @@ -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 index 0000000000..7d65c9e238 --- /dev/null +++ b/input/regression/spacing-no-note.ly @@ -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 } +}