httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject mod_negotiation: get a rid of atof(3)
Date Sun, 09 Mar 2003 00:43:10 GMT
There's a PR dealing with atof() problems: 

I think, we should simply avoid that function call.
The attached patch does the following:

- quality values are converted by a specialized function atoq.
- level values are no longer parsed as float (instead as int, using atoi). 
According to our documentation this was already intended :)

Do you see any problems with this patch? (especially with the level thing? 
(Does anybody actually use it?))

package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;

#  André Malo  #  #

View raw message