Commit Graph

4055 Commits

Author SHA1 Message Date
joerg
476dbf72eb Don't checkout compiler-rt, drop old build glue. 2014-01-15 20:53:00 +00:00
roy
8e4e77c750 Sync 2014-01-15 20:43:21 +00:00
roy
6b85057a5c Import dhcpcd-6.2.1 with the folowing changes:
* on BSD only flush RA routers and prefixes when trying to own them.
 * Mark some data locations as read only and fix a build issue.
 * Fix some possible NULL dereferences, CID 1153963.
 * Fix CID: 1153964 and 1153966
 * Add support for RFC3495 DHCP option for CableLabs Clients.
   Note that for the TSP suboption 3 we only support the FQDN encoding.
 * Init system detection moved to dhcpcd-run-hooks(8)
 * Fix compile errors and warnings with IPv6 disabled.
2014-01-15 20:36:31 +00:00
apb
bebb9d5ca8 For MKREPRO, instead of using __DATE__ and __TIME__
in ntp_calendar.c::ntpcal_get_build_date(), use a date/time
extracted from the importdate file.
2014-01-15 14:40:30 +00:00
apb
b7f6cc1193 If the "importdate" file exists, do not embed the date/time/build number
in the generated version.  This logic was present in an earlier revision
of this file, but was lost in CVS revision 1.3 dated 2013-12-28.

