Commit Graph

4133 Commits

Author SHA1 Message Date
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
joerg
a068c5add0 Clean removed files. 2014-01-04 21:41:00 +00:00
joerg
2dfa7c4738 Import r198452 of libc++. Primarily avoids C style casts and adds a
number of cleanups.
2014-01-04 21:32:03 +00:00
christos
a15708a3bd gcc-4.8 has begun putting code in .text.unlikely etc. This breaks our
assumption that .text code comes first in kernels about bootblock so
that the first symbol defined becomes the start address. This change
puts .text before other .text like sections.
2014-01-04 20:17:42 +00:00
joerg
149b982b18 Fix string compare. 2014-01-04 03:19:00 +00:00
joerg
782dab5744 Fix memcmp use. 2014-01-04 02:56:31 +00:00
joerg
6466ad0c14 Avoid implicit cast on the return value. 2014-01-03 22:49:21 +00:00
roy
8860784217 Build with dhcpcd-6.2.0 2014-01-03 22:27:31 +00:00
roy
8ad72a7637 Sync 2014-01-03 22:24:41 +00:00
roy
322001baf8 Import dhcpcd-6.2.0 with the following changes:
* Fix NAK backoff when a server NAKs a REQUEST after a DISCOVER.
* Fix IPv6 ICMP filtering on Android (RS/RA now works)
* Fix sending of DHCPv6 FQDN when only hostname specified
* Add support for RFC3925 Vendor-Identifying Vendor Options
* Remove hard coded DHCP/DHCPv6 options and embed dhcpcd-definitions.conf.
  This actually results in a slightly smaller binary than before and has the added advantage that the option definitions are now all held within one file.
* Change IAID to default from the last 4 bytes of the MAC address.
  Rationale in the commit, but in a nutshell it allows for a stable IAID between reboots without persistent storage and across different OS's who name or number it differently to each other.
* RFC4242, Information Refresh Time Option for DHCPv6.
* Fix processing of inet4 addr in vendor options and terminate correctly.
* Preserve vendor encapsulated options.
* Fix renewal of Prefix Delegation. Only spam the log if a lease has a new address or changes the vltime of an existing address.
* Add noipv4 and noipv6 options.
* Warn about missing interfaces which require prefix delegation.
* If we timeout, remove any waitip config so that we daemonise correctly.
* Remove the IPv6 forwarding router check as valid use cases exist where you would want IPv6 RS/RA on a router.
* Pass the correct run directory to dhcpcd-run-hooks
2014-01-03 22:10:42 +00:00
joerg
ba1a5140ab Don't bother with the h (short) modifier. The predicated use of bswap16
confuses the type tracking in clang and the use here is not portable
anyway, since it assumes short == int16_t.
2014-01-03 20:26:45 +00:00
christos
7357087b77 fix sun2 build. libfreetype requires -lbz2 -lz 2014-01-03 20:18:45 +00:00
martin
8b9e38f519 Port from newer gcc:
Add a "mem_noofs_operand" predicate and corresponding "w" constraint.
Use those instead of "memory_reg_operand"/"m" for some atomic instrinsic
patterns: casx (and friends) do not accept an offset from the pointer
register (they are synthetic instructions mapping to e.g. casxa [..]
ASI_P, ... and the opcode space encoding offsets in other instructions
is needed to encode the ASI here).

