> > On Mon, 24 Jul 2000, Ury Segal wrote:
> > > char * sprintf( s, format, va_list);
> 
> Oh.  Yet another ANSI incompatibility from Sun Microsystems?  You
> should probably forgive these guys.  They were born before ANSI C
> and before POSIX.  Modern BSD systems return int, as expected.

It is NOT from Sun. It is from BSD.

> 
> > > C doesn't even have a standard, on a function many of us
> > > used many times ( you know it is a security hazard, yes ?)
> > 
> > Not if you're careful.
> > And note, for example, that many portable programs come with their own
> > sprintf-like functionality. 

Do not use this function. toy may be carefull, bu the 
prgrammer who change the code 3 years after you leave
the company may not be. At least, use snprintf
> 
> To put it simple, some parts of the C standard suck hard, and I
> mean both language per se and the standard C library.  But
> overall, in my opinion, C is a nice language.

Wow. After a long time I managed to bang some sense
itto heads. 

> 
> > You won't find a single soul here that will
> > tell you it is not. So? Python is not perfect, Scheme is not perfect,
> > Smalltalk is not perfect, C++ is downright horrible. Live with it.
> 
> But Perl has an elegant syntax!
> 
> <g,d&r>
> 
> Vadik.
> 
> -- 
> I was part of that strange race of people aptly described as spending
> their lives doing things they detest to make money they don't want to
> buy things they don't need to impress people they dislike.
> -- Emile Henry Gauvreay
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to