OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003895 [xmlto] regular use major always 2009-09-14 14:56 2009-10-07 20:56
Reporter dam View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0003895: xmlto calls 'tail' with wrong path
Description /opt/csw/bin/xmlto calls 'tail' with '-n 1' instead of '-1'. The options would be valid for /usr/xpg4/bin/tail, though.
Additional Information This would fix the problem:

build8s% diff /opt/csw/bin/xmlto /opt/csw/bin/xmlto.orig
354c354
< rootel=$(echo "xpath *" | xmllint --shell $INPUT_FILE 2> /dev/null |head -n 3 |/usr/xpg4/bin/tail -n 1 | cut -f 4 -d " " )
---
> rootel=$(echo "xpath *" | xmllint --shell $INPUT_FILE 2> /dev/null |head -n 3 |tail -n 1 | cut -f 4 -d " " )
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006700)
bwalton (administrator)
2009-09-14 22:29

I always run with /opt/csw/gnu near the head of my path, so this didn't bite me. It looks like I'll need to patch the source (easy) since there are no configure options for this tool. Will patch, reroll (with the pending 0.22 update) and submit upstream.

I'll add --with-tail to configure.

(0006718)
bwalton (administrator)
2009-09-18 20:30

Issue seemingly fixed an patches have been applied upstream.

Won't release until entire stack of docbook/xml stuff can go as a batch.
(0006814)
bwalton (administrator)
2009-10-07 20:56

Corrected via patch (accepted upstream).


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker