]> git.tdb.fi Git - ext/subsurface.git/commit
Clean up save-file output a bit
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Sep 2011 00:37:41 +0000 (17:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Sep 2011 00:37:41 +0000 (17:37 -0700)
commitc139aa8d51ef63a79cf8eeb809621ad06b72b808
treefc86c28507758006c002bdcfe9f276301bbbbd01
parentadc92d6de2ee1c71e88b66fb9c41e52de8cf4ea1
Clean up save-file output a bit

Use the "empty element" form for samples that don't have any events
associated with them (and none do, right now).  This avoids that
annoying "</sample>" crud.

And output the units in the output helpers, so that you can't forget
them even if you try.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
save-xml.c