CVS log for mandoc/Attic/compat_fgetln.c

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.5, Sat Nov 7 17:58:55 2015 UTC (6 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
FILE REMOVED

Modernization, no functional change intended:
Use the POSIX function getline(3) rather than the slightly
dangerous BSD function fgetln(3).
Remove the related compatibility code.

Revision 1.4 / (download) - annotate - [selected], Sat Aug 16 19:00:01 2014 UTC (7 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3, VERSION_1_13_2
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Improve build system and autodetection.
* Make ./configure standalone, that's what people expect.
* Let people write a ./configure.local from scratch, not edit existing files.
* Autodetect wchar, sqlite3, and manpath and act accordingly.
* Autodetect the need for -L/usr/local/lib and -lutil.
* Get rid of config.h.p{re,ost}, let ./configure only write what's needed.
* Let ./configure write a Makefile.local snippet, that's quite flexible.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 10 23:54:41 2014 UTC (7 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_4, VERSION_1_12
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.4 (colored)

Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h.
Remove <stdio.h> from config.h; if it is missing somewhere, it should
be added, but i cannot find a *.c file where it is missing.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 18 14:27:01 2011 UTC (10 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_13_1, VERSION_1_12_3, VERSION_1_12_2, VERSION_1_12_1
Changes since 1.1: +4 -0 lines
Diff to previous 1.1 (colored) to selected 1.4 (colored)

Make compat files actually use compat.h.  Ooops.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 13 11:26:12 2011 UTC (10 years, 5 months ago) by kristaps
Branch: MAIN
Diff to selected 1.4 (colored)

Compatibility support fgetln() on Linux.  This uses the BSD-licensed
implementation from NetBSD tnftpd, Christos Zoulas (copyright message
retained in the compat_fgetln.c file).  Patch verified by schwarze@.  He
notes that you'll need -pthread for -static binaries (due to libdb), so
I've noted that -static should really only be used for BSD UNIX.

While here, add some forgotten goop to the Makefile, building and
cleaning extra manpages.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb