movebits: make the user-space test cases slightly easier
authorH. Peter Anvin <hpa@zytor.com>
Sun, 3 May 2009 22:07:52 +0000 (15:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 3 May 2009 22:07:52 +0000 (15:07 -0700)
commit6a65f76af9673bfb8c9e833fd199f9ec367e472f
tree228dda796fd82183dcbf946458a340a9554ce417
parentb55f8a80e17e7b9c1b003c808ea8048c49fbf59c
movebits: make the user-space test cases slightly easier

Make it a bit easier to write user-space test cases; use fgets+sscanf
so comment lines end up getting ignored.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/syslinux/movebits.c