OpenBSD CVS

CVS log for src/usr.bin/learn/src/Attic/learn.c


[BACK] Up to [local] / src / usr.bin / learn / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12, Thu Jul 1 02:32:43 2010 UTC (13 years, 11 months ago) by ian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED

Remove a long-dead skeleton found under the floorboards.
"go for it" tedu@, "kill it" deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 5 14:19:05 2007 UTC (16 years, 8 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, 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
Changes since 1.10: +13 -11 lines
Diff to previous 1.10 (colored)

use strcspn to properly overwrite '\n' in fgets returned buffer
check fgets return value
use sizeof (buf) instead of hardcoded value

with help of moritz@ and ray@
"Those seem OK" moritz@ "OK" ray@ "Looks OK" millert@

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 9 20:13:57 2003 UTC (20 years, 7 months ago) by otto
Branch: MAIN
CVS Tags: 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, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 6 21:07:08 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +15 -15 lines
Diff to previous 1.8 (colored)

string shit; ok millert

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:15 2002 UTC (22 years ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

a real pid_t cleanup.

espie@ ok for make/,
deraadt@ one extra eye,
millert@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:14 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

kill more registers

millert@ ok

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 18 17:17:39 2001 UTC (22 years, 10 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

-Wall cleanup

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 9 07:04:48 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

correct type on last arg to execl(); nordin@cse.ogi.edu

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Oct 6 21:16:18 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull in patch from current (even more to come):
Fix (millert):
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 30 16:00:23 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 17 09:13:15 1999 UTC (24 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: OPENBSD_2_7
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

More <sys/file.h> vs. <fcntl.h> and open() flags fixes.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 28 16:40:16 1998 UTC (25 years, 8 months ago) by ian
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.1: +103 -51 lines
Diff to previous 1.1 (colored)

First round of code modernization. Create playdir under /tmp, not
libdir. Add man page. Add pathnames.h.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Sep 28 15:45:47 1998 UTC (25 years, 8 months ago) by ian
Branch: ian
CVS Tags: ian_1998-Sep-28
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

import BTL learn(1)

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 28 15:45:47 1998 UTC (25 years, 8 months ago) by ian
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.