
28 Oct
2010
28 Oct
'10
9:31 p.m.
[adding bug-gnulib] On 10/28/2010 01:25 PM, Daniel Veillard wrote:
case 'v': - /* FIXME - list a copyright blurb, as in GNU programs? */ - puts(VERSION); + vshShowVersion(ctl); exit(EXIT_SUCCESS);
Pre-existing bug - we don't detect write failure to stdout to exit with non-zero status. Unchanged by your patch.
Not sure it's really a problem, but okay I will look.
The gnulib module closeout can automatically take care of this, but it is currently licensed as GPL. Jim, Bruno, are you okay with relicensing closeout and close-stream as LGPLv2+? -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org