This fixes the build of gtk+-3.10.6 from pkgsrc on sparc64.
2014-01-03 08:30:41 +00:00
christos
6e605f060f move crypto_openssl.c back into the right room. 2014-01-03 02:15:43 +00:00
christos
316ee51248 merge conflicts 2014-01-03 02:08:16 +00:00
christos
d9bedca71a update for 2.0 2014-01-03 02:07:31 +00:00
christos
e604d8611d import v2_0:
2013-01-12 - v2.0
	* removed Qt3-based wpa_gui (obsoleted by wpa_qui-qt4)
	* removed unmaintained driver wrappers broadcom, iphone, osx, ralink,
	  hostap, madwifi (hostap and madwifi remain available for hostapd;
	  their wpa_supplicant functionality is obsoleted by wext)
	* improved debug logging (human readable event names, interface name
	  included in more entries)
	* changed AP mode behavior to enable WPS only for open and
	  WPA/WPA2-Personal configuration
	* improved P2P concurrency operations
	  - better coordination of concurrent scan and P2P search operations
	  - avoid concurrent remain-on-channel operation requests by canceling
	    previous operations prior to starting a new one
	  - reject operations that would require multi-channel concurrency if
	    the driver does not support it
	  - add parameter to select whether STA or P2P connection is preferred
	    if the driver cannot support both at the same time
	  - allow driver to indicate channel changes
	  - added optional delay=<search delay in milliseconds> parameter for
	    p2p_find to avoid taking all radio resources
	  - use 500 ms p2p_find search delay by default during concurrent
	    operations
	  - allow all channels in GO Negotiation if the driver supports
	    multi-channel concurrency
	* added number of small changes to make it easier for static analyzers
	  to understand the implementation
	* fixed number of small bugs (see git logs for more details)
	* nl80211: number of updates to use new cfg80211/nl80211 functionality
	  - replace monitor interface with nl80211 commands for AP mode
	  - additional information for driver-based AP SME
	  - STA entry authorization in RSN IBSS
	* EAP-pwd:
	  - fixed KDF for group 21 and zero-padding
	  - added support for fragmentation
	  - increased maximum number of hunting-and-pecking iterations
	* avoid excessive Probe Response retries for broadcast Probe Request
	  frames (only with drivers using wpa_supplicant AP mode SME/MLME)
	* added "GET country" ctrl_iface command
	* do not save an invalid network block in wpa_supplicant.conf to avoid
	  problems reading the file on next start
	* send STA connected/disconnected ctrl_iface events to both the P2P
	  group and parent interfaces
	* added preliminary support for using TLS v1.2 (CONFIG_TLSV12=y)
	* added "SET pno <1/0>" ctrl_iface command to start/stop preferred
	  network offload with sched_scan driver command
	* merged in number of changes from Android repository for P2P, nl80211,
	  and build parameters
	* changed P2P GO mode configuration to use driver capabilities to
	  automatically enable HT operations when supported
	* added "wpa_cli status wps" command to fetch WPA2-Personal passhrase
	  for WPS use cases in AP mode
	* EAP-AKA: keep pseudonym identity across EAP exchanges to match EAP-SIM
	  behavior
	* improved reassociation behavior in cases where association is rejected
	  or when an AP disconnects us to handle common load balancing
	  mechanisms
	  - try to avoid extra scans when the needed information is available
	* added optional "join" argument for p2p_prov_disc ctrl_iface command
	* added group ifname to P2P-PROV-DISC-* events
	* added P2P Device Address to AP-STA-DISCONNECTED event and use
	  p2p_dev_addr parameter name with AP-STA-CONNECTED
	* added workarounds for WPS PBC overlap detection for some P2P use cases
	  where deployed stations work incorrectly
	* optimize WPS connection speed by disconnecting prior to WPS scan and
	  by using single channel scans when AP channel is known
	* PCSC and SIM/USIM improvements:
	  - accept 0x67 (Wrong length) as a response to READ RECORD to fix
	    issues with some USIM cards
	  - try to read MNC length from SIM/USIM
	  - build realm according to 3GPP TS 23.003 with identity from the SIM
	  - allow T1 protocol to be enabled
	* added more WPS and P2P information available through D-Bus
	* improve P2P negotiation robustness
	  - extra waits to get ACK frames through
	  - longer timeouts for cases where deployed devices have been
	    identified have issues meeting the specification requirements
	  - more retries for some P2P frames
	  - handle race conditions in GO Negotiation start by both devices
	  - ignore unexpected GO Negotiation Response frame
	* added support for libnl 3.2 and newer
	* added P2P persistent group info to P2P_PEER data
	* maintain a list of P2P Clients for persistent group on GO
	* AP: increased initial group key handshake retransmit timeout to 500 ms
	* added optional dev_id parameter for p2p_find
	* added P2P-FIND-STOPPED ctrl_iface event
	* fixed issues in WPA/RSN element validation when roaming with ap_scan=1
	  and driver-based BSS selection
	* do not expire P2P peer entries while connected with the peer in a
	  group
	* fixed WSC element inclusion in cases where P2P is disabled
	* AP: added a WPS workaround for mixed mode AP Settings with Windows 7
	* EAP-SIM: fixed AT_COUNTER_TOO_SMALL use
	* EAP-SIM/AKA: append realm to pseudonym identity
	* EAP-SIM/AKA: store pseudonym identity in network configuration to
	  allow it to persist over multiple EAP sessions and wpa_supplicant
	  restarts
	* EAP-AKA': updated to RFC 5448 (username prefixes changed); note: this
	  breaks interoperability with older versions
	* added support for WFA Hotspot 2.0
	  - GAS/ANQP to fetch network information
	  - credential configuration and automatic network selections based on
	    credential match with ANQP information
	* limited PMKSA cache entries to be used only with the network context
	  that was used to create them
	* improved PMKSA cache expiration to avoid unnecessary disconnections
	* adjusted bgscan_simple fast-scan backoff to avoid too frequent
	  background scans
	* removed ctrl_iface event on P2P PD Response in join-group case
	* added option to fetch BSS table entry based on P2P Device Address
	  ("BSS p2p_dev_addr=<P2P Device Address>")
	* added BSS entry age to ctrl_iface BSS command output
	* added optional MASK=0xH option for ctrl_iface BSS command to select
	  which fields are included in the response
	* added optional RANGE=ALL|N1-N2 option for ctrl_iface BSS command to
	  fetch information about several BSSes in one call
	* simplified licensing terms by selecting the BSD license as the only
	  alternative
	* added "P2P_SET disallow_freq <freq list>" ctrl_iface command to
	  disable channels from P2P use
	* added p2p_pref_chan configuration parameter to allow preferred P2P
	  channels to be specified
	* added support for advertising immediate availability of a WPS
	  credential for P2P use cases
	* optimized scan operations for P2P use cases (use single channel scan
	  for a specific SSID when possible)
	* EAP-TTLS: fixed peer challenge generation for MSCHAPv2
	* SME: do not use reassociation after explicit disconnection request
	  (local or a notification from an AP)
	* added support for sending debug info to Linux tracing (-T on command
	  line)
	* added support for using Deauthentication reason code 3 as an
	  indication of P2P group termination
	* added wps_vendor_ext_m1 configuration parameter to allow vendor
	  specific attributes to be added to WPS M1
	* started using separate TLS library context for tunneled TLS
	  (EAP-PEAP/TLS, EAP-TTLS/TLS, EAP-FAST/TLS) to support different CA
	  certificate configuration between Phase 1 and Phase 2
	* added optional "auto" parameter for p2p_connect to request automatic
	  GO Negotiation vs. join-a-group selection
	* added disabled_scan_offload parameter to disable automatic scan
	  offloading (sched_scan)
	* added optional persistent=<network id> parameter for p2p_connect to
	  allow forcing of a specific SSID/passphrase for GO Negotiation
	* added support for OBSS scan requests and 20/40 BSS coexistence reports
	* reject PD Request for unknown group
	* removed scripts and notes related to Windows binary releases (which
	  have not been used starting from 1.x)
	* added initial support for WNM operations
	  - Keep-alive based on BSS max idle period
	  - WNM-Sleep Mode
	  - minimal BSS Transition Management processing
	* added autoscan module to control scanning behavior while not connected
	  - autoscan_periodic and autoscan_exponential modules
	* added new WPS NFC ctrl_iface mechanism
	  - added initial support NFC connection handover
	  - removed obsoleted WPS_OOB command (including support for deprecated
	    UFD config_method)
	* added optional framework for external password storage ("ext:<name>")
	* wpa_cli: added optional support for controlling wpa_supplicant
	  remotely over UDP (CONFIG_CTRL_IFACE=udp-remote) for testing purposes
	* wpa_cli: extended tab completion to more commands
	* changed SSID output to use printf-escaped strings instead of masking
	  of non-ASCII characters
	  - SSID can now be configured in the same format: ssid=P"abc\x00test"
	* removed default ACM=1 from AC_VO and AC_VI
	* added optional "ht40" argument for P2P ctrl_iface commands to allow
	  40 MHz channels to be requested on the 5 GHz band
	* added optional parameters for p2p_invite command to specify channel
	  when reinvoking a persistent group as the GO
	* improved FIPS mode builds with OpenSSL
	  - "make fips" with CONFIG_FIPS=y to build wpa_supplicant with the
	    OpenSSL FIPS object module
	  - replace low level OpenSSL AES API calls to use EVP
	  - use OpenSSL keying material exporter when possible
	  - do not export TLS keys in FIPS mode
	  - remove MD5 from CONFIG_FIPS=y builds
	  - use OpenSSL function for PKBDF2 passphrase-to-PSK
	  - use OpenSSL HMAC implementation
	  - mix RAND_bytes() output into random_get_bytes() to force OpenSSL
	    DRBG to be used in FIPS mode
	  - use OpenSSL CMAC implementation
	* added mechanism to disable TLS Session Ticket extension
	  - a workaround for servers that do not support TLS extensions that
	    was enabled by default in recent OpenSSL versions
	  - tls_disable_session_ticket=1
	  - automatically disable TLS Session Ticket extension by default when
	    using EAP-TLS/PEAP/TTLS (i.e., only use it with EAP-FAST)
	* changed VENDOR-TEST EAP method to use proper private enterprise number
	  (this will not interoperate with older versions)
	* disable network block temporarily on authentication failures
	* improved WPS AP selection during WPS PIN iteration
	* added support for configuring GCMP cipher for IEEE 802.11ad
	* added support for Wi-Fi Display extensions
	  - WFD_SUBELEMENT_SET ctrl_iface command to configure WFD subelements
	  - SET wifi_display <0/1> to disable/enable WFD support
	  - WFD service discovery
	  - an external program is needed to manage the audio/video streaming
	    and codecs
	* optimized scan result use for network selection
	  - use the internal BSS table instead of raw scan results
	  - allow unnecessary scans to be skipped if fresh information is
	    available (e.g., after GAS/ANQP round for Interworking)
	* added support for 256-bit AES with internal TLS implementation
	* allow peer to propose channel in P2P invitation process for a
	  persistent group
	* added disallow_aps parameter to allow BSSIDs/SSIDs to be disallowed
	  from network selection
	* re-enable the networks disabled during WPS operations
	* allow P2P functionality to be disabled per interface (p2p_disabled=1)
	* added secondary device types into P2P_PEER output
	* added an option to disable use of a separate P2P group interface
	  (p2p_no_group_iface=1)
	* fixed P2P Bonjour SD to match entries with both compressed and not
	  compressed domain name format and support multiple Bonjour PTR matches
	  for the same key
	* use deauthentication instead of disassociation for all disconnection
	  operations; this removes the now unused disassociate() wpa_driver_ops
	  callback
	* optimized PSK generation on P2P GO by caching results to avoid
	  multiple PBKDF2 operations
	* added okc=1 global configuration parameter to allow OKC to be enabled
	  by default for all network blocks
	* added a workaround for WPS PBC session overlap detection to avoid
	  interop issues with deployed station implementations that do not
	  remove active PBC indication from Probe Request frames properly
	* added basic support for 60 GHz band
	* extend EAPOL frames processing workaround for roaming cases
	  (postpone processing of unexpected EAPOL frame until association
	  event to handle reordered events)
