Commit Graph

329 Commits

Author SHA1 Message Date
kim ca8a79a330 Whitespace police: Line up the version numbers for doc-operating-system-* 2022-12-17 11:51:52 +00:00
martin 0498f53817 Welcome to 10.99.1! 2022-12-16 17:35:42 +00:00
wiz ab1d953c71 grep: when -r is used, but no path argument provided, search the current dir
As discussed on tech-userlevel.
2022-09-09 22:14:28 +00:00
mrg 131540c824 apply some NetBSD_Disabled_make.info: love to avoid a source tree
timestamp issue with read-only sources.  fixes PR#42497.
2022-03-14 05:50:08 +00:00
christos b987e7414b fix bug in the original code I copied from to scan_ffs 2022-01-20 14:46:06 +00:00
christos 6e96237455 Open with non-blocking I/O and then reset the flags to avoid blocking for
FIFOs. This is a lot easier to do than adding another stat(2) to avoid open(2).
2021-12-28 19:22:58 +00:00
christos 0ccef54a9a PR/56584: Andreas Gustafsson: Skip FIFO's when -D 2021-12-28 14:59:02 +00:00
christos cbffe7eabb deal with alloca for lint. 2021-12-14 21:38:24 +00:00
chs 68e7f4602c do not descend into the man or tests directory.
this avoids a problem where git sets the file timestamps differently
than CVS does and accidentally causes make to try to rebuild
various targets that don't work during the tools build.
this matches the change that was made to Makefile.am in our tree.
2021-08-03 20:22:15 +00:00
christos 70753faeff PR/56256: Germain: cvs info doc incorrect for update -D 2021-06-21 02:48:01 +00:00
cjep c83e65e698 Whilst debugging the nbmakeinfo tool on an OpenBSD box, I noticed
two changes in OpenBSD's makeinfo sources. One addresses an out of bounds
access issue and the other an off-by-one issue.

Fixes PR toolchain/56179. Reviewed by christos.
2021-06-07 20:27:59 +00:00
mrg a2d1542565 add some new uses of existing GCC_NO_* variables for warning issues.
remove an no longer relevant for gcc7 workaround (works fine in both
gcc9 and gcc 10.)
2021-04-12 02:54:07 +00:00
christos e5814c28b5 Add some jemalloc stubs so we can link as a jemalloc replacement 2021-03-03 21:46:43 +00:00
ryoon 8591616ee7 Do not use old-style backquotes and other old-style expressions.
Fix PR misc/55918.
Tested with pkgsrc/editors/emacs26 and emacs27.
2021-02-03 15:42:53 +00:00
roy 3728077580 diffutils: execl requires a NULL sentinel 2020-12-13 00:04:40 +00:00
rin a8c74629f6 Support aarch64eb in */config.guess.
Cherry-picked from upstream:
https://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=1c4398015583eb77bc043234f5734be055e64bea

Everything except external/apache2/llvm/dist/llvm/cmake/config.guess
is patched, which is under vendor tag and cannot be modified. I expect
that this file is not actually used as we use hand-crafted version of
configure script instead of cmake for building LLVM.

Note that external/apache2/llvm/autoconf/autoconf/config.guess has
already been committed on Oct. 20, but commit message disappeared as
cvs aborted due to "permission denied" when trying to modify the file
mentioned above. Sorry for confusing you.

