Commit Graph

238146 Commits

Author SHA1 Message Date
christos 26e9b7f568 sync with FreeBSD 2015-09-24 14:21:35 +00:00
christos 3745d9fb72 Sync with FreeBSD 2015-09-24 14:20:18 +00:00
christos 74f0118d99 sync with FreeBSD 2015-09-24 14:18:24 +00:00
christos fbb8599f9a We have libproc now 2015-09-24 14:17:20 +00:00
christos d502ba5f9b Add build glue, adjust for NetBSD 2015-09-24 14:15:58 +00:00
christos 945f510fbf import librtld_db from FreeBSD 2015-09-24 14:14:37 +00:00
christos 52ebe1c2c4 Add glue, adjust for NetBSD. 2015-09-24 14:12:47 +00:00
christos fbcd1dd103 Import libproc from FreeBSD 2015-09-24 14:05:35 +00:00
macallan e71a84eaff no need to set RI_CLEAR - we do our own clearing and rasops assumes a linear
framebuffer anyway. Now we can get away with leaving ri_bits at NULL where it
belongs on this hardware.
2015-09-23 20:09:45 +00:00
wiz 72127e3473 Add keys for wip.pkgsrc.org. 2015-09-23 12:14:51 +00:00
mrg e03a4ba241 add "-R <roundbeats>" option, to round beat counts to be aligned to
<roundbeats>, which defaults to 1.
2015-09-23 05:31:01 +00:00
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