Commit Graph

7 Commits

Author SHA1 Message Date
jlh
294fe48e73 Remove stray tabs.
Submitted by:	kib
Approved by:	kib (mentor)
MFC after:	1 week
2013-01-14 11:06:50 +00:00
jlh
01884f3818 Allow commands without any additional arguments, as stated in the
manpage.  While here, exit early when there is nothing to do.

PR:            168415
Submitted by:  Zhihao Yuan (initial version)
MFC after:     1 week
Approved by:   kib (mentor)
2013-01-14 11:03:13 +00:00
delphij
5fc6019d0c WARNS is now default to 6. 2012-09-11 21:13:18 +00:00
joel
3a772ce0a6 Remove end of line whitespace. 2012-05-12 19:59:37 +00:00
jlh
da2bdbf902 Always define LD_32_PRELOAD so it works for 32 bits binaries on
64 bits platforms.  Let rtld(1) decide if it needs to honor it
or not.

While here, fix a small bug in error reporting when asprintf(3)
returns an error.

Submitted by:	kib
Reviewed by:	kib (mentor)
MFC after:	1 week
2012-05-08 19:43:32 +00:00
jlh
cf28d816e5 Use standard getopt(3) error message.
Submitted by:	jilles
Approved by:	kib (mentor)
2012-04-29 08:17:44 +00:00
jlh
dfaa19ccd1 Import stdbuf(1) and the shared library it relies on.
This tool changes the default buffering behaviour of standard
stdio streams.

It only works on dynamic binaries.  To make it work for static
ones it would require cluttering stdio because there no single
entry point.

PR:		166660
Reviewed by:	current@, jhb
Approved by:	kib (mentor)
MFC after:	1 week
2012-04-28 20:52:20 +00:00