<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/src, branch OTP_R13B04</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>file.erl: Add a type to be used from other modules</title>
<updated>2010-02-14T07:13:00+00:00</updated>
<author>
<name>Kostis Sagonas</name>
<email>kostis@cs.ntua.gr</email>
</author>
<published>2010-02-14T07:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=794feab2483aac3b7cb36067b4d64554f7d8df75'/>
<id>794feab2483aac3b7cb36067b4d64554f7d8df75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8418  user.erl (used in oldshell) is updated to handle unicode in</title>
<updated>2010-02-10T15:47:09+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2010-02-10T15:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=64a697339414f424073c5b021285fddb0ff2d9da'/>
<id>64a697339414f424073c5b021285fddb0ff2d9da</id>
<content type='text'>
          prompt strings (io:get_line/{1,2}). io_lib is also updated to
          format prompts with the 't' modifier (i.e. ~ts instead of ~s).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
          prompt strings (io:get_line/{1,2}). io_lib is also updated to
          format prompts with the 't' modifier (i.e. ~ts instead of ~s).
</pre>
</div>
</content>
</entry>
<entry>
<title>Support the configure option --enable-native-libs</title>
<updated>2010-02-10T09:46:08+00:00</updated>
<author>
<name>Kostis Sagonas</name>
<email>kostis@cs.ntua.gr</email>
</author>
<published>2010-02-10T09:46:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d115b311ca388145fb1aebf385206c47d3cc9ec1'/>
<id>d115b311ca388145fb1aebf385206c47d3cc9ec1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'mp/hipe_unified_loader' into ccase/r13b04_dev</title>
<updated>2010-02-10T09:14:39+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-02-10T09:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3241e0ad7b6c85372b1c7577a760c8695e648e85'/>
<id>3241e0ad7b6c85372b1c7577a760c8695e648e85</id>
<content type='text'>
* mp/hipe_unified_loader:
  hipe_unified_loader: only block SMP scheduling when necessary
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* mp/hipe_unified_loader:
  hipe_unified_loader: only block SMP scheduling when necessary
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rani/inet_gethostbyname_fixes' into ccase/r13b04_dev</title>
<updated>2010-02-10T09:06:48+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-02-10T09:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a32352f3e450dcf13ff6a191ae73327f5f93d41b'/>
<id>a32352f3e450dcf13ff6a191ae73327f5f93d41b</id>
<content type='text'>
* rani/inet_gethostbyname_fixes:
  inet_res_SUITE: testcase fixes for legacy DNS resolver (Solaris 8)
  inet_res: /etc/resolv.conf: use domain as default search list
  inet: delayed/avoided read of /etc/resolv.conf and /etc/hosts
  inet_gethost_native: workaround for empty result hostname on MacOS X
  inet_res_SUITE: testcase fix for empty domain name
  inet:gethostbyname improved to parse IP strings and look up own hostname

OTP-8426  The resolver routines failed to look up the own node name as
          hostname, if the OS native resolver was erroneously configured,
          bug reported by Yogish Baliga, now fixed.

          The resolver routines now tries to parse the hostname as an IP
          string as most OS resolvers do, unless the native resolver is
          used.

          The DNS resolver inet_res and file resolver inet_hosts now do not
          read OS configuration files until they are needed. Since the
          native resolver is default, in most cases they are never needed.

          The DNS resolver's automatic updating of OS configuration file
          data (/etc/resolv.conf) now uses the 'domain' keyword as default
          search domain if there is no 'search' keyword.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rani/inet_gethostbyname_fixes:
  inet_res_SUITE: testcase fixes for legacy DNS resolver (Solaris 8)
  inet_res: /etc/resolv.conf: use domain as default search list
  inet: delayed/avoided read of /etc/resolv.conf and /etc/hosts
  inet_gethost_native: workaround for empty result hostname on MacOS X
  inet_res_SUITE: testcase fix for empty domain name
  inet:gethostbyname improved to parse IP strings and look up own hostname

OTP-8426  The resolver routines failed to look up the own node name as
          hostname, if the OS native resolver was erroneously configured,
          bug reported by Yogish Baliga, now fixed.

          The resolver routines now tries to parse the hostname as an IP
          string as most OS resolvers do, unless the native resolver is
          used.

          The DNS resolver inet_res and file resolver inet_hosts now do not
          read OS configuration files until they are needed. Since the
          native resolver is default, in most cases they are never needed.

          The DNS resolver's automatic updating of OS configuration file
          data (/etc/resolv.conf) now uses the 'domain' keyword as default
          search domain if there is no 'search' keyword.</pre>
</div>
</content>
</entry>
<entry>
<title>inet_res: /etc/resolv.conf: use domain as default search list</title>
<updated>2010-02-09T12:41:42+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-02-03T14:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8de5ac7737bd6f121af35ca60e22f0696bbdc06b'/>
<id>8de5ac7737bd6f121af35ca60e22f0696bbdc06b</id>
<content type='text'>
When the search list option in /etc/resolv.conf was empty, the
domain option was not used as default search domain.
That has been fixed in this patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the search list option in /etc/resolv.conf was empty, the
domain option was not used as default search domain.
That has been fixed in this patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>inet: delayed/avoided read of /etc/resolv.conf and /etc/hosts</title>
<updated>2010-02-09T12:41:42+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-02-02T11:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0377ecdfb001c4dc1b507ebc06211f29b19048e3'/>
<id>0377ecdfb001c4dc1b507ebc06211f29b19048e3</id>
<content type='text'>
The 'file' and 'dns' lookup methods configuration files
are now read and parsed at the time of the first lookup
instead of at boot time when per default none of these
lookup methods are used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'file' and 'dns' lookup methods configuration files
are now read and parsed at the time of the first lookup
instead of at boot time when per default none of these
lookup methods are used.
</pre>
</div>
</content>
</entry>
<entry>
<title>inet_gethost_native: workaround for empty result hostname on MacOS X</title>
<updated>2010-02-09T12:41:42+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-02-03T10:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a53dfdc8d1656faf4b8fc7b41d036f25684d71fe'/>
<id>a53dfdc8d1656faf4b8fc7b41d036f25684d71fe</id>
<content type='text'>
On MacOS X the getaddrinfo function apparently can return a result
without canonical hostname e.g when looking up a IPv6 address
string as hostname. The receiving erlang code was not prepared
for that and this patch does a workaround by using the
search string as default value for canonical hostname.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On MacOS X the getaddrinfo function apparently can return a result
without canonical hostname e.g when looking up a IPv6 address
string as hostname. The receiving erlang code was not prepared
for that and this patch does a workaround by using the
search string as default value for canonical hostname.
</pre>
</div>
</content>
</entry>
<entry>
<title>inet:gethostbyname improved to parse IP strings and look up own hostname</title>
<updated>2010-02-09T12:41:42+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo.niskanen@ericsson.com</email>
</author>
<published>2010-01-28T16:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cc90d8c3642afa626b483b92c53964365d72b35a'/>
<id>cc90d8c3642afa626b483b92c53964365d72b35a</id>
<content type='text'>
Now inet:gethostbyname tries to parse the hostname as an IP string
first if the 'native' lookup method is not used. One can also
make the IP string parsing explicit using the new 'string'
lookup method, or avoid it using the new pseudo lookup
method 'nostring'.

In R13B04 a bug was introduced when the gethostbyname code
was rewritten, so if the native resolver was used and
misconfigured to not be able to look up the own hostname,
inet:gethostbyname also failed. This is now fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now inet:gethostbyname tries to parse the hostname as an IP string
first if the 'native' lookup method is not used. One can also
make the IP string parsing explicit using the new 'string'
lookup method, or avoid it using the new pseudo lookup
method 'nostring'.

In R13B04 a bug was introduced when the gethostbyname code
was rewritten, so if the native resolver was used and
misconfigured to not be able to look up the own hostname,
inet:gethostbyname also failed. This is now fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>hipe_unified_loader: only block SMP scheduling when necessary</title>
<updated>2010-02-09T09:46:41+00:00</updated>
<author>
<name>Mikael Pettersson</name>
<email>mikpe@it.uu.se</email>
</author>
<published>2010-02-09T09:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4a158f3110809b6edb393b3f0b558199f8c133d8'/>
<id>4a158f3110809b6edb393b3f0b558199f8c133d8</id>
<content type='text'>
This avoids costly scheduling changes during module loading if native
code is disabled in erts, or not present in the module being loaded.

Signed-off-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids costly scheduling changes during module loading if native
code is disabled in erts, or not present in the module being loaded.

Signed-off-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
</pre>
</div>
</content>
</entry>
</feed>
