Page MenuHomeFreeBSD

Output strerror from xo_warn
ClosedPublic

Authored by alfred on Dec 25 2014, 3:16 AM.
Tags
None
Referenced Files
F132225819: D1378.id2864.diff
Tue, Oct 14, 11:31 PM
F132188081: D1378.id.diff
Tue, Oct 14, 2:46 PM
F132188078: D1378.id2882.diff
Tue, Oct 14, 2:46 PM
Unknown Object (File)
Tue, Oct 14, 1:10 AM
Unknown Object (File)
Tue, Oct 7, 12:20 AM
Unknown Object (File)
Mon, Oct 6, 9:08 AM
Unknown Object (File)
Mon, Oct 6, 6:14 AM
Unknown Object (File)
Mon, Oct 6, 4:37 AM
Subscribers
None

Details

Summary

Right now xo_warn() causes problems because it doesn't output the error number any longer.

This is what xo_warn should output:

/usr/src/lib/libxo % wc /nonexist
wc: /nonexist: open: No such file or directory

However libxo is broken and only outputs this:

/usr/src/lib/libxo % wc /nonexist         
wc: /nonexist: open

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alfred retitled this revision from to Output strerror from xo_warn.
alfred updated this object.
alfred edited the test plan for this revision. (Show Details)
alfred added reviewers: adrian, bapt, marcel, ngie.
alfred added subscribers: ngie, marcel, bapt, adrian.
alfred removed subscribers: adrian, bapt, marcel, ngie.
bapt edited edge metadata.

Looks good to me

This revision is now accepted and ready to land.Dec 25 2014, 10:14 AM
marcel edited edge metadata.

bapt@ already approved, but let me give a thumbs up as well.

ngie edited edge metadata.
alfred updated this revision to Diff 2882.

Closed by commit rS276273 (authored by alfred).