|
|
Message-ID: <536582B8.5030304@midipix.org>
Date: Sat, 03 May 2014 19:58:48 -0400
From: "writeonce@...ipix.org" <writeonce@...ipix.org>
To: musl@...ts.openwall.com
Subject: adding errc to support sed (FreeBSD)
Greetings,
The FreeBSD implementation of sed uses errc; its implementation should
probably be as simple as:
_Noreturn void errc(int eval, int status, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vwarnx(status, fmt, ap);
va_end(ap);
exit(eval);
}
The FreeBSD sed also needs a couple of macros that are currently not
defined, specifically ALLPERMS, DEFFILEMODE and REG_STARTEND. Any
reason not to add them when _BSD_SOURCE is defined?
Kind regards,
zg
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.