OpenBSD CVS

CVS log for src/lib/libc/stdio/Attic/gets.c


[BACK] Up to [local] / src / lib / libc / stdio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13, Sun Mar 23 23:15:58 2014 UTC (10 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED

c11 compliance: remove gets()

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 9 00:18:27 2009 UTC (15 years, 4 months ago) by kurt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.11: +8 -4 lines
Diff to previous 1.11 (colored)

Fix the handle locking in stdio to use flockfile/funlockfile
internally when and where required.  Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking.  A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization.  Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.

committing on behalf of and okay guenther@ now that we have install
media space available.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 22 01:23:16 2009 UTC (15 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.10: +4 -8 lines
Diff to previous 1.10 (colored)

Back out previous commit, as it caused too much growth for the install
media to fit

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 21 16:04:23 2009 UTC (15 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.9: +8 -4 lines
Diff to previous 1.9 (colored)

Fix the handle locking in stdio to use flockfile/funlockfile
internally when and where required.  Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking.  A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization.  Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.

ok kurt@, earlier version tested by sthen@ and jj@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 8 08:05:36 2005 UTC (19 years, 7 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.8: +1 -4 lines
Diff to previous 1.8 (colored)

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 28 04:34:05 2005 UTC (19 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Use '\0' not 0 when storing as a char, part from Andrey Matveev.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 28 18:12:44 2004 UTC (20 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

deregister + ansify, no change in object code. ok deraadt@ millert@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 2 20:18:37 2003 UTC (21 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.5: +2 -6 lines
Diff to previous 1.5 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 20 07:46:56 1997 UTC (28 years, 1 month ago) by graichen
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (colored)

back out my last change to avoid the __warn_references on the mips - it's
now done for the pmax like for the arc in machine/cdefs.h

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 19 22:32:21 1997 UTC (28 years, 1 month ago) by graichen
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

put all the __warn_references behind a #ifndef NO_WARN_REFERENCES which
is then set in the libc Makefile for the mips (the mips linker can't
handle them)

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 28 02:30:58 1996 UTC (28 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

suggest alternative in ld warn message

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 19 08:32:52 1996 UTC (28 years, 7 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -6 lines
Diff to previous 1.1 (colored)

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:42:13 1995 UTC (29 years, 5 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:42:13 1995 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN

Initial revision

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.