Commit Graph

35 Commits

Author SHA1 Message Date
lukem 230c41e44c adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.
2023-06-03 21:30:20 +00:00
mrg 21303c93e9 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
mrg 1fcf7be45f - use -Wno-error=implicit-fallthrough with GCC7. 2019-02-04 04:05:15 +00:00
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
wiz 4739fc03e4 Adapt to repository move of dist from external/bsd/bzip2 to
external/bsd/bzip2/dist.
2012-05-07 08:51:47 +00:00
wiz 3815d29a7f Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2. 2012-05-07 00:35:25 +00:00
mrg 8f161cd6d3 remove all the code that supported HAVE_GCC=3. mostly from chuq. 2011-06-20 06:52:36 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
tsutsui 51e440b3e3 Use -fno-loop-optimize rather than -O0 for gcc4-sh3-bz2 hack. 2008-05-16 13:13:00 +00:00
bjs 0b40e16c9a Change version suffix back to 1.1 at request of christos@@ so that
users know whether or not their library has the security
vulnerability.
2008-03-19 17:10:52 +00:00
christos 0738e9e28d no more texinfo files. 2008-03-18 14:48:39 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
mrg e795c5750a use -O0 for blocksort.o on sh3 & GCC4. 2006-05-21 03:34:57 +00:00
lukem ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
thorpej 45bf1f0dd9 Work around compiler problem on VAX by building with -O0 on that
platform.
2002-06-27 21:03:37 +00:00
mjl 6ff1da15a3 Munge 1.0.2 texinfo file a bit more 2002-03-15 01:50:40 +00:00
tv 001067bbd1 Readability cleanups; MKfoo=no -> NOfoo. 2001-12-12 00:51:00 +00:00
simonb 6a1c62c440 Update to bzip2 v1.0.1, building with reachover Makefiles to dist/bzip2.
Complete API change, library major bumped. *sigh*
2001-06-03 13:41:59 +00:00
wiz 1c35e133b0 Install html documentation for libbz2/bzip2.
Reviewed by Simon Burge.
2000-11-10 02:00:09 +00:00
wiz 3f39888ac6 Install (lib)bzip2 info file, as requested by NAKAJIMA Yoshihiro in PR 7402. 2000-11-08 02:15:13 +00:00
simonb c878fedaf6 Pull in decompression error checking from bzip2-1.0.0. Fixes PR bin/8237.
bzip2-1.0.0 is a complete API change and will no be integrated just now...
2000-06-13 14:12:28 +00:00
fvdl 7941fc97fb Revert changes made in version 1.6. They introduced a heuristic for
detecting corruption, which may have prevented coredumps for
real corruption cases, but in practice caused false positives.
1999-11-02 21:16:55 +00:00
simonb a4b6230f87 Use single underscore instead of double underscore for namespace
protection, as per dicussion with Klaus Klein last week.
1999-08-30 05:12:58 +00:00
simonb 5ed3048893 How lame is this - a decompression library SHOULD NOT use a SIGSEGV
or SIGBUS to indicate corruption in the compressed file!

Do some error checking on the array indices in the MTF macro to
return "data error" if we get outrageous values.  Some of these
values are by observation, and have been tested on all bz2 files
in the distfiles directory and a range of bz2 files up to 44MB
in size.

Should fix problem reported in PR bin/8237 by NAKAJIMA Yoshihiro.
1999-08-20 06:13:00 +00:00
simonb 5907998e39 Prefix all private functions and variables with "__BZ" so as not to
pollute namespace.
1999-08-20 02:21:48 +00:00
simonb 10b4ca41b4 Revert white space changes for imported sources. 1999-07-03 12:30:16 +00:00
simonb 6bf3aa19f9 More trailing white space. 1999-07-02 15:46:05 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos ac193186ef char -> unsigned char 1998-11-06 22:49:30 +00:00
ross ef23d408ed These are more trouble than they are worth. They belonged in regress anyway. 1998-09-30 07:50:11 +00:00
ross 43b9fa8f01 New files specific to the NetBSD libbz2. 1998-09-14 03:18:12 +00:00
ross cede6f3c99 More rcs id keywords. 1998-09-14 03:13:53 +00:00
ross ec61451f99 Adding NetBSD rcs id keywords. 1998-09-14 03:08:17 +00:00
ross 6610fc2af7 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 03:01:19 +00:00