|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
b3e76948 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
a6c20ddd |
| 05-Feb-2022 |
Wolfram Schneider <[email protected]> |
switch from short to int for lookup table
This simplifies the code, less casting is needed.
|
| #
d43255b5 |
| 03-Feb-2022 |
Wolfram Schneider <[email protected]> |
remove dead code
A lookup array is faster than a function with linear search. The old function was not used for years - spring cleaning.
|
| #
834a8fa1 |
| 31-Jan-2022 |
Wolfram Schneider <[email protected]> |
enable to configure the locate path length at compile time
The length has not changed and is 1024 chars (equals PATH_MAX).
PR: 201243 Submitted by: Willem Jan Withagen <[email protected]>
|
| #
8e7c0a6d |
| 30-Jan-2022 |
Wolfram Schneider <[email protected]> |
fix fgets error handling (from last commit)
|
| #
72a0982c |
| 30-Jan-2022 |
Wolfram Schneider <[email protected]> |
improve error handling
|
| #
389844c0 |
| 25-Jan-2022 |
Baptiste Daroussin <[email protected]> |
locate: change from BSD-4-clause to BSD-3-clause
We have the authorization from the University of California to remove the advertising clause for a while, wosch@ who also hold a copyright on this co
locate: change from BSD-4-clause to BSD-3-clause
We have the authorization from the University of California to remove the advertising clause for a while, wosch@ who also hold a copyright on this code also approved the relicensing
Approved by: wosch@ MFC after: 3 days
show more ...
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
df57947f |
| 18-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
spdx: initial adoption of licensing ID tags.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensou
spdx: initial adoption of licensing ID tags.
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.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
Initially, only tag files that use BSD 4-Clause "Original" license.
RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0 |
|
| #
31fa4102 |
| 28-Jun-2010 |
Gavin Atkinson <[email protected]> |
Various changes to make locate compilable with WARNS=6. Note that there is still one issue on FreeBSD/arm (signed vs unsigned char) which prevents actually bumping this to WARNS=6 - I'm still consid
Various changes to make locate compilable with WARNS=6. Note that there is still one issue on FreeBSD/arm (signed vs unsigned char) which prevents actually bumping this to WARNS=6 - I'm still considering the correct solution to this issue.
Tested by: make universe
show more ...
|
|
Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
| #
f1bb2cd2 |
| 22-Mar-2002 |
Warner Losh <[email protected]> |
remove __P
|
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs |
|
| #
62f882d6 |
| 04-Sep-2000 |
Warner Losh <[email protected]> |
getopt and friends are declared in <unistd.h> getopt returns -1 not EOF.
|
|
Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
| #
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <[email protected]> |
$Id$ -> $FreeBSD$
|
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs |
|
| #
c44252b6 |
| 06-Jul-1997 |
Bruce Evans <[email protected]> |
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
|
|
Revision tags: release/2.2.2_cvs |
|
| #
1c8af878 |
| 29-Mar-1997 |
Warner Losh <[email protected]> |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
|
Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
| #
c115df18 |
| 22-Feb-1997 |
Peter Wemm <[email protected]> |
Revert $FreeBSD$ to $Id$
|
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
| #
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <[email protected]> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
| #
c83667e6 |
| 27-Oct-1996 |
Wolfram Schneider <[email protected]> |
Do not store character 30. I made a test at my CS department and at least one user use this char in a file name. Older locate implementions core'd.
|
| #
139764e8 |
| 13-Oct-1996 |
Wolfram Schneider <[email protected]> |
8-Bit character support.
Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30).
7-Bit Puritan should not no
8-Bit character support.
Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30).
7-Bit Puritan should not notice any difference. Same speed, Same database size if the database contain only ASCII characters.
Reviewed by: ache
show more ...
|
|
Revision tags: release/2.1.5_cvs |
|
| #
1a1ee31f |
| 31-Aug-1996 |
Wolfram Schneider <[email protected]> |
NULL -> '\0' Submitted by: Bruce, see also c-faq 5.6 and 5.9
|
| #
7ec1929d |
| 22-Aug-1996 |
Wolfram Schneider <[email protected]> |
code cleanup
|
| #
37002181 |
| 14-Aug-1996 |
Wolfram Schneider <[email protected]> |
bigram Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %.
Bigram does not check for characters outside 32-12
bigram Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %.
Bigram does not check for characters outside 32-127.
The bigram output is silly and need ~1/2 CPU time of database rebuilding.
old: locate.bigram < $filelist | sort | uniq -c | sort -nr ^^^^^^^^^^^^^^ this can easy made bigram
new: bigram < $filelist | sort -nr
code Code does not check for char 31. Use a lookup array instead a function. 3 x faster.
updatedb rewritten sync with bigram changes
read config file /etc/locate.rc if exists submitted by: [email protected] (Guido van Rooij)
concatdb - concatenate locate databases mklocatedb - build locate database
show more ...
|
|
Revision tags: release/2.1.0_cvs, release/2.0.5_cvs |
|
| #
2fdd39d2 |
| 21-Jan-1995 |
Andrey A. Chernov <[email protected]> |
Better protection against too long pathes and 8bit controls in file names, locate dumps core instead
|
|
Revision tags: release/2.0, release/1.1.5.1_cvs |
|
| #
9b50d902 |
| 27-May-1994 |
Rodney W. Grimes <[email protected]> |
BSD 4.4 Lite Usr.bin Sources
|