Add a comment to make it less likely that this code is lost again.
2014-01-15 12:58:23 +00:00
christos
bb76f57b5d USE_SSP is not defined in bsd.sys.mk 2014-01-14 20:22:35 +00:00
christos
0eb00b5091 USE_SSP is defined in bsd.own.mk 2014-01-14 19:58:19 +00:00
spz
5c974b3074 a fix by ISC for CVE-2014-0591:
3693.  [security]      memcpy was incorrectly called with overlapping
                       ranges resulting in malformed names being generated
                       on some platforms.  This could cause INSIST failures
                       when serving NSEC3 signed zones.  [RT #35120]
2014-01-14 08:03:07 +00:00
riz
11beb836b0 Replace llx with PRIx64 and some llu with PRIu64 in format strings. 2014-01-12 17:49:30 +00:00
riz
f664413dc2 Field width is an int, so cast the result of strlen() appropriately. 2014-01-12 17:48:59 +00:00
riz
b3fba11357 Disable the extra-args warning for printf formats in dtrace.c 2014-01-12 17:48:25 +00:00
matt
f536e5d427 Don't pass -Wl,-x to ${CC} since that strips symbols needed by ARM BE.
Let the OBJCOPY strip them.
2014-01-11 02:45:52 +00:00
matt
50d26cbd5b Don't use ${LD} -x because it screws up ARM BE.
Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead so that $a/$d/$t are preserved.
2014-01-11 00:30:23 +00:00
christos
19004dce49 don't include bsd.sys.mk 2014-01-10 15:50:34 +00:00
martin
6f65a8d103 ACTIVE_CC can only be used after include of bsd.own.mk 2014-01-10 15:00:16 +00:00
christos
558f21b60f Undo previous; unfortunately the cleanup routine gets called in a different
shell so it can't cleanup stuff set in the environment of the first shell.
There are 2 problems:
	- calling the test routine directly does not cleanup (not using
	  atf-run)
	- when using atf-run, the cleanup routine needs state from the
	  running code which can only be stored in files. This will never
	  allow us to run tests in parallel since we need to keep a known
	  place to pass state.
2014-01-10 01:39:32 +00:00
christos
beed3378d3 Make cleanup work as documented; note there are no tests testing that cleanup
works.
2014-01-10 01:16:07 +00:00
joerg
a29e9d8555 Import libc+++ r198773. Fixes a bug in stdexcept I introduced when
removing C style casts.
2014-01-08 17:15:24 +00:00
christos
5053829301 remove register 2014-01-07 21:48:12 +00:00
christos
d7bd454c19 handle unaligned accesses 2014-01-07 21:46:47 +00:00
joerg
844399f6ed Fix build with GCC 4.5. 2014-01-07 09:28:57 +00:00
joerg
405b1c40db xasprintf uses format strings. 2014-01-07 02:15:27 +00:00
joerg
6fdbf705b4 Ignore non-literal format strings, the modifications can't be expressed
with the current framework.
2014-01-07 02:15:02 +00:00
joerg
44aca6ca00 Check format strings for ex_printf. 2014-01-07 02:14:02 +00:00
joerg
eec35cced6 Annotate format strings. Add a bunch of int casts for size limits. 2014-01-07 02:13:00 +00:00
joerg
bbb837ac5b Format string checks for file_vprintf and file_error_core 2014-01-07 02:12:07 +00:00
joerg
d28d267401 Format string verification 2014-01-07 02:11:29 +00:00
joerg
b3199998db Fix format strings. 2014-01-07 02:10:49 +00:00
joerg
8aff69ab6f Annotate warnc/errc for format string checking. 2014-01-07 02:09:37 +00:00
joerg
4875b4da16 Add format string checks for _warn_helper. 2014-01-07 02:09:01 +00:00
joerg
d29a92a31f Format string annotations and fixes for resulting fallout. 2014-01-07 02:06:42 +00:00
joerg
8fa06c3796 Replace with a simple -e x for sed. 2014-01-07 01:59:36 +00:00
christos
3286a3a6f9 PR/48502: M. Levinson: vi(1) no longer moves the cursor when yanking text
using a mark (remove dangling else)
2014-01-06 14:21:37 +00:00
mlelstv
99a38adeb5 screen_end can be called multiple times for the same screen.
Work around segfault in TAILQ_REMOVE by abusing the tqe_prev pointer
as a flag that identifies an already removed node.

This should really be solved by calling screen_end only once or by
keeping state explicitely in the screen structure.
2014-01-06 07:56:47 +00:00
joerg
6602d8c908 Restore cast hack for GCC's "new qualifiers in middle of multi-level
non-const cast" warning.
2014-01-05 20:38:55 +00:00
joerg
66153a214b Update build system and import script for mdocml 1.12.3. 2014-01-05 19:49:57 +00:00
joerg
603fc4ebb9 Merge mdocml 1.12.3. 2014-01-05 19:27:20 +00:00
joerg
70f041f905 Import mdocml 1.12.3 from upstream CVS as of today.
Changes in version 1.12.3, released on December 31, 2013

 * In the mdoc(7) SYNOPSIS, line breaks and hanging indentation
   now work correctly for .Fo/.Fa/.Fc and .Fn blocks.
   Thanks to Franco Fichtner for doing part of the work.
 * The mdoc(7) .Bk macro got some addititonal bugfixes.
 * In mdoc(7) macro arguments, double quotes can now be quoted
   by doubling them, just like in man(7).
   Thanks to Tsugutomo ENAMI for the patch.
 * At the end of man(7) macro lines, end-of-sentence spacing
   now works.  Thanks to Franco Fichtner for the patch.
 * For backward compatibility, the man(7) parser now supports the
   man-ext .UR/.UE (uniform resource identifier) block macros.
 * The man(7) parser now handles closing blocks that are not open
   more gracefully.
 * The man(7) parser now ignores blank lines right after .SH and .SS.
 * In the man(7) formatter, reset indentation when leaving a block,
   not just when entering the next one.
 * The roff(7) .nr request now supports incrementing and decrementing
   number registers and stops parsing the number right before the
   first non-digit character.
 * The roff(7) parser now supports the alternative escape sequence
   syntax \C'uXXXX' for Unicode characters.
 * The roff(7) parser now parses and ignores the .fam (font family)
   and .hw (hyphenation points) requests and the \d and \u escape
   sequences.
 * The roff(7) manual got a new ESCAPE SEQUENCE REFERENCE.

Changes in version 1.12.2, released on Oktober 5, 2013

 * The mdoc(7) to man(7) converter, to be called as mandoc -Tman,
   is now fully functional.
 * The mandoc(1) utility now supports the -Ios (default operating system)
   input option, and the -Tutf8 output mode now actually works.
 * The mandocdb(8) utility no longer truncates existing databases when
   starting to build new ones, but only replaces them when the build
   actually succeeds.
 * The man(7) parser now supports the PD macro (paragraph distance),
   and (for GNU man-ext compatibility only) EX (example block) and EE
   (example end).  Plus several bugfixes regarding indentation, line
   breaks, and vertical spacing, and regarding RS following TP.
 * The roff(7) parser now supports the \f(BI (bold+italic) font escape,
   the \z (zero cursor advance) escape and the cc (change control
   character) and it (input line trap) requests. Plus bugfixes regarding
   the \t (tab) escape, nested escape sequences, and conditional requests.
 * In mdoc(7), several bugs were fixed related to UTF-8 output of quoting
   enclosures, delimiter handling, list indentation and horizontal and
   vertical spacing, formatting of the Lk, %U, and %C macros, plus some
   bugfixes related to the handling of syntax errors like badly nested
   font blocks, stray Ta macros outside column lists, unterminated It Xo
   blocks, and non-text children of Nm blocks.
 * In tbl(7), the width of horizontal spans and the vertical spacing
   around tables was corrected, and in man(7) files, a crash was fixed
   that was triggered by some particular unclosed T{ macros.
 * For mandoc developers, we now provide a tbl(3) library manual and
   gmdiff, a very small, very simplistic groff-versus-mandoc output
   comparison tool.
2014-01-05 19:21:37 +00:00
christos
1e0c3a0bf7 PR/48502: M. Levinson: vi(1) no longer moves the cursor when yanking text
using a mark (remove dangling else)
2014-01-05 17:30:16 +00:00
joerg
6d322f2f45 Update LLVM family to 3.5svn r198450. Interesting changes include:
- Improvements in the SPARC64 support
- ARM backend can almost build a full NetBSD/EABI system with the
  integrated assembler
- PowerPC grows disassembler support
- LLD supports copy relocation, beginning of MIPS backend
- New diagnostic for use of bool expression as size_t argument for
  strncmp and friends
2014-01-05 16:38:05 +00:00
joerg
fdaf75aa90 Import LLVM 3.5svn r198450. 2014-01-05 16:12:50 +00:00
joerg
d149ea39d0 Import LLVM 3.5svn r198450. 2014-01-05 16:02:49 +00:00
kardel
eaac9e3d28 - add new clk_sel240x.c 2014-01-05 15:47:23 +00:00
joerg
e47237241a Import clang 3.5svn r198450. 2014-01-05 15:39:14 +00:00
kardel
3e56dcea0a - enable the rest of the PARSE clocks (missed config option when merging) 2014-01-05 15:39:13 +00:00
joerg
eef7c51327 Import clang 3.5svn r198450. 2014-01-05 15:29:16 +00:00
joerg
b9e7c04633 Skip suffixes like -eabi for the host target, when invoking configure. 2014-01-05 15:19:39 +00:00
joerg
e8d787cbb3 Build tools without debug symbols by default. 2014-01-05 15:17:04 +00:00
joerg
ca6583ddbc Use head to remove final #endif, newer versions will contain multiple
conditional blocks for dealing with Apple universal binaries.
2014-01-05 15:15:34 +00:00
kardel
ca3d18325a - enable PARSE clocks (missed config option when merging)
- remove all conflict markers/finish merge in refclock_parse.c:1.10
2014-01-05 15:13:36 +00:00