summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Make smbfs capable to use 16bit char set in filenames.takawata2005-05-041-2/+2
| | | | PR:78110
* Enabke mkuzip(1) on amd64.sobomax2005-05-021-0/+1
| | | | Submitted by: Matteo Riondato <rionda@gufi.org>
* Make WARNS=6 clean, which should make it compiling on amd64.sobomax2005-05-022-4/+4
| | | | Submitted by: Matteo Riondato <rionda@gufi.org>
* Make brandelf(1)'s -t "ABI format" case insensitive, as the ABI valuegreen2005-05-021-1/+1
| | | | | | | | | given is looked up in a table and no longer stored literally in the header. Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz PR: 80499 MFC After: 1 month
* Include systat.h for cmdtab, to make gcc4 happy.delphij2005-05-021-0/+1
|
* Consistently use signed char so gcc4 won't complaindelphij2005-05-021-1/+1
|
* Rename the directive_hash.[ch] files to hash_tables.[ch] nowharti2005-04-294-11/+10
| | | | | | | that there are more than one hash table in them. There is no history to preserve here, so go without a repo-copy. Asked for by: Max Okumoto <okumoto@ucsd.edu>
* Implement a pseudo-target .WARN that allows toggeling the warning flagsharti2005-04-296-32/+109
| | | | | for the current make. This does not override flags specified on the command line and these settings are not passed to sub-makes.
* Add flag to choose whether to use getgrouplist(3) or getgroups(2)robert2005-04-291-6/+11
| | | | | | | | | to the id_print() function. Use getgrouplist(3) for the case when an user was specified, and getgroups(2) when no user was given. That reverts to the expected behaviour and makes it easy to implement an option later to force using getgrouplist(3).
* Fix spelling error.robert2005-04-291-1/+1
|
* We need to pass NGROUPS + 1 to getgrouplist(3) to displayrobert2005-04-281-1/+1
| | | | | | NGROUPS groups. getgrouplist(3) may put a duplicate group id into the passed array (it sets [0] and [1] to the value of the gid argument), but id_print() sorts them out.
* - Merge two functions for printing `id' output.robert2005-04-281-57/+33
| | | | | | | | | | | | Showing the ids of both an user given by an argument to `id', and the current user, is now handled in a single function. Displaying the current user's ids was inaccurate because getgroups(2) had been used. getgroups(2) returns the current kernel state of a user's groups, which may not always be correct if /etc/group was recently changed. - Fix a few style bugs. PR: bin/78085
* Introduce a flag to enable extended warnings (-x) and make them offharti2005-04-284-8/+31
| | | | | by default. This should fix the problem of getting lots of errors when building with an up-to-date make and old *.mk files.
* - Set negative row or column argument values to zero.robert2005-04-281-3/+5
| | | | | | | | | Negative values would produce undefined behaviour including a possible segmentation fault. - Explicitly initialize the global row and column variables to zero. PR: bin/80348
* Use a minimal perfect hash for the special sources/targets too. Addharti2005-04-284-49/+114
| | | | the corresponding magic to create the hash function to the Makefile.
* Fix the $$FreeBSD$$ that should be written verbatim to directive_hash.charti2005-04-282-2/+2
| | | | so that it doesn't get replaced with the Makefile's revision.
* Move the hash function for directives into its own file and addharti2005-04-284-67/+160
| | | | | | | | | a Makefile target to re-created this file. Note, that there is no explicite dependency to automatically re-create the file, because this is needed only when the directive table changes and it requires the (yet to come) devel/mph port. Submitted by: Max Okumoto <okumoto@ucsd.edu> (first version)
* bsdtar now uses the "tree" package instead of "fts" for walkingkientzle2005-04-247-1518/+743
| | | | directory heirarchies.
* Correct autoconf/automake invocation to work with devel/gnu-auto* fromkientzle2005-04-231-2/+2
| | | | | | ports. Thanks to: Dag-Erling Sm?rgrav (des@)
* Minor fix to the configure logic to properly detect ACL support.kientzle2005-04-231-2/+1
|
* Overhaul getdate.y. In particular, remove minutes-based logickientzle2005-04-231-686/+574
| | | | | | | | | | | | | (combine with existing seconds-based), treat '-' as punctuation rather than a negative number indicator (eliminates several special cases), use a single list of special words instead of several separate lists, use table-driven abbreviation logic (eliminate duplicate word entries and special-case abbreviation and plural handling). The result is shorter, simpler (judging from comments, earlier maintainers didn't understand the special handling for "negative years"), handles more cases (e.g., "tu" is now a recognized abbreviation for "tuesday", "3rd" is now equivalent to "third") and it has 2 fewer shift/reduce conflicts.
* Point users to tcsh(1) for information about shell globbing patterns,murray2005-04-191-1/+2
| | | | | | rather than 'XXXX'. MFC after: 1 week
* MFS revision 1.139.2.4 (add edwin) because I accidentally committed tocperciva2005-04-181-0/+1
| | | | | | RELENG_5 instead of HEAD. Pointy hat to: The large pile of hats over in the corner.
* A very minor tweak to the handling of leading '/' characters.kientzle2005-04-171-1/+6
|
* A number of fixes to the autoconf-generated build system. Inkientzle2005-04-175-30/+120
| | | | | | | | particular, acl support is no longer enabled on FreeBSD 4, acl support should be correctly enabled on Linux, dirent.d_namlen should be correctly detected on platforms that support it. Thanks to: Greg Lewis, Juergen Lock, and Jaakko Heinonen
* Configure script needs to test for dirent.d_namlen.kientzle2005-04-171-1/+1
| | | | Thanks to: Juergen Lock
* Update "make distfile" to use newest automake/autoconf from ports.kientzle2005-04-171-2/+2
| | | | Thanks to: Juergen Lock
* Support path-rewriting options (including --strip-components) for bothkientzle2005-04-176-90/+115
| | | | | | extraction and creation. While I'm here, fix a bug reported by Garrett Wollman: when stripping the leading '/' from the path "/", don't produce an entry with an empty name; produce "." instead.
* Reduce the width of the THR column to 4 characters, to avoid wrap-aroundkeramida2005-04-161-5/+5
| | | | | | | | of lines in SMP machines (which are wider), until we have a better way of handling window sizes & columns in top. Caught by: ache, Andre Guibert de Bruet <andy@siliconlandmark.com> Point hat: keramida
* Update the bugs section, null characters in the format string are now handled.stefanf2005-04-141-6/+4
|
* Handle null characters in the format string. A \0 in the argument passed to %bstefanf2005-04-141-7/+13
| | | | still results in trucation but this is be much harder to fix.
* No reason to write \a and \v as octal escape sequences.stefanf2005-04-141-2/+2
|
* - Add a THR column to the process listing, that shows the number ofkeramida2005-04-141-12/+57
| | | | | | | | | threads a process has. The THR column is disabled and disappears when 'H' is hit, because then every thread gets its own output line. - Allow sorting processes by "threads". Approved by: davidxu Inspired by: Jiawei Ye <leafy7382@gmail.com>
* Printf(1) is WARNS 6 clean.stefanf2005-04-141-0/+1
|
* - Move parts of the long main() function into a new function doformat().stefanf2005-04-141-153/+160
| | | | - Rewrite the loop in main() to be more understandable.
* Assign 0.0 to the variable passed to getfloating() if the argument is missing.stefanf2005-04-131-1/+3
| | | | MFC after: 1 week
* Split VarFind() into a series of functions tailored for the different setsharti2005-04-131-70/+94
| | | | | | | | | of flags originally passed to VarFind(). This eliminates the code by removing a bunch of tests. Patch: 7.173 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Add support for more than two datasets. Currently limited to 7 thoughmdodd2005-04-131-29/+29
| | | | | | | | | the limit is only the number of meaningful graph symbols available. Statistical comparison is performed between the first dataset and any further datasets. No objection by: phk
* Add myself as a new ports committer.jylefort2005-04-121-0/+1
| | | | Approved by: adamw (mentor)
* Silence a warning on systems without carp(4).ru2005-04-121-1/+2
|
* Replace buggy for-loops to skip certain character with strspn(). If *fmt wasstefanf2005-04-111-3/+3
| | | | | | | '\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating null character. MFC after: 1 week
* Parse_Init() is gone so remove comments that mention it.harti2005-04-111-11/+0
|
* Remove an unneccesary forward declaration for MainParseArgs().harti2005-04-111-20/+34
| | | | | | | | | | getopt() may be called several times - make sure to set optreset to reset it. Cleanup handling of non-option arguments. Remove some misleading comments. Patch: 7.171 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Remove the call to Parse_Init() - there is no need to initializeharti2005-04-111-2/+0
| | | | | a static variable to NULL. Forgot this in the previous commit to parse.[ch].
* Rework the directive parsing code. Instead of using a lot of strcmp()sharti2005-04-116-599/+673
| | | | | | | | | | | | on every line that starts with a dot use a minimal perfect hash function and a single strcmp() on the first word after the dot to find out whether it is really a directive call and, if yes, which one. Then directly dispatch to a handler function for that directive (or fall through to the dependency handling code). This makes the directive parse a little bit more strict about the syntax: the directive word must be followed by a character that is not alphanumerical and not an underline (making .undefFOO illegal); .endif and .else can only be followed by comments.
* Add myself to the calendar.remko2005-04-101-0/+1
| | | | | MFC after: 1 week Approved by: simon (mentor)
* Remove unused variables.stefanf2005-04-097-11/+6
|
* Commodore Perry was not 4 years old when he sailed to Japan. Correctmurray2005-04-081-1/+1
| | | | birth year.
* Add myself (and decrease the average age).joel2005-04-081-0/+1
| | | | Approved by: brueffer (mentor)
* Move the code for parsing .for and .if statements to the place where theharti2005-04-081-56/+42
| | | | other directives are handled.
OpenPOWER on IntegriCloud