Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <24736.1399162995@cathet.us>
Date: Sat, 03 May 2014 18:23:15 -0600
From: "Anthony J. Bentley" <anthony@...het.us>
cc: musl@...ts.openwall.com
Subject: Re: adding errc to support sed (FreeBSD)

"Anthony J. Bentley" writes:
> "writeonce@...ipix.org" writes:
> > 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);
> > }
> 
> If you add this then you should probably implement verrc, warnc, and
> vwarnc as well.
> 
> These functions exist in FreeBSD, NetBSD, and OS X and are probably
> going to be added to OpenBSD soon.

Actually they are already in OpenBSD too.

-- 
Anthony J. Bentley

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.