History log of /freebsd-9.3-release/lib/libcompat/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


211061 08-Aug-2010 ed

Small style(9) fix: use tabs instead of spaces.


210958 06-Aug-2010 ed

Remove unneeded functions from libcompat.

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.


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

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)


205146 14-Mar-2010 ed

Trim down libcompat by removing <regexp.h>.

Erwin ran an exp-run with libcompat and <regexp.h> 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 <regex.h>, some application use both <regex.h> 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 <regex.h>. 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.


205125 13-Mar-2010 ed

Small style(9) cleanups.


204926 09-Mar-2010 ed

Add warnings to <regexp.h> and <sys/timeb.h>.

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 <sys/timeb.h>),
put a warning here to make people more aware.

This means we have to lower WARNS for libcompat, which is no big deal.


201381 02-Jan-2010 ed

Build lib/ with WARNS=6 by default.

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.


194793 23-Jun-2009 delphij

K&R -> ANSI


189077 26-Feb-2009 rdivacky

Add a missing parameter to ruserpass(). According to C99 6.9.1p7
K&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)


179784 14-Jun-2008 ed

Turn sgtty into a binary-only compatibility interface.

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)


165906 09-Jan-2007 imp

Remove California Regent's clause 3, per letter


141851 13-Feb-2005 ru

Expand contractions.


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


117120 01-Jul-2003 ru

Axe AINC.

Submitted by: bde


116026 08-Jun-2003 charnier

Add section number with .Xr. .Xr -> .Vt changes.


112541 24-Mar-2003 charnier

The .Fn function


107619 04-Dec-2002 ru

Consistently mark std(in|out|err) with .Dv, because that's how they
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".

Approved by: re


107387 29-Nov-2002 ru

mdoc(7) police: formatting nits.

Approved by: re


105250 16-Oct-2002 robert

- Remove the lsearch() and lfind() functions and their manpage from
the compatibility library libcompat.
- Add new implementations of lsearch() and lfind() which conform to
IEEE Std 1003.1-2001 to libc. Add a new manual page for them and
add them to the makefile.
- Add function prototypes for lsearch() and lfind() to the search.h
header.


105245 16-Oct-2002 robert

- Remove the old insque() and remque() functions and their manual
page from the compatibility library.
- Add new implementations of insque() and remque() which conform to
IEEE Std 1003.1-2001 to libc. Add a new manual page for them and
connect them to the build.
- Add the prototypes of insque() and remque() to the search.h
header.


97407 28-May-2002 alfred

Assume __STDC__, remove non-__STDC__ code.

Submitted by: keramida


96862 18-May-2002 ru

mdoc(7) police: fixed the whatis entry.


92913 21-Mar-2002 obrien

Remove 'register' keyword.


84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


81285 08-Aug-2001 ru

mdoc(7) police: expand plain text xrefs.


81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79531 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


74870 27-Mar-2001 ru

MAN[1-9] -> MAN.


73223 28-Feb-2001 ru

mdoc(7) police: prepare for mdocNG.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


68994 21-Nov-2000 ben

Remove text saying "this is available from the compatibility library,
libcompat" in favour of a .Sh LIBRARY section using the .Lb macro. Also add
.Bf -symbolic around the text saying "this is obsolete" in re_comp.3.

PR: 22675
Submitted by: Mike Meyer <mwm@mired.org>
Reviewed by: sheldonh


68946 20-Nov-2000 ru

mdoc(7) police: Nm -> Fn where appropriate.


68751 15-Nov-2000 ben

Remove fullstops from the end of .Xr lines in SEE ALSO section.


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


64243 04-Aug-2000 kris

Return an error instead of overflowing the buffer in the case of a long
$HOME in ruserpass()


57686 02-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


54999 22-Dec-1999 bde

Aargh, the $FreeBSD$ check caused an inconsistent commit by rejecting
this makefile update which should have been together with the file
removal.

Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c from
the "MISSING" list. These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.


54998 22-Dec-1999 bde

Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c from
the "MISSING" list. These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49759 14-Aug-1999 chris

Bad reference to exit(2) changed to exit(3).


48904 19-Jul-1999 green

Various cleanups.


48794 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


43267 27-Jan-1999 jkoshy

Correct typo.

PR: docs/9597
Submitted by: Christoph Kukulies <kuku@FreeBSD.ORG>


41045 10-Nov-1998 dima

