Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix world after byacc import: | bapt | 2012-05-22 | 1 | -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 extension | bapt | 2012-04-30 | 1 | -2/+2 |
| | | | | | Obtained from: OpenBSD Approved by: des (mentor) | ||||
* | Improve m4 compatibility with GNU m4 extension ** (exponent) | bapt | 2012-04-15 | 3 | -3/+7 |
| | | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor) | ||||
* | Globally replace u_int*_t from (non-contributed) man pages. | ed | 2012-02-12 | 1 | -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 which | bz | 2011-12-19 | 1 | -1/+2 |
| | | | | if the else belongs to. | ||||
* | Repair breakage after r228697: since m4 now uses pow(3), it needs -lm. | dim | 2011-12-18 | 1 | -1/+1 |
| | | | | Pointy hat to: bapt | ||||
* | Reimplement support for the ** (exponent) gnu extension, make it available ↵ | bapt | 2011-12-18 | 3 | -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 NetBSD | bapt | 2011-11-28 | 30 | -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. | ed | 2011-11-06 | 2 | -2/+2 |
| | | | | This allows compilers and static analyzers to more thorough analysis. | ||||
* | Fix build of m4 with WARNS=6. | ed | 2011-10-16 | 3 | -12/+11 |
| | | | | Change the parser; rename `exp' to `exponent' not to collide with exp(3). | ||||
* | Fix typos - remove duplicate "the". | brucec | 2011-02-21 | 1 | -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. This | joel | 2010-12-11 | 15 | -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. | ed | 2010-01-02 | 1 | -0/+2 |
| | | | | Also add some missing $FreeBSD$ to keep svn happy. | ||||
* | Use NULL instead of 0 for the return value of fopen(). | kevlo | 2007-09-21 | 1 | -1/+1 |
| | | | | Approved by: re (kensmith) | ||||
* | Let bsd.prog.mk set SRCS and MAN to their default values. | ru | 2005-01-28 | 1 | -1/+0 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Store a pointer to "null" in struct ndblock's defn member instead of a | tjr | 2004-08-16 | 3 | -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. | tjr | 2004-07-12 | 1 | -0/+3 |
| | |||||
* | Document missing multibyte character support in utilities specified | tjr | 2004-07-03 | 1 | -1/+5 |
| | | | | by POSIX. | ||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -1/+1 |
| | |||||
* | Don't depend on NULL's expansion being a pointer, cast it before it is passed | stefanf | 2004-05-18 | 1 | -1/+1 |
| | | | | | | to variadic functions. Approved by: das (mentor) | ||||
* | Fix m4 to properly handle bitwise operators &, ^, and |. Fix operator | smkelly | 2004-05-01 | 1 | -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(). | smkelly | 2004-05-01 | 1 | -0/+181 |
| | | | | Submitted by: K S Braunsdorf <sed@ksb.npcguild.org> | ||||
* | Use .St -susv2 rather than "The Single UNIX specification". | maxim | 2003-12-10 | 1 | -2/+3 |
| | | | | Submitted by: osa | ||||
* | The .Nm utility | charnier | 2003-06-08 | 1 | -3/+5 |
| | |||||
* | Flush streams before calling system() so that the output appears in the | tjr | 2003-05-01 | 1 | -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/esyscmd | schweikh | 2003-04-23 | 1 | -1/+1 |
| | |||||
* | english(4) police. | schweikh | 2002-12-27 | 1 | -1/+1 |
| | |||||
* | When we appear to want a signed value from sizeof(), use ssize_t in the cast, | jmallett | 2002-10-30 | 1 | -1/+1 |
| | | | | rather than int. | ||||
* | Die on -D=foo, when parsing options - we can't let someone define (nil). | jmallett | 2002-09-04 | 1 | -0/+2 |
| | | | | MFC after: 3 days | ||||
* | Kill extraneous whitespace. | jmallett | 2002-07-15 | 10 | -90/+90 |
| | |||||
* | Add a default case to the getopt(3) switch, remove a blank line nearby. | jmallett | 2002-07-14 | 1 | -1/+1 |
| | |||||
* | Functions declared as <type> <identifier>(<nil>) should be declared as | jmallett | 2002-07-14 | 5 | -27/+27 |
| | | | | <type> <identifier>(<void-type>) in ANSI C. | ||||
* | Remove prototype for main(). | jmallett | 2002-07-14 | 1 | -2/+0 |
| | |||||
* | Whitespace fixes to line-up EOL escapes whose right-most extraints changed in | jmallett | 2002-06-20 | 1 | -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. | jmallett | 2002-06-20 | 2 | -5/+5 |
| | | | | This messes up some indentation in mdef.h for some macros. | ||||
* | Note that this appeared at least as early as PWB UNIX. | jmallett | 2002-06-10 | 1 | -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 to | jmallett | 2002-06-03 | 1 | -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. | ru | 2002-05-30 | 1 | -84/+101 |
| | |||||
* | Add Standards, Diagnostics and History sections. | tjr | 2002-05-26 | 1 | -0/+17 |
| | |||||
* | If a file operand cannot be processed, go on to process any remaining files | tjr | 2002-05-26 | 1 | -3/+8 |
| | | | | but exit non-zero. | ||||
* | Rename `eqrelval' which was renamed from `eqrel' to quiet a shadow warning | jmallett | 2002-05-03 | 1 | -3/+3 |
| | | | | | | | to `op' as suggested by Bruce, as this is used to store the operator between vl and vr. Submitted by: bde | ||||
* | Revert vendor identifiers, and #if 0 what is #if 0/#else for OpenBSD. | jmallett | 2002-05-03 | 6 | -13/+52 |
| | | | | | | Add __FBSDID() properly. Requested by: bde, mike | ||||
* | Remove redundant declarations of getopt(3) externals (since <unistd.h> does | jmallett | 2002-05-02 | 2 | -4/+2 |
| | | | | | take care of them), and add __FreeBSD__ to the defined() checks for the _PATH_DIVNAME. | ||||
* | Add some spurious veritcal whitespace to reduce diffs to OpenBSD. | jmallett | 2002-05-01 | 1 | -0/+2 |
| | |||||
* | Merge local changes again, against ANSIfied m4(1). | jmallett | 2002-05-01 | 8 | -245/+109 |
| | |||||
* | Use %zu to print a size_t, not %u and definitely not %d. | jmallett | 2002-04-20 | 2 | -2/+1 |
| | | | | | | | Remove WARNS?=2, as GCC will usually throw a fit right now, and I'm not going to mix WARNS and NO_WERROR. Submitted by: fenner | ||||
* | Print a size_t as %u not %d. | jmallett | 2002-04-20 | 1 | -1/+1 |
| | | | | Pointed out by: mike, des's tinderbox | ||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -2/+3 |
| | |||||
* | Prevent sign extension (again) | ache | 2002-04-20 | 1 | -1/+1 |
| |