Dear gentleman Moerbeek, thank you very much for your clarifications. I will seriously take them in account the next time i write a line of code.
All the best. On 4/28/06, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Fri, 28 Apr 2006, Gustavo Rios wrote: > > > I could suggest one to avoid ANSI C functions as much as possible. > > Write his/her own ones. Why? The motivation has been stated by you: > > portability concerns. > > Only if you believe the code you produce is better than the result of > the effort of hundreds of people over a period of more than 20 years. > > People inventing the wheel over and over is nothing more than a waste > of effort and a endless source of bugs. Effort that instead could > have been spent on providing more C99 features to our libc. > > -Otto > > > > > I could do it ... > > > > On 4/28/06, Leonardo Rodrigues <[EMAIL PROTECTED]> wrote: > > > Hello everyone! > > > > > > So, I've been trying to build some apps here on my OpenBSD box, but > > > the lack of OpenBSD's compliance of some C99 standards is stopping me > > > from achieving my builds... > > > The only problem so far is the lack of support for the %a string > > > format used in functions snprintf and sscanf. > > > > > > I've tried to circumvent this problem by using "libtrio" > > > (http://daniel.haxx.se/projects/trio/), a library that claims to > > > reimplement those functions above, but I couldn't get it to work right > > > (it fails right on 'make test'). > > > > > > Of course I could just dig myself into the code and try to implement > > > this standard... but I'm a mediocre programmer... > > > > > > Suggestions on how to solve this problem of mine (workarounds, etc) are > > > welcome! > > > > > > -- > > > An OpenBSD user... and that's all you need to know =)