kardel
70e8e53eb7
fix voluntary self-destruct (kill(0, SIGUP)) after successful int_res run and interface change
2014-01-20 19:03:33 +00:00
christos
b40d27d77a
use the old style no-error for gcc-4.1
2014-01-20 01:52:54 +00:00
christos
6bdb9744ad
ignore format errors for old gcc
2014-01-20 01:43:34 +00:00
christos
65ad45b7a0
gcc 4.1 does not have -Wno-error
2014-01-20 01:37:53 +00:00
christos
e4e9bd6876
Gcc-4.1 does not have -Wno-error
2014-01-20 01:32:12 +00:00
roy
9a2df3ff00
Do not try to bind to un-useable IPv6 addresses.
2014-01-17 17:25:47 +00:00
apb
bebb9d5ca8
For MKREPRO, instead of using __DATE__ and __TIME__
...
in ntp_calendar.c::ntpcal_get_build_date(), use a date/time
extracted from the importdate file.
2014-01-15 14:40:30 +00:00
apb
b7f6cc1193
If the "importdate" file exists, do not embed the date/time/build number
...
in the generated version. This logic was present in an earlier revision
of this file, but was lost in CVS revision 1.3 dated 2013-12-28.
Add a comment to make it less likely that this code is lost again.
2014-01-15 12:58:23 +00:00
joerg
b3199998db
Fix format strings.
2014-01-07 02:10:49 +00:00
kardel
eaac9e3d28
- add new clk_sel240x.c
2014-01-05 15:47:23 +00:00
kardel
3e56dcea0a
- enable the rest of the PARSE clocks (missed config option when merging)
2014-01-05 15:39:13 +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
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
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
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
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
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
4c05c4493f
remove unused variables
2013-12-30 01:34:22 +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
6a493d6bc6
Some html files were removed
2013-12-28 18:06:41 +00:00
christos
966c0b1b14
32 bit build fixes.
2013-12-28 17:00:50 +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
eeceecfe62
fix unused variable warnings
2013-10-20 02:47:38 +00:00
joerg
3657cb7f1d
Update LLVM/Clang snapshot to r191105. This brings in a better detection
...
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
njoly
856537a70d
Use mdoc macro for literal block display.
2012-11-14 08:26:29 +00:00
kardel
6d4483818f
re-enable broadcast client config after interface re-scanning
...
make broadcast transmission work again
2012-08-17 22:37:26 +00:00
christos
0f892d675b
add cast.
2012-08-12 07:22:24 +00:00
christos
97b3f8422e
- make the append function to not append past the end of the string
...
- use the append function some more
2012-08-12 06:16:51 +00:00
kardel
b3d86d3e3a
fix some fallout from append correction
2012-08-11 20:09:08 +00:00
christos
9bfa795a77
Homogenize all strn{cpy,cat} and snprintf() to a single append function to
...
prevent incorrect usage and buffer overflow.
2012-08-10 08:22:49 +00:00
joerg
ab7e24ab4b
Disable warning about broken strncat usage from clang for now.
...
The code is technically not going to overflow, but completely messed up.
2012-08-09 14:40:52 +00:00
jnemeth
98f55161d5
PR/46612 - Lloyd Parkes -- add a terminating newline to error messages
2012-06-25 20:23:43 +00:00
christos
720edde670
fix printf format.
2012-02-09 17:53:56 +00:00
christos
b8867d0ef6
There is no point in creating an entry point for emalloc(), when all the other
...
functions are just defined in terms of ereallocz(). Fixes the sun2 build
because it avoids the conflict with emalloc() from libutil.
2012-02-04 16:31:02 +00:00