Commit Graph

237885 Commits

Author SHA1 Message Date
mrg
7380f0d5c2 remove unused GALLIUM_NAMES variable. 2015-09-23 05:28:14 +00:00
jnemeth
f533a65c60 Adjust dates for floating holidays. Use 2015 for things happening from
mid-October onwards, and 2016 for things happening earlier.
2015-09-23 05:21:00 +00:00
mrg
34a1d0259a re-merge GCC 4.8.5 (part 1). 2015-09-23 04:23:50 +00:00
mrg
f78a39098a re-merge GCC 4.8.5 (part 1) 2015-09-23 03:39:07 +00:00
mrg
678f798eaf import GCC 4.8.5 as gcc.old, in prepartion to update GCC. 2015-09-23 03:03:02 +00:00
nonaka
d21bc91971 PR/50187: Don't use DS parameter set when 5GHz channel is scanning.
XXX: pullup-7
2015-09-22 23:23:06 +00:00
christos
1ede8275d7 - fix various leaks on error
- don't use the wrong error variable in switch
- always set the error return code
- return consistent errors when the input data cannot be handled.
2015-09-22 16:16:02 +00:00
christos
525756d35c be more forgiving, and don't abort on unexpected errors. 2015-09-22 16:15:08 +00:00
christos
b350f7a434 Handle herrors properly so that postfix can return 4XX codes when appropriate.
Pointed out by Viktor Dukhovni.
2015-09-22 14:46:09 +00:00
joerg
229ac33392 Avoid left-shift of negative values. 2015-09-22 13:28:02 +00:00
joerg
605a3a0b27 Drop .proc. It is ignored by GNU as anyway. 2015-09-22 13:27:13 +00:00
joerg
7cd266968a Restrict libc_vfp to NetBSD/arm. It doesn't make sense for aarch64. 2015-09-22 13:26:14 +00:00
wiz
c4443bdc21 Bump date for previous. 2015-09-22 08:29:30 +00:00
pgoyette
0ab10d2543 Tweaks from Michael McConville - thanks! 2015-09-22 00:10:12 +00:00
phx
d7708e2d7b Remove erroneously entered debug options. 2015-09-21 23:34:21 +00:00
phx
a18983d513 double vlan pseudo-device removed 2015-09-21 23:31:41 +00:00
pooka
bc0dc0b26e Add more compat defs for code compiled for !NetBSD targets.
At least GNU Hurd lacks MAXHOSTNAMELEN/MAXPATHLEN/PATH_MAX, so make sure
those have some arbitrary semi-sane values.

from Robert Millan in PR misc/50166, with some modifications from myself
2015-09-21 21:50:16 +00:00
matt
eabbabd2c3 Update multiple inclusion macro 2015-09-21 15:50:19 +00:00
skrll
1e3213d973 Deal with unused variables 2015-09-21 13:32:48 +00:00
skrll
e22ecac88e Make this compile again 2015-09-21 13:32:26 +00:00
skrll
7882b5617d Deal with unused variable warnings 2015-09-21 13:31:30 +00:00
nonaka
ac3789be33 PR/50261: Added newer Toshiba hotkeys support. 2015-09-21 12:32:06 +00:00
skrll
de63ae2228 Fix typo 2015-09-21 10:10:19 +00:00
isaki
8950e44dd3 Fix typo. display.contrast is 0-15, not 0-1. 2015-09-21 08:04:43 +00:00
mrg
710e06c668 add smart IDs 210, 246, 247 and 248 (Micron):
+       { 210,          "Successful RAIN Recovery Count", NULL },
+       { 246,          "Total Host Sector Writes", NULL },
+       { 247,          "Contact Factory (Micron)", NULL },
+       { 248,          "Contact Factory (Micron)", NULL },

