<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libcompat, branch release/10.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-08-08T08:19:23Z</updated>
<entry>
<title>Small style(9) fix: use tabs instead of spaces.</title>
<updated>2010-08-08T08:19:23Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-08-08T08:19:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83dd4eeb788771ea5c84589291944d466d3e1794'/>
<id>urn:sha1:83dd4eeb788771ea5c84589291944d466d3e1794</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded functions from libcompat.</title>
<updated>2010-08-06T20:13:36Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-08-06T20:13:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29b63864a24f695cd0d2392373e67c0fdc7b8af9'/>
<id>urn:sha1:29b63864a24f695cd0d2392373e67c0fdc7b8af9</id>
<content type='text'>
Erwin fired up a ports build a couple of weeks ago and it seems the
following functions are not used by any of the 20k ports we have, which
makes me believe they don't have any purpose. Just remove them.
</content>
</entry>
<entry>
<title>mdoc: order prologue macros consistently by Dd/Dt/Os</title>
<updated>2010-04-14T19:08:06Z</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2010-04-14T19:08:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744'/>
<id>urn:sha1:aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744</id>
<content type='text'>
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
</content>
</entry>
<entry>
<title>Trim down libcompat by removing &lt;regexp.h&gt;.</title>
<updated>2010-03-14T10:18:58Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-03-14T10:18:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=763ed733711a5bb66d39de4d0ed4bcaae77e2461'/>
<id>urn:sha1:763ed733711a5bb66d39de4d0ed4bcaae77e2461</id>
<content type='text'>
Erwin ran an exp-run with libcompat and &lt;regexp.h&gt; removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's &lt;regex.h&gt;, some application use both &lt;regex.h&gt; and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using &lt;regex.h&gt;. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.
</content>
</entry>
<entry>
<title>Small style(9) cleanups.</title>
<updated>2010-03-13T18:06:17Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-03-13T18:06:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff0f9d8c07cc670f64c1cbf048296a531c0f0d22'/>
<id>urn:sha1:ff0f9d8c07cc670f64c1cbf048296a531c0f0d22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add warnings to &lt;regexp.h&gt; and &lt;sys/timeb.h&gt;.</title>
<updated>2010-03-09T21:01:12Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-03-09T21:01:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a6c03411f28808b989f16b12c7c2efac2c76928a'/>
<id>urn:sha1:a6c03411f28808b989f16b12c7c2efac2c76928a</id>
<content type='text'>
These header files only provide functionality that can be used in
combination with libcompat. In order to prevent people from including
them without any actual use (which happens a lot with &lt;sys/timeb.h&gt;),
put a warning here to make people more aware.

This means we have to lower WARNS for libcompat, which is no big deal.
</content>
</entry>
<entry>
<title>Build lib/ with WARNS=6 by default.</title>
<updated>2010-01-02T09:58:07Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T09:58:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=daaf5759104f210a9315f49f80f1e0f01a8b3bff'/>
<id>urn:sha1:daaf5759104f210a9315f49f80f1e0f01a8b3bff</id>
<content type='text'>
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
</content>
</entry>
<entry>
<title>K&amp;R -&gt; ANSI</title>
<updated>2009-06-23T23:20:09Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-06-23T23:20:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ece41d22fe5d15f51dbf304847053ad1f36cdf9e'/>
<id>urn:sha1:ece41d22fe5d15f51dbf304847053ad1f36cdf9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a missing parameter to ruserpass(). According to C99 6.9.1p7</title>
<updated>2009-02-26T17:46:54Z</updated>
<author>
<name>Roman Divacky</name>
<email>rdivacky@FreeBSD.org</email>
</author>
<published>2009-02-26T17:46:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b9c4b6b4df1fea4bcadd93c6ab50f2071ffc86df'/>
<id>urn:sha1:b9c4b6b4df1fea4bcadd93c6ab50f2071ffc86df</id>
<content type='text'>
K&amp;R function is not a prototype but this is a bad style. GCC accepts
this other compilers warn or reject this.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Turn sgtty into a binary-only compatibility interface.</title>
<updated>2008-06-14T10:42:18Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-06-14T10:42:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45792eb9b80271036768d90a7189e4be5cc71c82'/>
<id>urn:sha1:45792eb9b80271036768d90a7189e4be5cc71c82</id>
<content type='text'>
sgtty was the original interface to configure terminal attributes on my
UNIX-like operating systems. It has been deprecated by the POSIX termios
interface, which is implemented in almost any modern system.

An advantage of turning this into a binary compatibility interface, is
that we can now eventually remove the COMPAT_43TTY switch from kernel
configurations. This removes many ioctl()'s from the TTY layer.

While there, increase the __FreeBSD_version, which may be useful for the
people working on the Ports tree.

Reviewed by:	kib
Approved by:	philip (mentor)
</content>
</entry>
</feed>
