christos
f05010c404
- PR/50291: Fix memory leak
...
- estrdup/emalloc
- use EXIT_FAILURE instead of 1
2015-09-29 14:27:00 +00:00
christos
20c3ea3d63
Kill sys/modctl.h which we don't need.
2015-09-27 03:37:16 +00:00
christos
c4bba3a5cb
Put -Isys after the ioctl Makefile has a chance to add other paths first.
2015-09-26 13:31:27 +00:00
christos
f72496b8cd
Add dtrace ioctls
2015-09-26 03:31:11 +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
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
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
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
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
joerg
f66e764c57
Workaround const issues of SSL_set_tlsext_host_name.
2015-09-16 15:32:53 +00:00
wiz
c39756ad10
servername cannot be NULL here.
...
Noted by joerg@.
2015-09-12 20:23:27 +00:00
wiz
7a5da4c401
Bump version for SNI support.
2015-09-12 20:18:52 +00:00
wiz
f9b7d2341e
Add Server Name Indication (SNI) support for https.
...
Needed for e.g. some github URLs.
2015-09-12 19:38:42 +00:00
joerg
2bb600f982
Negating an integer and comparing it to 1 is a fancy way of checking for
...
0, which in this case would be DEVI_ORPHAN. That clearly can't be the
intention here, so switch to using != as operation without negation
instead.
2015-09-12 19:11:13 +00:00
uebayasi
ba0b12db31
Libraries should be built in sub-make. libkern is polluting .PATH too much.
2015-09-11 02:26:22 +00:00
sjg
0173eb921e
Output Entering/Leaving messages for objdir when != srcdir and -w flag
...
This helps ensure Emacs can find source of error.
Reviewed by: christos
2015-09-10 17:15:11 +00:00
jnemeth
7c8eb9ef85
Pretty difficult for a TV show (Star Trek) to have a first airing
...
on two different dates. Dump the erroneous one.
2015-09-08 11:07:37 +00:00
uebayasi
6639db6cc2
About ${CTFCONVERT}.
2015-09-08 05:48:07 +00:00
uebayasi
fe281df765
${MD_OBJS} and friends.
2015-09-08 02:23:34 +00:00
uebayasi
0e43d38dc2
${LD} input files and library (*.a) support.
2015-09-08 00:53:39 +00:00
sevan
9f88c39420
Switch from a mixture of tabs & 3 spaces to a single style, 3 spaces
2015-09-07 12:29:19 +00:00
sevan
b62382f11c
Add pkgsrc/Bitrig
2015-09-07 12:20:32 +00:00
uebayasi
82a183dddd
Fix previous.
2015-09-04 21:32:54 +00:00
uebayasi
cea9d6a0de
Fix segmentation fault.
2015-09-04 15:50:48 +00:00
uebayasi
9b48d49489
Sort files in ${ALLFILES} in the order of parsing of `files.*'.
...
config(1) reads the first `files.${MACHINE}' when it encounters `machine'.
Then it includes common `files.${MACHINE_SUBARCH}', `files.${MACHINE_ARCH}',
and MI `sys/conf/files' at last. This change makes the first "file" in
`files.${MACHINE}' appear first in ${ALLFILES}.
2015-09-04 10:16:35 +00:00
uebayasi
ce4642ec41
Make config(1) output only ${ALLFILES}, selected input files, and pass it to
...
Makefile.kern.inc, where files are filtered by suffix.
2015-09-04 06:10:47 +00:00
uebayasi
ca8d7a3596
*.o files don't need special handling at all now. Makefile.kern.inc knows
...
*.o input files don't need to get compiled, but need to get linked.
2015-09-04 06:01:40 +00:00
uebayasi
5b92bb3c7a
Output ${ALLFILES}, the list of selected *.[csSo] files, sorted in the exact
...
order config(1) parses "file ..." commands in config(5) files. Define
${CFILES}, ${SFILES}, and ${OFILES} as subset of ${ALLFILES} selected by
suffix.
2015-09-04 05:52:15 +00:00
uebayasi
bc2bf167eb
Now Makefile.kern.inc handles swap<kernel>.c compiling/linking nicely,
...
config(1) can become less hackish.
2015-09-04 05:13:32 +00:00
uebayasi
dc9cfb5d59
Share more code by making *.o handling less special.
2015-09-04 01:24:01 +00:00
uebayasi
bc619545b7
Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
...
internally. ${MI_CFILES} in Makefile.kern.inc is no longer needed.
2015-09-03 14:23:52 +00:00
uebayasi
b5b4952dae
After thought, revert "Generate *.c files under conf/". Generate *.c files
...
under top build directory. *.c files are never placed just under $S/. Keep
this exclusiveness.
2015-09-03 13:53:36 +00:00
uebayasi
9d10d0209d
Pretty-print `Makefile' output.
2015-09-03 13:32:07 +00:00
uebayasi
eaa72931c4
Move `all' target definition to Makefile.kern.inc.
2015-09-03 09:28:00 +00:00
uebayasi
d891b756ba
Define kernel dependency in Makefile.kern.inc.
2015-09-03 06:09:46 +00:00
uebayasi
dfa246e2cf
Fix build.
2015-09-03 06:08:38 +00:00
mrg
aa0a9ba7c2
remove these items:
...
o Disallow unknown options.
o Kill makeoptions.
because they're overly strict and i use these both regularly
to do stuff that isn't in the base src, and i'm quite sure
i am not the only one.
2015-09-03 05:45:16 +00:00
uebayasi
77d324a2b9
In `-S' mode, create symlinks from outside of $S to build directory, for
...
files that are placed outside of $S, so that `Makefile.kern.inc' can see all
files under either $S or build directory.
2015-09-03 02:45:24 +00:00
uebayasi
a453d60989
Fix build.
2015-09-02 16:29:44 +00:00
uebayasi
7a8426662a
Define ${OBJS} in `Makefile.kern.inc'. Relative paths are not truncated
...
(a/b/c/x.c -> x.c) in `-S' mode. Don't provide some explicit rules for `-S'
mode for safety.
2015-09-02 14:17:03 +00:00
uebayasi
558aab1be0
Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
...
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).
2015-09-02 13:42:14 +00:00
uebayasi
7db0c115b3
Simplify generated `Makefile' by calculating ${OBJS} from merging ${CFILES},
...
${SFILES}, and ${OFILES} except swap<kernel>.o excluded.
2015-09-02 13:06:06 +00:00
uebayasi
dccd2cf552
In `-S' mode, generate *.c files under conf/ subdirectory. Register generated
...
.c files to the `files' list internally.
2015-09-02 05:09:25 +00:00
uebayasi
e53d4b70ba
Fix build.
2015-09-01 20:18:41 +00:00
uebayasi
b06817457f
Experimental ``suffix rules + subdirectories'' build support (-S).
2015-09-01 16:01:23 +00:00
uebayasi
64903d9c8f
Prepare to build subdirectories. Not enabled yet.
2015-09-01 14:32:20 +00:00