2014-01-03 02:04:55 +00:00
joerg
30b2999ac3 Update warning flags to reflect the fixes. Restrict GCC flags to GCC. 2014-01-02 21:38:38 +00:00
joerg
f4afb4e801 Don't pass in a format string, but flags for using %f / %g and the
desired precision. Allows format string verification to work correctly.
2014-01-02 21:37:00 +00:00
joerg
1a12c81543 Add format string attribute for better detection. 2014-01-02 21:35:50 +00:00
joerg
f7fd78b752 Avoid pointer operations on the format string. 2014-01-02 21:35:19 +00:00
christos
23f2ffe8d5 add gnu attributes to the known sections 2014-01-02 19:20:35 +00:00
joerg
8531f75b5e Use separate variables for the format strings to get working format
string checking with both GCC and Clang.
2014-01-02 18:26:03 +00:00
christos
47379f4665 rename libtool.m4 m4 2014-01-02 04:03:16 +00:00
christos
f69b3e7990 fd == 0 is a valid descriptor! 2014-01-01 19:52:58 +00:00
pgoyette
afa6e1a420 Remove duplicate/old declaration of 'host' now that we allocate it on stack. 2013-12-31 21:37:01 +00:00
christos
02a7f722be pointless to call alloca for a 1K path string... Just allocate it on the stack! 2013-12-31 20:56:29 +00:00
christos
b57e84e2d7 merge conflicts 2013-12-31 20:24:38 +00:00
christos
c1c9a8d904 changes for 9.9.5b1 2013-12-31 20:23:12 +00:00
christos
f9a251e72a Import bind 9.9.5b1 2013-12-31 20:09:42 +00:00
christos
870189d292 resolve conflicts. 2013-12-31 17:33:30 +00:00
christos
9d3749d780 update for 4.5.1 2013-12-31 17:33:11 +00:00
christos
026d728553 Import tcpdump 4.5.1 2013-12-31 17:13:59 +00:00
christos
511f4361e2 resolve conflicts. 2013-12-31 17:08:14 +00:00
christos
7e05f63e56 Import libpcap-1.5.2 2013-12-31 16:57:18 +00:00
christos
d562d4d1b6 Add support for %token-table, yytname[] and YYTRANSLATE(). ntpd(8) needs them. 2013-12-30 19:08:55 +00:00
christos
08f2fa820a - regen using byacc.
Now that we can generate the parser files we yacc, we could create a tool
keyword-gen so that we can generate all the files on the fly. It is not worth
it though.
2013-12-30 19:06:45 +00:00
christos
31c4e4c2ef find ntp_scanner.h 2013-12-30 17:48:13 +00:00
christos
1aa1a11e17 regen 2013-12-30 17:45:40 +00:00
christos
a04a202dbc put back mdstries 2013-12-30 17:42:19 +00:00
christos
382061577d prevent coredumps from syntax errors in the config file causing negative
include indexes
2013-12-30 17:41:57 +00:00
christos
79fd98c4ce remove unused variable 2013-12-30 01:55:54 +00:00
christos
4c05c4493f remove unused variables 2013-12-30 01:34:22 +00:00
christos
a7fd76f87e - add casts for sign-changing conversions
- fix types
2013-12-29 22:55:32 +00:00
christos
a05b8588f7 Handle ancient vax gcc. 2013-12-29 03:32:00 +00:00
christos
6bb3b8411a not all characters are born signed. 2013-12-29 03:26:07 +00:00
christos
4f9b4467be Use cleantags to remove RCS tags, missed the NEWS file before. 2013-12-29 00:23:34 +00:00
christos
6a493d6bc6 Some html files were removed 2013-12-28 18:06:41 +00:00
christos
285d1f1d2b fix for NetBSD-specific changes. 2013-12-28 17:36:50 +00:00
christos
966c0b1b14 32 bit build fixes. 2013-12-28 17:00:50 +00:00
christos
9d52fce24d Add more dependencies, fix CLEANDIR target 2013-12-28 16:03:51 +00:00
mrg
d3f9e78087 remove (void *) casts when passing const pointers to a const void *
taking function.  ...
2013-12-28 13:27:39 +00:00
christos
94d1f47f5e adjust for non-amd64 build 2013-12-28 03:51:52 +00:00
christos
2073dae78f update mkver 2013-12-28 03:36:15 +00:00
christos
3683443505 mention manual handling of man pages 2013-12-28 03:29:46 +00:00
christos
2950cc38ef resolve conflicts 2013-12-28 03:20:12 +00:00
christos
bab87fff35 adjust for new ntp and add the generated man pages 2013-12-28 03:19:43 +00:00
christos
8585484ef8 import devel ntpd to avoid amplification attacks. 2013-12-27 23:30:11 +00:00
christos
d059c97c45 adjust for new acpica 2013-12-27 21:33:46 +00:00
christos
e9a1eddb86 remove conflicts 2013-12-27 20:11:26 +00:00
christos
8fa0fefe00 merge conflicts 2013-12-27 20:10:20 +00:00
christos
64e8a5e66f Import openpam-20130907 2013-12-27 19:27:40 +00:00
christos
0bbc3b9f79 Import openpam-20130907 2013-12-27 19:16:04 +00:00
christos
655f3e170c more dead functions, usage to stderr 2013-12-26 16:52:36 +00:00
christos
f407d69d95 mark usage __noreturn 2013-12-26 16:42:28 +00:00
joerg
aa98996d36 Should be ARMv6. 2013-12-25 22:54:24 +00:00
joerg
a6a04f8f13 Resort libraries:
- libdns is a dependency of libisccfg
- libkrb5 is required by libheimntlm
2013-12-25 22:19:15 +00:00
joerg
8100ad861d Tag files using "more" advanced instructions than ARMv4 ISA with the
necessary support.
2013-12-25 22:06:11 +00:00
christos
f44e0a2169 Add smbfs 2013-12-25 22:04:20 +00:00
christos
6b46f055f3 Add RUMP glue 2013-12-25 22:03:46 +00:00
christos
ca9729a350 - merge conflicts (updating to the version that was actually imported)
- add build glue
2013-12-25 22:03:14 +00:00
christos
8ae604538a Import latest smbfs from:
http://people.freebsd.org/~bp/pub/smbfs/smbfs-1.4.1.tar.gz
2013-12-25 20:33:13 +00:00
joerg
d0b6b5d51b Import new snapshot of libcxxrt. Fixes demangling of anonymous
namespaces. Avoid use of old style (C) casts.
2013-12-25 20:19:45 +00:00
christos
6495e57c27 don't use err, it conflicts with err(3) 2013-12-25 17:18:39 +00:00
christos
182f9dc507 add p1003.1j 2013-12-25 15:09:27 +00:00
jakllsch
1fa26414d5 regenerate for src/external/gpl3/binutils/dist/bfd/config.bfd r1.10:
Enable 32/64-bit PE-COFF targets for NetBSD/i386 in libbfd.
Needed to build UEFI things for IA32 using native toolchain.
2013-12-24 16:01:07 +00:00
jakllsch
0bfb2660a5 Enable 32/64-bit PE-COFF targets for NetBSD/i386 in libbfd.
Needed to build UEFI things for IA32 using native toolchain.
2013-12-24 15:06:39 +00:00
skrll
e819bee156 Re-enable arm-simd now that SPRSR restoration has been fixed. 2013-12-21 08:58:07 +00:00
christos
710be304aa make the non-threaded case work again. 2013-12-20 16:58:34 +00:00
christos
b8192c839d more casts 2013-12-19 22:05:58 +00:00
gdt
2fcdfb0522 rm -f an .objdir file before copying to it. 2013-12-19 01:10:19 +00:00
gdt
855b0c1683 When copying an .OBJDIR file, rm -f first.
Arguably there should be some general mechanism, but there isn't yet,
and I hit a build failure at

	cp ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4

