OpenBSD CVS

CVS log for src/usr.bin/lex/Attic/initscan.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18, Sun Nov 22 19:56:14 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED

remove the init files that we don't build. if they are ever needed for
bootstrapping, they are available in the attic, but they clutter up the
directory.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 19 23:34:56 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

Replace Char (defined as unsigned char) with u_char.

ok tedu@

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 19 23:20:34 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.15: +2 -25 lines
Diff to previous 1.15 (colored)

flex_alloc and flex_free are nothing more than malloc and free, so replace
them with the real functions so as to not trick people into thinking they
are special

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 19 19:43:40 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.14: +3479 -1980 lines
Diff to previous 1.14 (colored)

Update flex from ancient 2.5.4 to the recent 2.5.39.
This work was all done by Serguey Parkhomovsky. Thanks.
Some changes from upstream:
* Removed autotools cruft/localization/texinfo manual/etc
* Kept the old manpage, as the new manpage is content-free
* Used safe string handling functions and fixed several compiler warnings
* pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc
  exec in addition to what was previously pledged
* Removed register keyword from all variable declarations
* renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling
  flex outside of obj by accident wouldn't clobber the bootstrap files
* Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length
  strings in initscan.c/scan.l, etc) that were already in our tree

This is a huge change, so it's going in the tree code bomb style.
I'm not excited about the growth in complexity (like now running m4
to _post_ process lexers) but hopefully this will be a one time update
and we will now take "ownership" of the code.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 4 17:03:32 2013 UTC (10 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (colored)

Use proper ANSI function definitions for functions that take no
arguments.  Avoids warnings when -Wold-style-definition is used.
OK deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 26 14:38:19 2007 UTC (17 years, 3 months ago) by tsi
Branch: MAIN
CVS Tags: 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, 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
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

Fix flex bug introduced by my prior commit.

Problem reported by STeve Andre' via jakob@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 16 14:43:28 2007 UTC (17 years, 4 months ago) by tsi
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Eliminate gcc -Wundef warnings in flex-generated code.

ok miod@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 6 05:03:29 2006 UTC (17 years, 5 months ago) by ray
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

Don't access buf[strlen(buf) - 1] for zero-length strings.

OK jaredy@.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 4 17:34:44 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: 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, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +21 -16 lines
Diff to previous 1.9 (colored)

Update flex license from sourceforge version (is now 2-term BSD)

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 31 22:49:29 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

recommit strlcpy/snprintf diff after i found my bug

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 31 00:56:21 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

undo until i find my #line bug

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 30 10:53:44 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (colored)

use strlcpy and snprintf

Revision 1.6 / (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.5: +25 -25 lines
Diff to previous 1.5 (colored)

kill more registers

millert@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:29 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: 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
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 10 22:22:01 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.3: +32 -22 lines
Diff to previous 1.3 (colored)

Flex 2.5.4

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 13 22:22:03 1996 UTC (27 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +34 -12 lines
Diff to previous 1.2 (colored)

updated to flex 2.5.3

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:35:36 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:30 1995 UTC (28 years, 7 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:45:30 1995 UTC (28 years, 7 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.