Commit Graph

5954 Commits

Author SHA1 Message Date
dholland
b7b7574d3b Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
2014-07-05 19:22:41 +00:00
mrg
26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
mrg
8fdcc92436 delete GCC 4.1 reach over. 2014-06-13 01:11:15 +00:00
mrg
bc41cab760 delete GCC 4.1 sources. 2014-06-13 01:00:32 +00:00
mrg
aff8ab64be delete GCC 4.1 sources. 2014-06-13 00:46:29 +00:00
mrg
96dcd295da delete GCC 4.1 sources. 2014-06-13 00:35:37 +00:00
mrg
1fffdc27bd remove GCC 4.1 sources. 2014-06-13 00:35:03 +00:00
mrg
4dcc96edd5 delete GCC 4.1 sources. 2014-06-13 00:30:37 +00:00
dholland
1f811437f2 Hide the -P option in the usage message unless HAVE_LIBPCRE (which we
don't have in base) as per PR 39122.
2014-06-12 07:42:46 +00:00
martin
aad6ef8bb5 Bring back the playstation2 port - now that a toolchain for it is
available again.
2014-03-31 11:25:47 +00:00
tron
6ff95a26c5 Don't compile with fortification. It breaks makeinfo(1) for certain
input files (e.g. "cl.texi" shipped with Emacs 23.4) if it is compiled
with GCC 4.8.3 and "USE_SSP" set to "yes".
2014-03-24 23:03:01 +00:00
joerg
ab6a556791 Add a register definition for the Processor Status Word on VAX.
Change the unwind definition to specify the CFA base via %fp before
using it in the various register locations.
2014-03-18 23:43:40 +00:00
joerg
881aa56154 Link with --eh-frame-hdr. 2014-03-16 13:33:14 +00:00
joerg
519f354c13 Cast strlen of constant down to avoid argument widening. Change an abs
to labs based on the arguments.
2014-02-27 18:09:18 +00:00
skrll
6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
apb
dd68def8c5 Remove ".ll 80", so the man page will use the default 78-character
line length.
2014-01-21 20:24:29 +00:00
apb
07e9f21310 Don't include ${DESTDIR} in -DLIBDIR=..., -DGETTEXTDATADIR=...,
and a few other variables.
2014-01-20 10:57:38 +00:00
christos
d04b9aaa55 fix some inlines to make compilable with later versions of gcc 2014-01-20 00:05:57 +00:00
joerg
048d4146f6 Use format strings. 2014-01-10 11:29:24 +00:00
christos
7b3b50214e add posix 1003.1j 2013-12-25 15:09:10 +00:00
joerg
dcbaafe6f3 NUL != NULL, so use correct literal here. 2013-11-18 18:17:19 +00:00
tron
0b1de3ffdc Don't attempt to build "stpcpy.c" and "stpncpy.c". NetBSD provides these
functions and these implementation don't build because of the new
SSP definitions.
2013-11-06 23:32:04 +00:00
christos
8b772b0519 revert previous now that the config test is correct 2013-11-06 22:56:38 +00:00
christos
cd92d51af7 correctly fix stpcpy 2013-11-06 22:54:49 +00:00
tron
20b1c42258 Fix build problem caused by definition of SSP version of stpcpy(3). 2013-11-06 21:44:44 +00:00
mrg
f418301d8c add some NetBSD_DISABLED_* rules. 2013-11-01 06:43:11 +00:00
wiz
e24b444ba3 Recognize NetBSD-6.1. 2013-09-01 21:14:05 +00:00
riastradh
aada01fb57 Remove trailing whitespace in texi2dvi which confuses sed.
XXX pull up to 5, 6?
2013-08-30 16:24:06 +00:00
drochner
4902aed8dd remove some files which will be regenerated during build, avoids
writes into $BSDSRCDIR
2013-08-13 20:38:08 +00:00
joerg
2004814a3c Enable unwind tables by default. Assert the default in target-def.h to
make sure that it sticks.
2013-08-12 21:22:18 +00:00
wiz
a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
njoly
a99b56e5d4 Quote -width arguments that start with a '-' sign. 2013-07-13 10:54:00 +00:00
wiz
7f3bb73875 Describe another use for .Cm. Bump date. 2013-06-09 16:32:43 +00:00
joerg
be4584e4d4 Don't depend on ctype.h pulling in sys/ctype_bits.h, do so explicitly. 2013-04-26 17:34:55 +00:00
joerg
e8fa8f4db7 Extend ctype classification table to 16bit. Based on patch by
Takehiko Nozaki, with changes to compile fail when using the old names
and to exploit __BUILD_LEGACY
2013-04-13 10:21:20 +00:00
joerg
3942a5096b yy_size_t is typically unsigned, so use a separate variable for the
return value of read(2).
2013-04-12 18:12:15 +00:00
christos
3eca9b543f fix argument passing. 2013-04-11 19:00:41 +00:00
martin
ebfcfb962b Fix "ashq" second argument sign extension (the assembler does not treat
-1 as a 64bit value).
Upstream reported as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56875
Problemm noted by Jonny Billquist (in lint), hint for solution from mouse.
2013-04-08 12:10:53 +00:00
dholland
255fdbee78 Improve the output of gcc when a subprogram gets a signal. When OOMing
it gets signal 9, which prints "Killed" -- that this is actually
signal 9 and not a generic message is never clear and causes people to
file PRs unnecessarily.

Suggested by followups to PR 44096.

I applied this to gcc 4.5 ages ago, but this copy has been sitting
around in one of my trees for even longer and it may as well get
committed too.
2013-04-05 03:14:45 +00:00
wiz
500d85431e casing. 2013-03-08 08:29:36 +00:00
pooka
e23a1341b4 Add librumpclient. requested by wiz 2013-03-08 08:13:34 +00:00
wiz
ba9019db8d Add libnpf. From rmind.
While here, add consistency in casing.
2013-03-07 21:54:04 +00:00
agc
63d2555829 Following a prompt from wiz, ensure that explanations for the
minimalist JSON library libmj, and the netpgp verification library,
libnetpgpverify, are in the correct places.
2013-03-07 05:33:13 +00:00
wiz
72cafb0e98 Add libmandoc. 2013-03-06 21:42:47 +00:00
joerg
34173e99da Fix template lookup. 2013-03-02 23:23:55 +00:00
matt
58ca788453 Make GCC define __ARM_PCS and __ARM_PCS_VFP as defined by the ARM C Language
Extentions (clang already defines them):
__ARM_PCS is defined to 1 if the default procedure calling standard for
the translation unit conforms to the "base PCS" defined in [AAPCS].
__ARM_PCS_VFP is defined to 1 if the default is to pass floating-point
parameters in hardware floating-point registers using the "VFP variant PCS"
defined in [AAPCS].
2013-01-25 08:31:43 +00:00
christos
8743a11216 Apply GCC/35998 from FreeBSD http://svnweb.freebsd.org/changeset/base/245024
gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.
2013-01-17 20:01:37 +00:00
apb
aa3786b9b6 Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

This change to NetBSD's version of GNU grep 2.5.1 (licenced under
GPLv2) was made without direct reference to any code licenced
under GPLv3.

Thanks to Ignatios Souvatzis for looking at GPLv3-derived
patches and describing the problem in general terms.  Thanks to
pkgsrc/devel/coccinelle for helping me find places where int
variables were used to store the results from pointer arithmetic
or strlen().  Thanks to Martin Husemann for testing.
2013-01-05 09:40:15 +00:00
wiz
6192c2fd3b Set GNATS_ADDR to gnats-bugs@NetBSD.org, like in all other places.
Ok spz for admins.
Requested by Bug Hunting.
2012-12-21 09:40:17 +00:00
apb
ee9a2498cf Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat.  This should fix PR 47188.
2012-12-02 12:55:27 +00:00