Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  Auto-Import binary_to_term/2

kagato
Posted: Sun May 23, 2010 1:54 am Reply with quote
User Joined: 30 Dec 2007 Posts: 85
I previously added binary_to_term/2 in order to make the decoding of binaries from the network safer (in terms of leaking resources that aren't reclaimed).

Since this was in the middle of the R13 stream, we did not auto-import the new function. Specifically, it was stated that this is only done on major releases. With the upcoming release of R14, it is now time to do so.

Changes are on GitHub. Here's the fetch command:

> git fetch git://github.com/jvantuyl/otp.git jv/autoimport-binary_to_term_2


Documentation has been updated. Tests explicitly adjusted to use the auto-imported name to detect regressions. It's a pretty simple patch, it compiles, works, and the tests pass. Please get it in if at all possible. Smile

--
Jayson Vantuyl
417-207-6962 (mobile)
kagato@souja.net


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message
kagato
Posted: Sun May 23, 2010 1:55 am Reply with quote
User Joined: 30 Dec 2007 Posts: 85
I previously added binary_to_term/2 in order to make the decoding of binaries from the network safer (in terms of leaking resources that aren't reclaimed).

Since this was in the middle of the R13 stream, we did not auto-import the new function. Specifically, it was stated that this is only done on major releases. With the upcoming release of R14, it is now time to do so.

Changes are on GitHub. Here's the fetch command:

> git fetch git://github.com/jvantuyl/otp.git jv/autoimport-binary_to_term_2


Documentation has been updated. Tests explicitly adjusted to use the auto-imported name to detect regressions. It's a pretty simple patch, it compiles, works, and the tests pass. Please get it in if at all possible. Smile

--
Jayson Vantuyl
417-207-6962 (mobile)
kagato@souja.net


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message

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