Re: [dev] [st][patch] externalpipe()

2013-12-21 Thread Christoph Lohmann
Greetings. On Sat, 21 Dec 2013 11:06:02 +0100 koneu wrote: > Rob wrote: > > Yeah, based it off url-select, love that feature. urxvt takes 8 seconds > > or so to open on my laptop, so necessity is the mother of invention and > > all that. > > Configure with --disable-everything and use urxvtd. Fa

Re: [dev] strlcpy and strlcat

2013-12-21 Thread Paul Onyschuk
There is also Annex K in C11 specifying strcpy_s and friends. Yet it is optional part of standard, so hard to say if it will be widely adopted. -- Paul Onyschuk

Re: [dev][announce] Optimizing C compiler & c++ compiler/runtime

2013-12-21 Thread Rob
Strake wrote: On 20/12/2013, Rob wrote: https://github.com/bobrippling/ucc-c-compiler Why are you rewriting libc? I think calling it a libc rewrite does it too much justice. When I started out I needed something I could statically link against that would be simple to debug, and had compatib

Re: [dev] strlcpy and strlcat

2013-12-21 Thread sin
On Sat, Dec 21, 2013 at 01:32:44PM +1100, Daniel Bryan wrote: > I just read this message by an OpenBSD developer on the prevalence of > strlcpy in the OpenBSD ports tree: > > http://marc.info/?l=openbsd-tech&m=138733933417096&w=2 > > I'd like to know what the opinion here is of these functions. I

Re: [dev] strlcpy and strlcat

2013-12-21 Thread Thorsten Glaser
Daniel Bryan dixit: >I'd like to know what the opinion here is of these functions. I've so Not using them in this time and age is gross negligence. Using strcpy, strcat and sprintf is even more; using strncpy is minor negligence, but _strncat_ is positively dangerous. So, yes, by all means, use