Also note that GMP uses its own config.guess Patch for
external/lgpl3/gmp/dist/config.guess is provided by ryo@. Thanks!
2020-11-17 10:35:10 +00:00
mlelstv 16a709a022 Moving pointers could fail if realloc() allocates a new memory region
where the difference between old and new address exceeds an int. Use
ptrdiff_t for calculations instead.
2020-09-26 11:39:17 +00:00
kim 54053e79bb Reflect that this is current by using ".99" in the Os version
This helps distinguising NetBSD-current pages from NetBSD-9.0 pages better
on man.netbsd.org, which is still using nroff. (Using mandoc needs more
tweaking to avoid all page footers reflecting the uname release of the
web server.)
2020-09-02 09:28:25 +00:00
wiz 69f2512a80 Add missing linebreak.
Reported by Anon.
2020-07-18 14:53:10 +00:00
thorpej fd0ca8eb0d Hack to get the "has ANSI C headers" check to pass on newer versions
of clang as bundled with Xcode.  If someone really cares about ensuring
NetBSD's host tools build on a system without <stdlib.h>, then I'm sure
that enterprising individual will also find a super #correct fix for this
specific problem.
2020-06-26 06:08:37 +00:00
christos ca704e13dc Add --timestamp for reproducible builds. 2020-06-16 00:47:21 +00:00
rin a3321772bf Check x > 0 *before*, not after, using (x - 1) as index of array. 2020-06-05 12:47:28 +00:00
kamil b4c87b8eb8 Avoid redefining _REENTRANT under sanitizers
Switch away from -Wno-macro-redefined which was Clang specific.
2020-06-01 00:34:25 +00:00
jmcneill 664e0094ef Satisfy -fno-common 2020-05-22 23:19:53 +00:00
kamil cc056601a4 Expand the -Wno-macro-redefined usage to MKLIBCSANITIZER
_REENTRANT can be redefined and this is considered as an error.
2020-02-08 00:11:18 +00:00
skrll 47e7684e70 Update for new DTC 2019-12-22 12:42:23 +00:00
skrll d51be32b57 Update version 2019-12-22 12:41:52 +00:00
skrll 7cdf52c4e1 Merge conflicts 2019-12-22 12:38:24 +00:00
skrll cc7d2833ec Import dtc 1.5.1 2019-12-22 12:34:02 +00:00
mlelstv 656eb63c5c Handle NULL params, fix error paths. 2019-12-14 09:05:30 +00:00
joerg 76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
kamil 77a1ad5f00 Switch the iconv(3) prototype to the POSIX conformant variation
Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.
2019-10-24 18:17:14 +00:00
mrg de11d87641 introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
kamil 2bb9aadb1b Add missing ; 2019-09-24 21:03:29 +00:00
kamil 6d130c780a Add a bunch of meta files from git and hg to ignore from CVS imports
This will allow interop of src/ with git and hg without malforming repos.
2019-09-24 21:01:50 +00:00
maya 33a768ce2e Ignore our default core file pattern rather than one of another system.
"core" shows up as a path sometimes.
2019-09-24 17:23:06 +00:00
kamil 1a5f018b01 Enhance the support of LLVM sanitizers
Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
2019-08-27 22:48:53 +00:00
martin 3b87693c31 Welcome to NetBSD 9.99.1! 2019-07-30 15:56:53 +00:00
gutteridge d62992cd0f cvs.1 & cvs.texinfo: note global "-u" option
Add details about the global "-u" option, partly to clarify its
distinction from the "admin" command's local "-u" option. Addresses
PR bin/25472.
2019-07-06 00:10:25 +00:00
gutteridge 49b638eae9 cvs.1 & cvs.texinfo: note NetBSD addition of global -D option 2019-07-05 23:30:57 +00:00
gutteridge bfcad2f68f cvs.1 & cvs.texinfo: a couple of minor corrections
Add a caveat about file locking (a.k.a. reserved checkouts) to the
"release" command, and add a missing word elsewhere.
2019-07-05 22:42:09 +00:00
gutteridge a0308593ca cvs.1 & cvs.texinfo: add various small corrections
Add various corrections mostly sourced from upstream's cvs.texinfo,
e.g., note NetBSD's local change to log admin commands in history
(subsequently added on upstream's HEAD, since it was noted in
r. 1.689), add some references to rannotate and rlog (from r. 1.686),
some amendments concerning rdiff (from r. 1.687), and miscellaneous
typo fixes.
2019-05-01 02:15:07 +00:00
gutteridge 914c509bae cvs.1 & cvs.texinfo: add a missing section documenting the "tag" and
"rtag" commands. This is taken mostly from the upstream project's
cvs.texinfo revisions 1.686 and 1.687. Additionally, I've reflected
NetBSD's local changes to log "tag" as well as "rtag" in history, and
to require admin privileges for destructive tagging commands. This
addresses PR bin/33877.
2019-04-28 07:13:16 +00:00
gutteridge 0f149052df cvs.texinfo: add minor formatting fix for Texinfo >5.0
Pull over a tiny fix from pkgsrc's devel/scmcvs patch-ab to support
generating info files with newer versions of Texinfo than what's
shipped in base presently. (Should base be updated at some point, or
for those using an external toolchain here.)
2019-03-03 21:26:18 +00:00
gutteridge da774a65c9 cvs.1 & cvs.texinfo: minor amendments and cvs.1 regen
Put a cross-reference to "init" back in "Creating a Repository" and
other minor formatting tweaks, and regenerate cvs.1 to reflect the
previous changes by christos@ in cvs.texinfo r. 1.7.
2019-03-03 21:11:54 +00:00
christos 7c2e947942 Fix the build by merging duplicate "init" sections. 2019-03-03 02:21:07 +00:00
gutteridge 4e4fac16d4 cvs.1 & cvs.texinfo: add details about "init"
Add a section about the "init" command that has been missing all this
time. Part of the basic description is resurrected from r. 1.20 of
cvs.1 (in its prior incarnation in the CVS project tree under /man
rather than /doc), contributed by Tom Lees back in 1999. The caveat
about the history file is copied from elsewhere in the current
cvs.texinfo file. Additional fragments written by me. Addresses the
PR bin/45446.
2019-03-02 21:30:40 +00:00
gutteridge 794281688a cvs.1 & cvs.texinfo: add information about the "update" command's "-t"
flag to cvs.texinfo, so the installed man and info documentation match
here. This makes cvs.1 auto-generable from cvs.texinfo again, which I
plan to leverage with further additions later.
2019-02-12 01:32:08 +00:00
gutteridge 71192149f4 cvs.1 & cvs.texinfo: add missing sections documenting the "add" and
"remove" commands. These were never present upstream on the branch
NetBSD imported, but were subsequently added on other branches (against
upstream's HEAD: cvs.1: r. 1.53 & cvs.texinfo: r. 1.697).

XXX While cvs.texinfo is supposed to be used to auto-generate cvs.1,
that isn't safe at present, because content has been added direct to
cvs.1 in NetBSD's tree.
2019-02-10 22:36:27 +00:00
christos f7a36a949c When we we fail to remove tags, print an error message since we are going
to be exiting with an error anyway.
2019-01-05 00:27:58 +00:00