(eek i hope 247 and 248 don't move.)
2015-09-21 06:05:00 +00:00
dholland
cfe9c0210f Fix some assorted 32-bit assumptions not yet otherwise handled.
Also apply patch to fix the overt problem in PR 50246: newfs was
calculating ifpb wrong for volumes with non-default block sizes.
2015-09-21 01:24:58 +00:00
dholland
7ac462185b Oops, I forgot to make the atime in the 64-bit IFILE 64 bits.
Correct that. Incompatible change, but no LFS64 volumes can have been
created yet.
2015-09-21 01:24:39 +00:00
dholland
947343ea0e Add 64-bit directory entry structures, and adjust accessors accordingly.
The LFS64 directory entry has a 64-bit inode number. This is stored as
two 32-bit values to avoid inducing 64-bit alignment requirements.

The exposed type for manipulating directory entries is now
LFS_DIRHEADER, following the same convention as e.g. IFILE and SEGUSE.
(But with LFS_ on it, because.)
2015-09-21 01:24:23 +00:00
dholland
80201f5aa5 Oops; LFS_DIRECTSIZ() is going to need the fs as an argument.
Also, it turns out that dirhash needs a compile-time-constant version
of LFS_DIRECTSIZ(LFS_MAXNAMLEN+1), independent of 64-vs-32, so create
LFS_MAXDIRENTRYSIZE for this. Sigh.
2015-09-21 01:22:18 +00:00
wiz
c20b084d18 Add -s to getopt(3)-string.
Noted missing by Henning Petersen in PR 50255.

While here, clean up usage.
2015-09-20 17:45:25 +00:00
kamil
21207296f6 Prefer error messages resolved from errno over handwritten ones. 2015-09-20 16:57:13 +00:00
kamil
ca8a5c231b Correct #ifdef/#endif header file guards generator for files with names
other than alphanumerical.

For example, for a file named config-subscriber.x we were generating a
symbol '_CONFIG-SUBSCRIBER_H'.

Since now all non alphanumerical characters will be converted to '_' and we
will prevent from generating symbols starting with "__", what's reserved
for the internal compiler code parsers and generators.
2015-09-20 16:39:04 +00:00
kamil
facb255330 Correct newstyle code generation
For newstyle we used to generate oldstyle code. This bug has been fixed in
FreeBSD on 13 Dec 1995 by wpaul.

15a1e09c3d

Reviewed by <christos>, <pgoyette>
2015-09-20 15:52:11 +00:00
kamil
29aa8e74c1 Fix NULL pointer dereference
After the last function improvements there is invalid plist dereference
at the beginning of the second for () external loop. Move the proper check
inside the internal secound for () loop, after plist reinitialization.
2015-09-20 15:45:07 +00:00
martin
48059d8422 Add tera- and peta-bytes. 2015-09-20 15:09:06 +00:00
dholland
75caa729bb Clean up struct lfs_dirtemplate. 2015-09-20 04:51:43 +00:00
dholland
105e003c9a Fix glaringly stupid overflow/sizing bug in -r1.25. The part I don't
get is how it passed testing...
2015-09-20 04:50:58 +00:00
mrg
09797aa101 note netstat(1) knows window height now. 2015-09-20 00:35:14 +00:00
mrg
5f8222cdb9 query the window size and use it instead of assuming 24 lines.
now the header isn't re-printed a lot of times in tall windows.
2015-09-20 00:30:04 +00:00
wiz
b1bfb67337 Install radeon(4) from radeon-kms into x86 subdir.
This way, there is no file name issue with radeon(4) from
the old not-kms driver; and subdir man pages are preferred
to non-subdir.

Addresses MKREPRO issue from PR 50132.

XXX: This will stop being correct if radeon-kms is ported to more
platforms like sparc64.
2015-09-19 23:00:44 +00:00
dholland
59f989c072 Use value *before* freeing it. Found by brainy, reported by maxv. 2015-09-19 18:32:42 +00:00
dholland
3db7a6ac2b add note about the most recent acpica update 2015-09-19 18:31:41 +00:00
phx
80b0980ebb Size of erase block is 128 bytes when sector density (z) is zero. 2015-09-18 21:30:02 +00:00
phx
f13c00ea98 Declare sensor data invalid when reading the sensor failed (device is gone). 2015-09-18 17:21:43 +00:00
wiz
885f10e6bf tgif 2015-09-18 13:40:10 +00:00
pooka
6a501c9863 Fix typos to match values from rumpuser_config.h
from Hajime Tazaki via rumpkernel-users
2015-09-18 10:56:25 +00:00
nat
9e9e430b16 Don't disable/re-enable interrupts if they are already disabled.
Addresses PR 48196.

This commit was improved and approved by christos@
2015-09-17 23:48:01 +00:00
christos
dbf397647f fix 32 bit build. 2015-09-17 14:39:35 +00:00
christos
6fbf8f6644 undo previous; include is in ${.OBJDIR} 2015-09-17 14:25:43 +00:00
nonaka
de17d00067 PR/50248: re-apply src/external/bsd/tcpdump/dist/tcpdump.c rev.1.8.
> When running as root and wanting to write a file and not having CAPNG, don't
> drop privs, because we cannot open the file if we drop privs.
2015-09-17 14:03:10 +00:00