Cleanup. Make it compile on alpha.


38996 09-Sep-1998 kato

Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98.


36859 10-Jun-1998 jdp

Move ftok() from libcompat to libc, so that it can be closer to its
friend shmget().

PR: closes misc/6763


34669 19-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq


27369 13-Jul-1997 peter

kill the undead


27181 03-Jul-1997 bde

This commit was generated by cvs2svn to compensate for changes in r27180,
which included commits to RCS files with non-trunk default branches.


25028 19-Apr-1997 bde

Fixed #include and/or prototype bugs in synopsis.


24884 13-Apr-1997 bde

"Fixed" prototype bugs in synopsis.


24883 13-Apr-1997 bde

Fixed missing #include in synopsis.


24640 04-Apr-1997 ache

Speedup in case locale not used


24387 29-Mar-1997 ache

Remove unneded define from CFLAGS (from orand* compatibility)


24386 29-Mar-1997 ache

Remove orand* compatibility as promised (next release)


24009 19-Mar-1997 bde

FIxed arg types (mostly missing consts) in synopsis.


24006 19-Mar-1997 bde

Fixed missing function types in synopsis.


22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21907 20-Jan-1997 wosch

Sort cross references.


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


19278 31-Oct-1996 ache

Replace collate_range_cmp call with its code


18833 09-Oct-1996 ache

Add orandom(), osrandom(), etc.


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


17553 12-Aug-1996 ache

Convert to newly aded collate compare function


17536 12-Aug-1996 ache

Use collate info for alpha character ranges
8bit cleanup


17141 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


16091 03-Jun-1996 joerg

Minor corrections. The second parameter is actually of type int
(though only char will be used), and our implementation is not really
worse than the SysV one, so there's no need to claim so in the BUGS
section.


15946 27-May-1996 wosch

remove MLINKS regcomp.3 regexec.3 regerror.3 due name clash with libc


15082 07-Apr-1996 mpp

Correct some man page cross references and file location references.


14054 12-Feb-1996 mpp

Correct the xref for msgctl: msgctl(2) -> msgctl(3)


14038 11-Feb-1996 mpp

Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.


13987 09-Feb-1996 mpp

Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.


13754 30-Jan-1996 mpp

Another round of spelling fixes.


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


12538 29-Nov-1995 ache

Add cfree.3


12466 24-Nov-1995 joerg

Add a short man page for cfree(3), in order to hint people about its life in libcompat.


8870 30-May-1995 rgrimes

Remove trailing whitespace.


8198 01-May-1995 joerg

Added function and man page for ftok(3), used in conjunction with
the so-called "System V IPC".

Submitted by: jbeukema@HK.Super.Net (John Beukema)
Obtained from: Th. Lockert <tholo@sigmasoft.com>, via NetBSD


7764 11-Apr-1995 joerg

The implementation of rexec() missed the function ruserpass(), so the
link stage fell over for any program that attempted to use rexec().

Ruserpass() remains undocumented; i could not find any documentation
for it on other systems.

Also added a BUGS section to the man page, stating that this function
constitutes a potential security hole (as well as the underlying
"exec" service).

Submitted by: rgrimes
Originally submitted by: agc@uts.amdahl.com (Alistair G. Crooks)
Obtained from: netbsd-bugs@NetBSD.ORG


7742 10-Apr-1995 joerg

My libcompat cleanup.

o add missing man pages

o make all man pages clearly refer to the libcompat thingie

o add the information to the vtimes(3) and vlimit(3) man pages
that nobody has reimplemented the functions by now

o add the missing getpw.c

o add code and man pages for cftime(3) and
ascftime(3) -- i found them somewhere in old
unfinished work


7151 19-Mar-1995 phk

add a couple of missing #include lines


6574 20-Feb-1995 nate

Make libcompat a static only library.

Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.


2768 14-Sep-1994 ache

Add sanity check for "no previous regular expression" state,
bringed by 'more'


2764 14-Sep-1994 ache

Fix bug with searching "" pattern, cause 'more' always shows
next line on "/<Enter>" instead of searching next pattern


1850 05-Aug-1994 wollman

Make it work with our make macros.


1586 27-May-1994 rgrimes

Comment out missing sources.


1582 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1581,
which included commits to RCS files with non-trunk default branches.


1579 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1578,
which included commits to RCS files with non-trunk default branches.


1574 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1573,
which included commits to RCS files with non-trunk default branches.