Page MenuHomeFreeBSD

Output strerror from xo_warn
ClosedPublic

Authored by alfred on Dec 25 2014, 3:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 4:12 AM
Unknown Object (File)
Wed, Dec 4, 6:40 PM
Unknown Object (File)
Wed, Dec 4, 6:15 PM
Unknown Object (File)
Wed, Dec 4, 6:15 PM
Unknown Object (File)
Wed, Dec 4, 5:50 PM
Unknown Object (File)
Mon, Dec 2, 4:46 PM
Unknown Object (File)
Nov 14 2024, 11:19 PM
Unknown Object (File)
Nov 5 2024, 1:48 PM
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).