aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ \ Merge headSimon J. Gerraty2014-04-2846-0/+1149
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ \ \ \ Merge from headSimon J. Gerraty2013-09-0515-40/+55
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | | Sync with HEAD.David E. O'Brien2013-02-081-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * \ \ \ \ \ \ Sync from headSimon J. Gerraty2012-11-048-7/+15
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | | | Synchronize with OpenBSDBaptiste Daroussin2015-05-188-32/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=283089
* | | | | | | | | Remove bundled reallocarray(3) since it is now in libcBaptiste Daroussin2015-05-011-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=282315
* | | | | | | | | Add OpenBSD copyright for reallocarrayBaptiste Daroussin2015-03-101-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the function at the bottom of the misc.c file to clearly state the copyright only stand for this function PR: 198484 Submitted by: logan@elandsys.com Notes: svn path=/head/; revision=279849
* | | | | | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | | | | | Avoid name shadowing to fix build under powerpc64.Julio Merino2014-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: cc1: warnings being treated as errors .../usr.bin/m4/misc.c: In function 'm4errx': .../usr.bin/m4/misc.c:268: warning: declaration of 'eval' shadows a global declaration .../usr.bin/m4/extern.h:40: warning: shadowed declaration is here Notes: svn path=/head/; revision=269665
* | | | | | | | Lower warnings again to 3 the right thing would be to fix the warningsBaptiste Daroussin2014-08-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which will be done by discussing with upstream I want the m4 code to stay as close as possible to upstream. Notes: svn path=/head/; revision=269660
* | | | | | | | Make libohash a proper internallib instead of hidding it in m4Baptiste Daroussin2014-08-065-779/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mandoc development seems to be also using ohash so prepare to share the code when needed Notes: svn path=/head/; revision=269649
* | | | | | | | lower warning level to fix build with gccBaptiste Daroussin2014-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=269323
* | | | | | | | mdoc: fix date.Joel Dahl2014-07-293-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=269250
* | | | | | | | Fix build with gccBaptiste Daroussin2014-07-291-2/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=269231
* | | | | | | Remove ohash_int.h forgotten in previous commitBaptiste Daroussin2014-07-271-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=269163
* | | | | | | Sync with OpenBSDBaptiste Daroussin2014-07-2723-625/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings: - check for integer overflows in custom allocs - fix potential integer overflows in memory allocation - annotate regexp error messages with source string - better error handling in mkstemp/unlink/fdopen logic Notes: svn path=/head/; revision=269162
* | | | | | | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-3/+3
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | | | Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino2014-03-1646-0/+1149
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
* | | | mdoc: convert .Fd to .In, which is much nicer.Joel Dahl2013-06-042-6/+6
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=251369
* | | | Work around build breakages with GCC 4.2.Jung-uk Kim2013-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: tinderbox Notes: svn path=/head/; revision=250926
* | | | Reduce diff with upstream.Jung-uk Kim2013-05-0312-32/+45
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=250226
* | | | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.Ed Schouten2013-04-191-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@ Notes: svn path=/head/; revision=249657
* | | Add missing DPADD.Antoine Brodin2013-01-011-0/+1
| |/ |/| | | | | Notes: svn path=/head/; revision=244927
* | Fix build.Andreas Tobler2012-10-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=241797
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-205-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding missing `static' keywords: - bin/dd: Pull in `extern.h' to guarantee consistency with source file. - libexec/rpc.rusersd: Move shared globals into an extern.h. - libexec/talkd: Move `debug' and `hostname' into extern.h. - usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree. - usr.bin/m4: Move `end_result' into extern.h. - usr.sbin/services_mkdb: Move shared globals into an extern.h. Notes: svn path=/head/; revision=241777
* | Remove contractions.Joel Dahl2012-10-072-2/+2
|/ | | | Notes: svn path=/head/; revision=241331
* Fix world after byacc import:Baptiste Daroussin2012-05-221-1/+0
| | | | | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor) Notes: svn path=/head/; revision=235789
* Respect mathematical operation order piority with the exponent gnu extensionBaptiste Daroussin2012-04-301-2/+2
| | | | | | | | Obtained from: OpenBSD Approved by: des (mentor) Notes: svn path=/head/; revision=234850
* Improve m4 compatibility with GNU m4 extension ** (exponent)Baptiste Daroussin2012-04-153-3/+7
| | | | | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor) Notes: svn path=/head/; revision=234310
* Globally replace u_int*_t from (non-contributed) man pages.Ed Schouten2012-02-121-1/+1
| | | | | | | | | | | | | | The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month Notes: svn path=/head/; revision=231564
* Unbreak the build after r228697 adding the { } block to make clear whichBjoern A. Zeeb2011-12-191-1/+2
| | | | | | | if the else belongs to. Notes: svn path=/head/; revision=228701
* Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.Dimitry Andric2011-12-181-1/+1
| | | | | | | Pointy hat to: bapt Notes: svn path=/head/; revision=228698
* Reimplement support for the ** (exponent) gnu extension, make it available ↵Baptiste Daroussin2011-12-183-2/+10
| | | | | | | | | | | thought the -g (mimic gnu) option Reviewed by: cognet Approved by: cognet Discussed with: espie@OpenBSD.org (upstream) Notes: svn path=/head/; revision=228697
* Synchronize with laster version of m4 from OpenBSD and NetBSDBaptiste Daroussin2011-11-2830-1631/+2481
| | | | | | | | | | | This bring better compatibility with gnum4 Reviewed by: cognet Approved by: cognet Obtained from: OpenBSD, NetBSD Notes: svn path=/head/; revision=228063
* Mark global functions and/or variables in m4(1) static where possible.Ed Schouten2011-11-062-2/+2
| | | | | | | This allows compilers and static analyzers to more thorough analysis. Notes: svn path=/head/; revision=227241
* Fix build of m4 with WARNS=6.Ed Schouten2011-10-163-12/+11
| | | | | | | Change the parser; rename `exp' to `exponent' not to collide with exp(3). Notes: svn path=/head/; revision=226422
* Fix typos - remove duplicate "the".Rebecca Cran2011-02-211-1/+1
| | | | | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days Notes: svn path=/head/; revision=218909
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-1115-60/+12
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Use NULL instead of 0 for the return value of fopen().Kevin Lo2007-09-211-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172261
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-281-1/+0
| | | | Notes: svn path=/head/; revision=140941
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Store a pointer to "null" in struct ndblock's defn member instead of aTim J. Robbins2004-08-163-6/+6
| | | | | | | | | | | duplicate allocated on the heap; the address defn points to is significant, and is checked against the address of "null" in certain conditionals. PR: 59883 MFC after: 1 week Notes: svn path=/head/; revision=133858