aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gencat
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* SPDX: Fix some cases wrongly attributed to MIT.Pedro F. Giffuni2017-11-301-1/+1
| | | | | | | | In the cases of BSD-style license variants without clauses, use 0BSD for the time being in lack of a better description. Notes: svn path=/head/; revision=326398
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-101-4/+4
| | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Notes: svn path=/head/; revision=299356
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * 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
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=242545
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-1/+1
|/ | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'. Notes: svn path=/head/; revision=241737
* Removed unused code: fixes compiler warning with CC=gcc46Eitan Adler2012-02-161-83/+0
| | | | | | | | | | error: parameter 'fd' set but not used Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=231816
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* The NetBSD Foundation has granted permission to remove clause 3 and 4Warner Losh2010-02-161-7/+0
| | | | | | | | | from their software. Obtained from: NetBSD Notes: svn path=/head/; revision=203971
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-291-1/+1
| | | | | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. Notes: svn path=/head/; revision=201227
* Although the file has "ex:ts=4", do some " " -> \t translationsEdwin Groothuis2009-11-121-23/+23
| | | | | | | so that it is also nicely readable with ts=8. Notes: svn path=/head/; revision=199236
* Our bsd.*.mk only supports 6 WARNS levels and we should not use higher valuesJohan Karlsson2005-06-301-1/+1
| | | | | | | | | until it does. Approved by: re (dwhite) Notes: svn path=/head/; revision=147694
* Fix build on sparc64.Ruslan Ermilov2005-02-271-2/+2
| | | | Notes: svn path=/head/; revision=142684
* Remove unused now stuff, also set WARNS to 8Alexey Zelkin2005-02-273-898/+1
| | | | Notes: svn path=/head/; revision=142663
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingAlexey Zelkin2005-02-271-123/+708
| | | | | | | | | | | | | | | | | | | | | | | | | | | it type and endian clean. Also following changes were done: . Remove of outdated support for generating of include files for NLS catalogs being generated. . Integrate my old code optimizations . ANSI'fy prototypes . Remove duplicate defines, and cleanup includes . Remove first (unused) argument from error() function . Const'ify (gencat now WARNS=8 clean) . Convert corrupt() and nomem() functions to macros . Add *temporary* note what '-new' command line argument is deprecated now (instead of exiting with error message) WARNING: format of generated .cat files is changed! XXX: re-add support for *updating* of .cat files, NetBSD has this functionality disabled Obtained from: NetBSD (mostly) Notes: svn path=/head/; revision=142662
* Avoid unconditional increasing of variable leading to SIGSEGV, if req'dAlexey Zelkin2005-02-011-1/+1
| | | | | | | parameter for -lang is missing. Notes: svn path=/head/; revision=141117
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-15/+30
| | | | Notes: svn path=/head/; revision=131491
* Check NULL pointer to avoid SIGSEGVDavid Xu2002-12-241-1/+2
| | | | Notes: svn path=/head/; revision=108254
* Use mkstemp(3) to avoid /tmp race.Tim J. Robbins2002-05-291-4/+4
| | | | Notes: svn path=/head/; revision=97460
* Add FBSDID. Spelling. Remove unused includes. Check more malloc failures.Philippe Charnier2002-03-263-10/+12
| | | | Notes: svn path=/head/; revision=93218
* * Don't SEGFAULT on attempt to write nothing (if no source files wereAlexey Zelkin2002-02-131-1/+4
| | | | | | | | | | specified) * Don't print currline if it's NULL MFC after: 3 days Notes: svn path=/head/; revision=90609
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Fix grammar in AUTHORS section.Dima Dorfman2001-11-231-2/+2
| | | | Notes: svn path=/head/; revision=86823
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-4/+2
| | | | Notes: svn path=/head/; revision=81687
* can not -> cannotSheldon Hearn2001-08-081-1/+1
| | | | Notes: svn path=/head/; revision=81298
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$Dima Dorfman2001-06-301-0/+1
| | | | | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79011
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+2
| | | | | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78717
* Optimize gencat(1) sources in same manner as its libc part some time ago:Alexey Zelkin2001-02-083-299/+151
| | | | | | | | | | | | | | | | | | . remove SYSV compatibility bits . sort #include's . ifdef unused code . cleanup BDECFLAGS warnings . fixed few typos in diagnostics messages . style(9) fixes as part of this cleanup I have changed all K&R declarations to ANSI style. Main reason for doing that was great mix of declarations used here - clean ASNI , clean K&R, ifdef'ed (both). Reviewed by: ache (mostly) Notes: svn path=/head/; revision=72164
* mdoc(7) police: do not split author names in the AUTHORS section.Ruslan Ermilov2000-11-221-2/+3
| | | | Notes: svn path=/head/; revision=69027
* Fix octal numbers parsingAndrey A. Chernov2000-07-151-0/+3
| | | | | | | | PR: 19950 Submitted by: Alexey Klimov <klim@unique.kiev.ua> Notes: svn path=/head/; revision=63227
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Various man page cleanup:Mike Pritchard1999-08-151-2/+2
| | | | | | | | | | | | - Sort xrefs - Be consistent with section names as outlines in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49823
* More egcs warning fixes:Warner Losh1999-04-251-1/+2
| | | | | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46081