because my source tree is mode 444, and hence my previously-copied
config.m4 was too.
2013-12-19 01:07:03 +00:00
wiz
845c2955b6 Fix handling of nested double quotes.
From Ingo Schwarze <schwarze@usta.de> based on patch by enami@
in PR 48438.
2013-12-17 09:28:10 +00:00
lneto
5588522013 changed lua_Number and lua_Integer to intmax_t in lua(4)
*
2013-12-16 23:25:56 +00:00
christos
a2e4e15f91 PR/48448: David A. Holland: Avoid coredump by checking return code of
localtime(3)
2013-12-15 06:41:18 +00:00
mrg
d5944a5b77 update to reality for gcc 4.8.2. 2013-12-13 10:01:49 +00:00
matt
99de37ccf7 Don't define ptrdiff_t since that's done in the NetBSD <sys/types.h> 2013-12-12 18:20:49 +00:00
bouyer
0700bebfda Fix bad cut'n'paste in previous commit.
This should fix the remaining loogson build issues.
2013-12-10 18:15:43 +00:00
christos
ef60a6a957 CID 1006982: Fix memory leak 2013-12-07 20:24:35 +00:00
joerg
1faba89d06 Update revision for import of r196603. 2013-12-06 23:21:31 +00:00
joerg
49d3a2eb83 Import LLVM 3.4 RC2 r196603.
Bug fixes, most noticable for inconsistencies in vectorized code.
2013-12-06 23:18:22 +00:00
joerg
1d57ee3e45 Import clang 3.4rc2 r196603.
Many bug fixes and improvements for the driver NetBSD/ARM EABI.
2013-12-06 23:16:49 +00:00
christos
1ea8a49a1d CID 271284: Missing error check on open 2013-12-04 15:05:49 +00:00
mrg
c2447f5c30 add a couple of more things to worry about. 2013-12-04 11:43:52 +00:00
mrg
196f70e45c repply the hacks from rev 1.2 to the gmp*.h files, and
make a note about it.
2013-12-04 01:03:15 +00:00
mrg
5f8d1ba0a4 make trialdivtab.h depend on the Makefile. 2013-12-04 00:57:21 +00:00
mrg
ad5c4fb9d3 consolidate the trialdivtab.h generation code. 2013-12-04 00:49:17 +00:00
joerg
95a24f0297 Split checkout target into two parts now that llvm and clang are
imported. Requested by matt@
2013-12-03 22:42:55 +00:00
martin
3c849f9e1c remove accidently commited file 2013-12-03 08:49:09 +00:00
lneto
8e5c8a05b5 fixed lua(4) build (added _KERNEL guard into lstrlib.c to avoid double usage) 2013-12-02 23:06:35 +00:00
skrll
863426f493 Fix typo in secureplt support. 2013-12-02 13:16:49 +00:00
lneto
2421e2bfaa merged luaconf.h of kernel and userspace Lua 2013-12-02 06:07:22 +00:00
lneto
f4a57b49a2 put Lua auxlib and some stdlibs in lua(4) 2013-12-02 04:57:41 +00:00
christos
a1f28fb37d Handle more cases where a screen has not been fully initialized (inserted
into the scrq) by calling screen_fini() instead of screen_end() where
appropriate. Pointed out by chuq.
2013-12-01 21:48:33 +00:00
christos
398232367e Finish version auto-setting. 2013-12-01 20:15:42 +00:00
christos
cc3f5f16a8 Get version from the configure script 2013-12-01 20:01:14 +00:00
christos
8dd459ccad merge conflicts 2013-12-01 19:32:14 +00:00
christos
8df916c0a5 from ftp.astron.com, this is a bug fix release:
* always leave magic file loaded, don't unload for magic_check, etc.
       * fix default encoding to binary instead of unknown which broke recently
       * handle empty and one byte files, less specially so that
         --mime-encoding does not break completely.
       * fix erroneous non-zero exit code from non-existant file and message
       * add CDF MSI file detection (Guy Helmer)
