summaryrefslogtreecommitdiff
path: root/sbin/rcorder/rcorder.c
Commit message (Collapse)AuthorAgeFilesLines
* [rcorder] [crunch] Fix C function declarations to include voidAdrian Chadd2020-09-211-3/+3
| | | | | | | | | | This fixes a compile issue under gcc6 which complains about legacy style C function declarations. Differential Revision: https://reviews.freebsd.org/D26504 Notes: svn path=/head/; revision=365957
* Add a few features to rcorder:Andrey V. Elsukov2020-09-081-23/+338
| | | | | | | | | | | | | | | | | | o Enhance dependency loop logging: print full chain instead of the last link competing the loop; o Add -g option to generate dependency graph suitable for GraphViz visualization, loops and other graph generation issues are highlighted automatically; o Add -p option that enables grouping items that can be processed in parallel. Submitted by: Boris Lytochkin <lytboris at gmail> Reviewed by: melifaro MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25389 Notes: svn path=/head/; revision=365449
* 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
* Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9Enji Cooper2016-02-011-6/+1
| | | | | | | | MFC after: 1 month Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295119
* Fix a ton of speelling errorsEitan Adler2015-10-211-2/+2
| | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337 Notes: svn path=/head/; revision=289677
* - Revert r277670 (#include order is required for fparseln)Enji Cooper2015-01-251-1/+1
| | | | | | | | - Remove unnecessary CFLAGS+= -I now that make is no longer required to make rcorder build Notes: svn path=/projects/building-blocks/; revision=277673
* Sort #include orderEnji Cooper2015-01-251-1/+1
| | | | Notes: svn path=/projects/building-blocks/; revision=277670
* Fix CFLAGS+=-DDEBUG by using the right header for libutil (libutil.h, notEnji Cooper2014-11-301-1/+1
| | | | | | | util.h) Notes: svn path=/projects/building-blocks/; revision=275306
* Fix warnings found by -Wmising-variable-declarations.Ed Schouten2012-10-191-1/+1
| | | | | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible. Notes: svn path=/head/; revision=241720
* Add more static keywords to rcorder(8).Ed Schouten2011-12-111-48/+47
| | | | | | | | | The global variables and functions provided by rcorder.c are not used in the other C files, as the other C files only provide memory allocation and hash functions. This reduces the binary size by 10%. Notes: svn path=/head/; revision=228422
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-3/+3
| | | | | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file. Notes: svn path=/head/; revision=227081
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-291-50/+21
| | | | | | | | | | 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
* Cleanup of userland __P useKevin Lo2007-11-071-21/+21
| | | | Notes: svn path=/head/; revision=173412
* do_file() is called recursively from several places and cannotXin LI2006-05-201-1/+9
| | | | | | | | | | | safely free() anything related to items that may be recursed on. Obtained from: DragonFly (rev 1.7, dillon) PR: bin/94767 MFC After: 1 month Notes: svn path=/head/; revision=158759
* Fix a "free(): error: chunk is already free" under certainDoug Barton2006-01-171-3/+10
| | | | | | | | | | | circumstances that include circular dependencies. PR: bin/91789 PR submitted by: Frank Behrens <frank@pinky.sax.de> Patch submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Notes: svn path=/head/; revision=154465
* Sync with NetBSD.David E. O'Brien2002-06-211-1/+3
| | | | | | | | | * don't whine about non-regular files. It is perfectly normal to keep a CVS or RCS directory in /etc/rc.d. * manpage tweak Notes: svn path=/vendor/NetBSD/dist/; revision=98567
* Import the NetBSD 1.5 RC system.David E. O'Brien2001-06-161-0/+819
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names. Notes: svn path=/vendor/NetBSD/dist/; revision=78344