Commit Graph

2342 Commits

Author SHA1 Message Date
joerg
a509349c8f Revert. 2011-08-16 14:08:35 +00:00
christos
4036596c74 document non-literal format strings 2011-08-16 10:45:37 +00:00
christos
d6942b2fe4 avoid/document non-literal format strings 2011-08-16 10:34:22 +00:00
christos
a04731e090 avoid non-literal strings. 2011-08-16 08:29:15 +00:00
christos
fc186dc762 - document non-literal format
- no need for WARNS = 0 here
2011-08-16 07:57:21 +00:00
christos
058f310f02 - proper varyadic warning and error
- don't call syslog with a buffer, use %s first.
2011-08-16 05:28:44 +00:00
christos
05d3ffd600 - it is not the 80's anymore, use proper varargs
- no need to exit again, error does
2011-08-16 05:24:20 +00:00
christos
7fdb569fcb - document non-literal strings
- fix bad security practices: {msyslog,syslog,printf}(buffer) ->
    {msyslog,syslog,printf}("%s", buffer)
- use an anonymous union to avoid type punning casts
- re-order expression to avoid integer overflow
2011-08-16 05:15:20 +00:00
christos
afec221346 - fixes for non-literal strings
- add missing strbuf initialization
2011-08-16 04:45:17 +00:00
christos
9521b6a6f7 provisional fix for CVS-2011-2895, buffer overflow during decompress 2011-08-16 03:33:37 +00:00
mrg
ea90e3d981 also copy -m and -f flags from the GCC headers.
fixes PR#45253.  (i'm going to leave that bug open for now because i
want to re-work a bunch of the libgcc framework.)
2011-08-15 18:31:20 +00:00
mrg
12dc132b81 clean out some unused code. 2011-08-15 09:19:21 +00:00
christos
eae14b3ea8 document non-literal format strings 2011-08-14 13:29:26 +00:00
christos
27b39b96e0 document that display.c uses non-literal format strings 2011-08-14 12:48:02 +00:00
christos
dbb4627dd8 fix non-literal strings where they are not needed. 2011-08-14 09:06:12 +00:00
joerg
6791cf96d2 Various warning adjustments for clang 2011-08-11 23:15:35 +00:00
tsutsui
6fa6a60bcb Disable bzip2 support in freetype on xorg tools build.
Fixes PR xsrc/45223 (xorg tools build fails on CentOS due to
lack of bz2 support).
2011-08-10 10:34:48 +00:00
plunky
867fdab687 disable some warnings to appease gcc-4.5 2011-08-10 08:10:39 +00:00
plunky
a8bf6c15ac use offsetof() rather than rolling our own, to appease gcc 4.5 2011-08-10 08:09:38 +00:00
plunky
98320184ef fix up some undefined behaviour, to appease gcc 4.5 2011-08-10 08:08:39 +00:00
joerg
d745f33bcc No longer needs -Wno-array-bounds with clang. 2011-08-09 13:06:31 +00:00
joerg
11b90aaf13 Requires -Wno-unused-value -Wno-tautological-compare when building with
clang.
2011-08-09 13:01:34 +00:00
joerg
d43405d38d -Wno-array-bounds is no longer needed for clang here 2011-08-09 13:00:58 +00:00
joerg
78384c1939 Can't build libstdc++ and libsupc++ with clang since it depends on using
volatiles as initializers of non-volatile fields, void * arithmetic and
some new attributes for the unwinding.
2011-08-09 13:00:04 +00:00
joerg
d80abf5701 Disable -Wunused-value for clang, it triggers on the bcopy replacement. 2011-08-09 12:58:55 +00:00
joerg
402f76be16 Since cproj and friends are used, link explicitly against libm. 2011-08-09 12:56:41 +00:00
joerg
90aa08ed31 Don't use array access to compute addresses that are definitely beyond
the static array boundaries.
2011-08-09 12:55:18 +00:00
joerg
7ba5ed4f95 Update LLVM/Clang snapshot to r137038. This brings in the extended array
boundary checker and the white listing of pre-c99 flexible array member
idiom foo[1] as last element of a struct.
2011-08-09 12:30:46 +00:00
mrg
46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
mrg
c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
mrg
c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
jmmv
bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
matt
f766f2f08f Build lzmainfo
Add links to xz (lzma, unxz, etc) that are in the manpage.
Add manpage links as well.
2011-08-04 03:38:06 +00:00
mrg
9c4d605d23 include pixman-noop.c. oops. 2011-08-03 18:22:29 +00:00
matt
acb3cf946c Missing a diff for the loongson2 fixes 2011-08-03 17:54:52 +00:00
mrg
995b587647 look in .../man also. 2011-08-03 02:57:23 +00:00
mrg
a0cdc1f5cd look in .../man as well. 2011-08-03 02:56:29 +00:00
mrg
629a20b8a8 updates for x11perf 1.5.4 2011-08-03 02:55:30 +00:00
joerg
97e2cf4d88 Update LLVM/Clang snapshot to r136592. This brings support for
.code32/.code64 on x86.
2011-08-02 17:12:38 +00:00
matt
c8f6ff28bb Pull in change to support -m[no-]fix-loongson2f-{nop,jump} 2011-08-02 16:11:16 +00:00
mrg
94350a92ff various updates for xorg-server 1.10.3. 2011-08-02 09:11:37 +00:00
mrg
edbdb33b37 remove bstore*.h, add Xprintf.h and inpututils.h 2011-08-02 07:56:33 +00:00
mrg
d31eb33ea1 build updates and fixes for xorg-server 1.10.3. 2011-08-02 07:41:00 +00:00
matt
9117b7b37b Don't define LINK_EH_SPEC if it's already defined. 2011-08-02 00:45:36 +00:00
tron
64a8c34faa Resolve conflicts from last import. 2011-07-31 10:05:03 +00:00
tron
e148fd06c8 Import Postfix version 2.8.4. Changes since version 2.8.3:
- Performance: a high load of DSN success notification requests could
  slow down the queue manager. Solution: make the trace client
  asynchronous, just like the bounce and defer clients.
- The local(8) delivery agent ignored table lookup errors in
  mailbox_command_maps, mailbox_transport_maps, fallback_transport_maps
  and (while bouncing mail to alias) alias owner lookup.
- Workaround: dbl.spamhaus.org rejects lookups with "No IP queries" even
  if the name has an alphanumerical prefix. We play safe, and skip both
  RHSBL and RHSWL queries for names ending in a numerical suffix.
- The "sendmail -t" command reported "protocol error" instead of "file
  too large", "no space left on device" etc.
- The Postfix Milter client reported a temporary error instead of
  "file too large" in three cases.
2011-07-31 10:01:44 +00:00
tron
d14af506f7 Automatically determine and print out the release tag for the import. 2011-07-31 09:54:57 +00:00
matt
4564466a06 Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h) 2011-07-31 03:43:33 +00:00
tron
0a04ac4b7d Fix build with SSP enabled. 2011-07-30 11:18:23 +00:00
uebayasi
eab2487254 Fix a local var name. 2011-07-30 10:12:14 +00:00