#
1.20 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.19 |
|
19-Nov-2015 |
mmcc |
Replace Char (defined as unsigned char) with u_char.
ok tedu@
|
#
1.18 |
|
19-Nov-2015 |
tedu |
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
|
#
1.17 |
|
19-Nov-2015 |
tedu |
it should be safe to assume the presence of memset these days instead of implementing a local version.
|
#
1.16 |
|
19-Nov-2015 |
tedu |
orbital strike from moonbase knf
|
#
1.15 |
|
19-Nov-2015 |
tedu |
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.
|
#
1.14 |
|
15-Oct-2015 |
mmcc |
Cast arguments of ctype functions to Char, a lexism defined as unsigned char.
Part of a larger attempt to audit ctype function argument types with Coccinelle.
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.13 |
|
27-Oct-2013 |
guenther |
If a constant string needs a name, use a static const array instead of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings.
ok deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.12 |
|
04-Mar-2006 |
miod |
the the
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.11 |
|
04-Jun-2003 |
millert |
Update flex license from sourceforge version (is now 2-term BSD)
|
#
1.10 |
|
08-Apr-2003 |
deraadt |
string cleaning; ok tedu
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.9 |
|
31-May-2002 |
deraadt |
recommit strlcpy/snprintf diff after i found my bug
|
#
1.8 |
|
31-May-2002 |
deraadt |
undo until i find my #line bug
|
#
1.7 |
|
30-May-2002 |
deraadt |
use strlcpy and snprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.5 |
|
17-Jun-2001 |
deraadt |
Vern says: Yes, this came up a while ago, and I put together a flex release with a modified copyright that begins: Redistribution and use in source and binary forms, with or without modification, are permitted provided that: [...] feel free to update the copyrights in each of the files with the one in COPYING.
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.4 |
|
25-Jul-1997 |
mickey |
#if __STDC__ --> #ifdef __STDC__
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.3 |
|
13-Jul-1996 |
millert |
updated to flex 2.5.3
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.19 |
|
19-Nov-2015 |
mmcc |
Replace Char (defined as unsigned char) with u_char.
ok tedu@
|
#
1.18 |
|
19-Nov-2015 |
tedu |
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
|
#
1.17 |
|
19-Nov-2015 |
tedu |
it should be safe to assume the presence of memset these days instead of implementing a local version.
|
#
1.16 |
|
19-Nov-2015 |
tedu |
orbital strike from moonbase knf
|
#
1.15 |
|
19-Nov-2015 |
tedu |
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.
|
#
1.14 |
|
15-Oct-2015 |
mmcc |
Cast arguments of ctype functions to Char, a lexism defined as unsigned char.
Part of a larger attempt to audit ctype function argument types with Coccinelle.
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.13 |
|
27-Oct-2013 |
guenther |
If a constant string needs a name, use a static const array instead of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings.
ok deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.12 |
|
04-Mar-2006 |
miod |
the the
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.11 |
|
04-Jun-2003 |
millert |
Update flex license from sourceforge version (is now 2-term BSD)
|
#
1.10 |
|
08-Apr-2003 |
deraadt |
string cleaning; ok tedu
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.9 |
|
31-May-2002 |
deraadt |
recommit strlcpy/snprintf diff after i found my bug
|
#
1.8 |
|
31-May-2002 |
deraadt |
undo until i find my #line bug
|
#
1.7 |
|
30-May-2002 |
deraadt |
use strlcpy and snprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.5 |
|
17-Jun-2001 |
deraadt |
Vern says: Yes, this came up a while ago, and I put together a flex release with a modified copyright that begins: Redistribution and use in source and binary forms, with or without modification, are permitted provided that: [...] feel free to update the copyrights in each of the files with the one in COPYING.
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.4 |
|
25-Jul-1997 |
mickey |
#if __STDC__ --> #ifdef __STDC__
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.3 |
|
13-Jul-1996 |
millert |
updated to flex 2.5.3
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|