2013-12-01 19:28:08 +00:00
martin
5d372c84d4 Enable warnings on sparc64 again 2013-12-01 09:29:37 +00:00
martin
a2fc3339a7 Apply upstream fix for warnings seen on sparc64 2013-12-01 09:29:06 +00:00
christos
b4e9b749e1 Revert all previous TAILQ_NEXT() = NULL, changes, checks against
NULL vip's and removal of screens from queues. Instead introduce
a new screen_end1() function that can be used to clean screens that
are not associated with queues yet. Pointed out by chuq@
2013-12-01 02:34:54 +00:00
christos
d95058d03d fix indentantion 2013-12-01 02:21:58 +00:00
joerg
a7e7f7e044 One const ought to be enough for every variable. 2013-12-01 01:05:15 +00:00
wiz
43d5f031a4 Disable parentheses checks since libgmp doesn't pass them. 2013-11-30 23:45:05 +00:00
martin
8bbc6acbfe Avoid warning on sparc64 2013-11-30 20:30:22 +00:00
jnemeth
bd07cf4a8f PR/48419 - Henning Petersen -- unbalanced parenthesis 2013-11-30 19:05:25 +00:00
christos
0481af84d9 Fix recovery mode, there were multiple issues:
1. the btree filename was not set so that we always used a transient
   in-memory db for the data
2. we did not call sync after creation with R_RECNOSYNC so that the header
   of the btree was never written
3. we did not call the right flavor of sync before copying the tree to the
   preserved files
2013-11-30 14:54:29 +00:00
christos
0c38cb8432 Don't rebuild the header files all the time if they did not change 2013-11-30 14:52:40 +00:00
joerg
cfd496506e Shut up a bunch of (valid) warnings from Clang. 2013-11-29 23:02:49 +00:00
joerg
616728154a Fix format string use. 2013-11-29 23:02:26 +00:00
joerg
e4c0f6ad28 Allow gnueabi to be matched for the relevant cases as well. 2013-11-29 23:01:54 +00:00
christos
81e29e1a78 Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.
2013-11-29 22:56:19 +00:00
christos
c24e3e9954 make the debugging code work again. 2013-11-29 21:57:31 +00:00