Go to file
kre 311f349816 Stop assuming that printf handles options in any way at all
(it doesn't - that is, shouldn't) which includes processing -- as an
"end of options".  The first arg is (always) the format string.

Remove/fix tests that assumed the contrary.

Problem (with printf) pointed out on tech-userlevel by Thierry Laronde.
2019-07-21 15:25:59 +00:00
bin Add a fallback definition of LSDEAD in ps(1) 2019-06-19 21:25:50 +00:00
common Introduce UBSAN_ALWAYS_FATAL in micro-UBSan 2019-06-17 18:55:37 +00:00
compat make all lines look the same, and put one arch per line. 2019-06-13 21:17:54 +00:00
crypto merge conflicts, regen man pages. 2019-06-09 18:44:29 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Add ftcolor.h to build from freetype2. 2019-07-21 12:15:13 +00:00
doc Note piixpm(4), amdsmn(4) and amdzentemp(4). 2019-07-18 09:07:59 +00:00
etc Create up to pci19. 2019-07-21 11:14:18 +00:00
external Add ftcolor.h to build from freetype2. 2019-07-21 12:15:13 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Sync with 2019b (field name change) 2019-07-03 15:49:21 +00:00
lib Fix thinko: syscalls -> signals 2019-07-11 03:30:01 +00:00
libexec Tweak markup some more. 2019-07-15 01:26:15 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Implement VLAN hardware filter function(ETHERCAP_VLAN_HWFILTER). 2019-07-17 03:26:24 +00:00
share add util-macros src dir. 2019-07-20 20:25:35 +00:00
sys remove unused structure members. this brings most <foo>_chain and 2019-07-21 10:27:56 +00:00
tests Stop assuming that printf handles options in any way at all 2019-07-21 15:25:59 +00:00
tools Bring back two lines deleted by accident. From Kamil Rytarowski. 2019-06-22 14:40:33 +00:00
usr.bin Stop assuming that printf handles options in any way at all 2019-07-21 15:25:39 +00:00
usr.sbin scripting_vprintf: to simplify things for gcc (and avoid "may be used 2019-07-21 12:23:18 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Use the generated "postinstall" in the objdir for postinstall-check 2019-06-14 09:12:42 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git