nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] OpenBSD added to the buildbot cluster


From: Pascal Stumpf
Subject: Re: [Nmh-workers] OpenBSD added to the buildbot cluster
Date: Sat, 14 Dec 2013 00:41:06 +0100

On Fri, 13 Dec 2013 18:17:49 -0500, David Levine wrote:
> Pascal wrote:
> 
> > On Thu, 12 Dec 2013 19:52:54 -0500, David Levine wrote:
> > > test-manpages fails because of a slew of these:
> > > 
> > >   man8/post.8:1: warning: unbalanced .el request
> > > 
> > > Any ideas?
> > 
> > To me, this looks like it could be caused by a local patch to
> > an-old.tmac that's applied in the OpenBSD groff port.  CC'ing Ingo
> > Schwarze, our roff guru. :)
> 
> Thanks.  Adding -Wel to our groff invocation (this is in a test)
> shut them up.
> 
> > > Also, any ideas on how to squelch these:
> > > 
> > >   warning: strcpy() is almost always misused, please use strlcpy()
> > > 
> > > Based on a very quick web search, it looks like they're from the
> > > linker and there's no easy way.  We could filter them out of the
> > > linker output.
> > 
> > Well, the proper way to get rid of them is to not use unsafe APIs ...
> 
> Not everyone agrees, reportedly including the glibc maintainers:
> http://lwn.net/Articles/507319/

Yeah, but you have to admit that someone seriously suggesting

*((char *) mempcpy (dst, src, n)) = '\0';

as strlcpy replacement is pretty ...  delusional, to put it nicely.  And
completely unable to read a manual page.

> > But of course, that's a major development decision and would require
> > lots of care to do properly.
> 
> Right.  I'll trust that the approx. 150 occurrences in nmh are
> safe and just filter out the warnings.

I wouldn't.  But that's your decision ...

> David
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]