| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
While here, also fix a useless .Tn reported by mandoc.
PR: 251746
MFC after: 1 week
Sumbitted by: David Schlachter <fbsd-bugzilla@schlachter.ca>
Notes:
svn path=/head/; revision=368550
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Just a single variable declaration to extern and define elsewhere here,
myctype.
-fno-common will become a default in GCC10/LLVM11.
MFC after: 3 days
Notes:
svn path=/head/; revision=359425
|
| |
|
|
|
|
|
|
|
|
| |
This leverages CONFS to handle the install and purges an old comment.
Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17215
Notes:
svn path=/head/; revision=338758
|
| |
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=325966
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
| |
|
|
|
|
|
| |
conflicts for a git rebase I tried to do.
Notes:
svn path=/head/; revision=314449
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=308606
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Trivially capsicumize some simple programs that just interact with
stdio. This list of programs uses 'pledge("stdio")' in OpenBSD.
No objection from: allanjude, emaste, oshogbo
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8307
Notes:
svn path=/head/; revision=308432
|
| |
|
|
| |
Notes:
svn path=/head/; revision=306758
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is rather pedantic, as for most architectures it holds that
sizeof(type *) == sizeof(type **)
Found by: clang static analyzer
Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D4722
Notes:
svn path=/head/; revision=292864
|
| |
|
|
|
|
|
|
|
| |
indexing /var/db/portsnap, which was already in PRUNEPATHS.
MFC after: 1 week
Notes:
svn path=/head/; revision=290742
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| | |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=283595
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| | |\
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=265044
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| | |\ \
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=246555
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| | |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
usr.bin/locate:
usr.bin/locate/locate/util.c:249:29: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
^
usr.bin/locate/locate/util.c:249:29: note: remove the call to 'abs' since unsigned values cannot be negative
MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
^~~
usr.bin/locate/locate/util.c:274:32: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
^
usr.bin/locate/locate/util.c:274:32: note: remove the call to 'abs' since unsigned values cannot be negative
MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
^~~
The problem is that ntohl() always returns an unsigned quantity. In
this case, it's expected to be cast back to a signed integer, but to
stop complaints about abs() we just store it into an integer, and don't
call ntohl() again.
Reviewed by: ngie
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D1196
Notes:
svn path=/head/; revision=274847
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
Notes:
svn path=/head/; revision=264400
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
regents and renumber.
This patch skips files in contrib/ and crypto/
Acked by: imp
Discussed with: emaste
Notes:
svn path=/head/; revision=263142
|
| |/
|
|
|
|
|
|
|
|
| |
Reviewed by: wblock, gcooper
Reviewed by: "Lowell Gilbert" <lgfbsd@be-well.ilk.org>
Approved by: cperciva (implicit)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=244063
|
| |
|
|
|
|
|
| |
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
Notes:
svn path=/head/; revision=229655
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
Notes:
svn path=/head/; revision=229403
|
| |
|
|
| |
Notes:
svn path=/head/; revision=228992
|
| |
|
|
|
|
|
|
|
|
|
| |
of locate(1) on systems on which char is unsigned by default (ARM and
PowerPC).
Reported by: Paul Mather
MFC after: 4 days
Notes:
svn path=/head/; revision=215752
|
| |
|
|
|
|
|
|
|
|
| |
and not something out of the early 1980s. Make sure all error
messages go to stderr, not stdout. Since there's error-handling code
to handle empty SEARCHPATHS and FILESYSTEMS, use the initialization
form that allows this error to be diagnosed. (hat tip: jilles@)
Notes:
svn path=/head/; revision=214615
|
| |
|
|
|
|
|
|
|
|
|
| |
made it impossible to override PRUNEDIRS to make it empty. Use the
non-colon form to only set PRUNEDIRS if it is completely unset. (For
parallelism, the other configuration defaults here could be done the
same way, but that could be more obviously accomplished by disabling
updatedb in periodic.conf, so leave them alone for now.)
Notes:
svn path=/head/; revision=214613
|
| |
|
|
|
|
|
|
|
|
| |
are in the filesystem from the locate database. By default, exclude
".zfs" directories, as users who who have set snapdir=visible and are
taking frequent snapshots most likely do not want the snapshots
included in the locate database.
Notes:
svn path=/head/; revision=214583
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=209571
|
| |
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
when using mmap() before invoking mmap(). This avoids a confusing error
message when locate is invoked against a zero-size database after the
recent change to make mmap() fail requests to map 0 bytes.
Submitted by: Jaakko Heinonen jh of saunalahti dot fi
Approved by: re (kensmith)
MFC after: 1 week
Notes:
svn path=/head/; revision=195839
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190657
|
| |
|
|
|
|
|
|
|
| |
PR: bin/32686
Submitted by: Jaakko Heinonen <jh saunalahti.fi>
MFC after: 1 week
Notes:
svn path=/head/; revision=190656
|
| |
|
|
| |
Notes:
svn path=/head/; revision=182673
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since "local" includes also synthetic file systems (e.g. /dev, /proc)
and loopback mounts.
This version uses lsvfs to identify file system types that are local
and additionally not synthetik, loopback mounts, or read-only. This
has been suggested by Craig Rodrigues half a year ago. The patch that
has been committed is based on his suggestion, but slightly modified.
The comments in locate.rc have been updated to reflect the change and
o include zfs and xfs in the example file system parameter that can
be used to override the default outlined above.
PR: 114101
Submitted by: rodrigc at crodrigues dot org (Craig Rodrigues)
MFC: 2 weeks
Notes:
svn path=/head/; revision=172718
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
inspect all local file systems, not only ufs and ext2fs. A number
of local file systems has been added over time, and at least zfs
has the potential to become a popular choice. Without this change
a ZFS root file system causes the script to ignore all file-systems
and leads to an empty locate db. (An alternative is to add all the
relevant file systems individually, which means that at least zfs,
xfs, ntfs, ntfs-3g, msdosfs should be added, probably more).
Notes:
svn path=/head/; revision=172676
|
| |
|
|
|
|
|
|
|
|
| |
included in the default list in the locate.updatedb script.
Approved by: re (bmah)
Inspired by: mwlucas
Notes:
svn path=/head/; revision=171507
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162792
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161409
|
| |
|
|
|
|
|
| |
Funny how one character can completely distort the perception of a sentence :)
Notes:
svn path=/head/; revision=161408
|
| |
|
|
| |
Notes:
svn path=/head/; revision=159519
|
| |
|
|
|
|
|
|
|
| |
PR: bin/56558
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=153197
|
| |
|
|
|
|
|
|
|
| |
This should almost certainly be extended to other local file systems
as well (ntfs springs to mind), but I don't have the ability to test
it.
Notes:
svn path=/head/; revision=152330
|