summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4
Commit message (Collapse)AuthorAgeFilesLines
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-2746-0/+1149
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
* mdoc: convert .Fd to .In, which is much nicer.joel2013-06-042-6/+6
|
* Work around build breakages with GCC 4.2.jkim2013-05-231-0/+2
| | | | Reported by: tinderbox
* Reduce diff with upstream.jkim2013-05-0312-32/+45
|
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-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@
* Add missing DPADD.antoine2013-01-011-0/+1
|
* Fix build.andreast2012-10-211-1/+1
|
* More -Wmissing-variable-declarations fixes.ed2012-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.
* Remove contractions.joel2012-10-072-2/+2
|
* Fix world after byacc import:bapt2012-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)
* Respect mathematical operation order piority with the exponent gnu extensionbapt2012-04-301-2/+2
| | | | | Obtained from: OpenBSD Approved by: des (mentor)
* Improve m4 compatibility with GNU m4 extension ** (exponent)bapt2012-04-153-3/+7
| | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor)
* Globally replace u_int*_t from (non-contributed) man pages.ed2012-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
* Unbreak the build after r228697 adding the { } block to make clear whichbz2011-12-191-1/+2
| | | | if the else belongs to.
* Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.dim2011-12-181-1/+1
| | | | Pointy hat to: bapt
* Reimplement support for the ** (exponent) gnu extension, make it available ↵bapt2011-12-183-2/+10
| | | | | | | | thought the -g (mimic gnu) option Reviewed by: cognet Approved by: cognet Discussed with: espie@OpenBSD.org (upstream)
* Synchronize with laster version of m4 from OpenBSD and NetBSDbapt2011-11-2830-1631/+2481
| | | | | | | | This bring better compatibility with gnum4 Reviewed by: cognet Approved by: cognet Obtained from: OpenBSD, NetBSD
* Mark global functions and/or variables in m4(1) static where possible.ed2011-11-062-2/+2
| | | | This allows compilers and static analyzers to more thorough analysis.
* Fix build of m4 with WARNS=6.ed2011-10-163-12/+11
| | | | Change the parser; rename `exp' to `exponent' not to collide with exp(3).
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-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
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Use NULL instead of 0 for the return value of fopen().kevlo2007-09-211-1/+1
| | | | Approved by: re (kensmith)
* Let bsd.prog.mk set SRCS and MAN to their default values.ru2005-01-281-1/+0
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Store a pointer to "null" in struct ndblock's defn member instead of atjr2004-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
* Respect locale settings from the environment.tjr2004-07-121-0/+3
|
* Document missing multibyte character support in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Don't depend on NULL's expansion being a pointer, cast it before it is passedstefanf2004-05-181-1/+1
| | | | | | to variadic functions. Approved by: das (mentor)
* Fix m4 to properly handle bitwise operators &, ^, and |. Fix operatorsmkelly2004-05-011-154/+173
| | | | | | | | precedence. Add short-circuit evaluation. PR: bin/60914 Reviewed by: petef Discussed with: jeff, petef
* m4 script to test the functionality of math operators in eval().smkelly2004-05-011-0/+181
| | | | Submitted by: K S Braunsdorf <sed@ksb.npcguild.org>
* Use .St -susv2 rather than "The Single UNIX specification".maxim2003-12-101-2/+3
| | | | Submitted by: osa
* The .Nm utilitycharnier2003-06-081-3/+5
|
* Flush streams before calling system() so that the output appears in thetjr2003-05-011-1/+3
| | | | | right place in the output stream when redirected to a file (when full buffering is enabled). Noticed by schweikh on freebsd-standards.
* Correct typo in COMPATIBILITY section: s/esycmd/esyscmdschweikh2003-04-231-1/+1
|
* english(4) police.schweikh2002-12-271-1/+1
|
* When we appear to want a signed value from sizeof(), use ssize_t in the cast,jmallett2002-10-301-1/+1
| | | | rather than int.
* Die on -D=foo, when parsing options - we can't let someone define (nil).jmallett2002-09-041-0/+2
| | | | MFC after: 3 days
* Kill extraneous whitespace.jmallett2002-07-1510-90/+90
|
* Add a default case to the getopt(3) switch, remove a blank line nearby.jmallett2002-07-141-1/+1
|
* Functions declared as <type> <identifier>(<nil>) should be declared asjmallett2002-07-145-27/+27
| | | | <type> <identifier>(<void-type>) in ANSI C.
* Remove prototype for main().jmallett2002-07-141-2/+0
|
* Whitespace fixes to line-up EOL escapes whose right-most extraints changed injmallett2002-06-201-15/+15
| | | | the previous revision due to the biggest line changing.
* Cast sp to uintptr_t when doing a compare of it to STACKMAX which is a size_t.jmallett2002-06-202-5/+5
| | | | This messes up some indentation in mdef.h for some macros.
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-2/+1
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* Make the manpage consistent with the code on the subject of comments, as tojmallett2002-06-031-1/+4
| | | | | | | | not change the code to always do the "GNU" thing, as it's possible people rely on BSD m4(1) traditionally resetting comment characters in case of no arguments to the changecom function. PR: bin/17480 (I think this satisfies the problem report)
* mdoc(7) police: tidy up the markup.ru2002-05-301-84/+101
|
* Add Standards, Diagnostics and History sections.tjr2002-05-261-0/+17
|
* If a file operand cannot be processed, go on to process any remaining filestjr2002-05-261-3/+8
| | | | but exit non-zero.
OpenPOWER on IntegriCloud