Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  hex2dec parsing for Inets

luke at vegetable.org
Posted: Tue Sep 21, 1999 5:36 am Reply with quote
Guest
Bug report for Inets in httpd_util code:

hex2dec(X) when X>=$0,X=<$9 -> X-$0;
hex2dec($A) -> 10;
hex2dec($B) -> 11;
hex2dec($C) -> 12;
hex2dec($D) -> 13;
hex2dec($E) -> 14;
hex2dec($F) -> 15.

Lower-case should be handled too for compatibility (eg. with Lynx). I
added a "hex2dec(C) when C >= $a, C =< $f -> 10 + C - $a." clause to
the same code in 'pico' to make lynx posts work.

What's a better place to send this sort of mail, to the email
addresses listed in the source files? I've done that in the past but
I'm not sure of the convention since those addresses were put there in
pre-opensource days.

Cheers,
Luke




Post generated using Mail2Forum (http://m2f.sourceforge.net)
seb at erix.ericsson.se
Posted: Tue Sep 21, 1999 1:58 pm Reply with quote
Guest
Luke Gorrie <luke_at_vegetable.org> writes:

> Bug report for Inets in httpd_util code:
...

Thanks. Fixed it.


> What's a better place to send this sort of mail, to the email
> addresses listed in the source files? I've done that in the past but
> I'm not sure of the convention since those addresses were put there in
> pre-opensource days.

You are more than welcome to send fixes (preferrably as diff's) to
erlang-maintainers_at_erlang.org. This is an alias which leads to a
number of individuals who activly work on Erlang development. One of
them will pick up the fix, see if it fits and then include it in the
source.

-- Sebastian


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum