<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/net/ether_addr.c, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>libc: do not include &lt;sys/types.h&gt; where &lt;sys/param.h&gt; was already included</title>
<updated>2016-04-18T21:05:15+00:00</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-04-18T21:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2cf5e9365d299ad70ec7fe8a7e7202fbb925e70c'/>
<id>2cf5e9365d299ad70ec7fe8a7e7202fbb925e70c</id>
<content type='text'>
According to style(9):
&gt; normally, include &lt;sys/types.h&gt; OR &lt;sys/param.h&gt;, but not both.
(&lt;sys/param.h&gt; already includes &lt;sys/types.h&gt; when LOCORE is not defined).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to style(9):
&gt; normally, include &lt;sys/types.h&gt; OR &lt;sys/param.h&gt;, but not both.
(&lt;sys/param.h&gt; already includes &lt;sys/types.h&gt; when LOCORE is not defined).
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ether_line really report an error when all input is invalid.</title>
<updated>2014-03-12T12:27:13+00:00</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-12T12:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=76a1f42f3f07578e7ec3fe0cd099a60769ae4ab7'/>
<id>76a1f42f3f07578e7ec3fe0cd099a60769ae4ab7</id>
<content type='text'>
The previous code failed to return an error condition when the whole input
was invalid due to improper handling of the sscanf return value.  Actually,
this failure was properly being caught by a test in
tools/regression/lib/libc/net/test-ether.t but was not noticed because
these tests are never run.  (On my way to fixing that ;-)

The fix applied here resembles the implementation of ether_line in NetBSD
modulo the setting of an errno value (which is not documented as an
expectation in the manpage anyway).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous code failed to return an error condition when the whole input
was invalid due to improper handling of the sscanf return value.  Actually,
this failure was properly being caught by a test in
tools/regression/lib/libc/net/test-ether.t but was not noticed because
these tests are never run.  (On my way to fixing that ;-)

The fix applied here resembles the implementation of ether_line in NetBSD
modulo the setting of an errno value (which is not documented as an
expectation in the manpage anyway).
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: Make various internal file descriptors from fopen() close-on-exec.</title>
<updated>2013-08-23T13:59:47+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-23T13:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a93705b06eb4bf2295dc0368faf8f38ed8a7cee7'/>
<id>a93705b06eb4bf2295dc0368faf8f38ed8a7cee7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add and document ether_ntoa_r() and ether_aton_r() functions, which accept</title>
<updated>2007-05-13T13:57:45+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-05-13T13:57:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=62ad77f006fa54330fdabe5205b0487b67c135dc'/>
<id>62ad77f006fa54330fdabe5205b0487b67c135dc</id>
<content type='text'>
passed storage buffers rather than using static storage.  Reimplement
ether_ntoa() and ether_aton() in terms of these functions.  These variants
are thread-safe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
passed storage buffers rather than using static storage.  Reimplement
ether_ntoa() and ether_aton() in terms of these functions.  These variants
are thread-safe.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move to more conformant style(9) before making functional changes.</title>
<updated>2007-05-13T12:04:06+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-05-13T12:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b06619453fa6a8c9a344dcc59e1bbf1b78a9f4b3'/>
<id>b06619453fa6a8c9a344dcc59e1bbf1b78a9f4b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix style of ether_ntoa().</title>
<updated>2002-04-08T07:51:10+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-04-08T07:51:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7c1d25d6c20a8e6fbe1b3db33830023e1d64dfdf'/>
<id>7c1d25d6c20a8e6fbe1b3db33830023e1d64dfdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Polish previous revision.</title>
<updated>2002-04-06T09:54:17+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-04-06T09:54:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dab8ffaac3d0c9d1968744cc1ab485283acfcf5a'/>
<id>dab8ffaac3d0c9d1968744cc1ab485283acfcf5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ether_ntoa() to generate the %02x format people expect, instead of %x,</title>
<updated>2002-04-06T05:21:57+00:00</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2002-04-06T05:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87bd4d6cebf7920a85576ef11c962862fdf22966'/>
<id>87bd4d6cebf7920a85576ef11c962862fdf22966</id>
<content type='text'>
for the ethernet address.

MFC after:	1 day
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for the ethernet address.

MFC after:	1 day
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a carriage return to each function declaration, and make use of ID tag</title>
<updated>2002-03-06T03:26:11+00:00</updated>
<author>
<name>Eric Melville</name>
<email>eric@FreeBSD.org</email>
</author>
<published>2002-03-06T03:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ee6c974de42f0f0de0791d219c384e57671ff47d'/>
<id>ee6c974de42f0f0de0791d219c384e57671ff47d</id>
<content type='text'>
macros.

MFC after:	1 day
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
macros.

MFC after:	1 day
</pre>
</div>
</content>
</entry>
<entry>
<title>Const'ify parameters to ethers(3) routines as appropriate.</title>
<updated>2000-07-18T22:44:52+00:00</updated>
<author>
<name>Archie Cobbs</name>
<email>archie@FreeBSD.org</email>
</author>
<published>2000-07-18T22:44:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6e64168369ab0c48084236439dc630a200d36099'/>
<id>6e64168369ab0c48084236439dc630a200d36099</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
