Commit Graph

10216 Commits

Author SHA1 Message Date
he 87292a6062 Initialize a variable to appease -Wuninitialized.
Marked with XXXGCC for dreamcast (found while compiling for it).

Reviewed by lukem.
2005-06-07 09:13:43 +00:00
chs 157d1a93e8 remove sigtramp version 1, we haven't used it in a long time. 2005-06-05 19:02:10 +00:00
chs bb7a930a0b fix function name in end-marker. 2005-06-05 19:01:04 +00:00
lukem e82ae39d67 Cosmetic tweak previous; IMHO we don't need the XXX comment in this
case, since I prefer to NULL initialize variables in this situation.
2005-06-05 01:15:29 +00:00
he 0d43148fcf Add an initialization to appease -Wuninitialized. Apparently the
sparc64 compiler gets this wrong.
2005-06-04 22:14:00 +00:00
dsl 217446d2aa Only advance 'p' once each time around the loop.... 2005-06-04 20:09:56 +00:00
wiz 2b67bf1d7d Bump date for previous. 2005-06-04 00:39:26 +00:00
wiz 649ba88889 Sort options. 2005-06-03 20:32:20 +00:00
christos 91168c6f92 Provide the minimum set of .WAIT barriers, adding explanatory comments.
From Patrick Welche, many thanks.
2005-06-03 14:28:07 +00:00
scw a14b1c10ef Nuke trailing whitespace. 2005-06-02 08:18:20 +00:00
lukem ac636bd17a Don't use non-standard uint or u_int. 2005-06-01 11:37:52 +00:00
lukem f9d230b4f6 appease gcc -Wuninitialized. some delint 2005-06-01 11:22:18 +00:00
lukem 9f3f3adf23 appease gcc -Wuninitialized 2005-06-01 11:08:57 +00:00
lukem 7fbaf47f83 Compile the following files with -Wno-uninitialized:
vfprintf.c	See rev 1.46 for why we can't fix this.
vfwprintf.c	Needs some effort
vfwscanf.c	Needs some effort
2005-06-01 11:06:01 +00:00
lukem 46af29904e appease gcc -Wuninitialized 2005-06-01 05:54:07 +00:00
lukem 3af3e6a479 appease gcc -Wuninitialized 2005-06-01 05:41:48 +00:00
lukem 63246b1ef4 Ensure dbp is initialized to NULL before trying to use it in an error codepath.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13.  Hi Mycroft! :)
2005-06-01 05:39:17 +00:00
lukem d999a32485 Ensure that we don't try to free random memory when another malloc fails,
by initializing newprepare, newparent, and newchild to NULL.
Detected by gcc -Wuninitialized.
2005-06-01 05:30:54 +00:00
lukem b8fe389b4c Exit via the correct cleanup path; we can't munmap until the mmap has
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)
2005-06-01 05:24:54 +00:00
lukem 2f0fdfa7f7 Move the test for "more strict reverse lookup handling" to the correct
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26.  Hi Itojun! :)
2005-06-01 05:19:21 +00:00
lukem 178e201b11 appease gcc -Wuninitialized 2005-06-01 04:38:40 +00:00
thorpej d93ab54e03 Use TOOL_GENASSYM. Part of PR toolchain/30350 2005-05-30 16:02:56 +00:00
christos 524267d3f8 It is really pointless to come up with new implementations of the wide string
functions instead of using the narrow string ones. Make this look like
strchr, so that wcschr(L"foo", L'\0') does not return NULL as it should.
2005-05-30 06:00:01 +00:00
christos 385ca9a533 Remove the bogus const. 2005-05-29 21:12:27 +00:00
lukem 48753fbc85 Update for recent parse__escape() prototype change 2005-05-29 04:58:15 +00:00
christos 917b5f36b1 PR/25694: Luke Mewburn: Don't abuse unconstify'ing a string and writing to
it, because you'll core dump. Also remove extra const that gives pain to
the irix compiler.
2005-05-29 03:55:37 +00:00
lukem f162f2532e convert to ANSI prototypes. some KNF 2005-05-28 13:11:14 +00:00
lukem af98cf1789 missed a free(3) in previous 2005-05-28 13:06:14 +00:00
lukem b7289610e1 Use malloc(3) instead of the non-standard alloca(3) in MAKEEXTRALIST(),
check the return value of malloc(3) and return "" (or equiv) upon failure,
and free the result of the malloc(3).
2005-05-28 12:57:48 +00:00
lukem beb8208a11 fix for WARNS=3 2005-05-28 12:03:22 +00:00
lukem 8e4107254f clean up build of "test" 2005-05-28 12:02:53 +00:00
lukem d0117e1043 MAKEVERBOSE support 2005-05-28 11:55:30 +00:00
agc 305f170238 Use the correct type for the stored callback function 2005-05-27 14:01:46 +00:00
agc 26abf58dee Sync the alternative readline interface with reality:
+ the rl_callback_handler_install takes a pointer to a void function
  which has one char * argument (it's called that way in the readline
  emulation source, otherwise there's no way to pass the line buffer
  to the function which processes the line when EOL is encountered)

+ provide a prototype for that function signature and use it

Makes the callback readline interface work now.
2005-05-27 11:35:07 +00:00
kleink 13034da908 Add restrict qualifiers to fopen()/freopen() arguments. 2005-05-25 16:01:24 +00:00
wiz 5165223fca Bump date for standards. 2005-05-25 10:05:22 +00:00
wiz 7ebb6744fd <> -> Aq. 2005-05-25 10:04:37 +00:00
kleink c0b528fad0 Truth, meet standards section. Standards section, meet truth. 2005-05-24 18:01:36 +00:00
wiz e01d6f96c3 New sentence, new line. <> -> Aq. Bump date for previous. 2005-05-24 15:58:11 +00:00
elad 6755bac719 Add man-page bits about the 'count' node. 2005-05-24 15:47:46 +00:00
christos fe6a3ed298 Make these work with today's curses and termcap reality. 2005-05-23 04:04:49 +00:00
skrll b7ddf5b9cb Copyright Maintenance 2005-05-21 06:46:34 +00:00
uwe faedc2c4d1 Prettify. Avoid code duplication.
Same object code is generated.
2005-05-20 23:56:15 +00:00
lukem 47d12f36e7 Use a more standard TNF license (than one that has clause 3 for UCB
& refers to "THE REGENTS").
Confirmed with Lex, who added it.
2005-05-20 01:22:48 +00:00
manu 8612e62aa3 Bump version number 2005-05-20 00:58:58 +00:00
elad 5888b16eef Some changes in veriexec.
New features:

  - Add a veriexec_report() routine to make most reporting consistent and
    remove some common code.
  - Add 'strict' mode that controls how veriexec behaves.
  - Add sysctl knobs:
     o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
     o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
       documentation in sysctl(3) for details.
     o kern.veriexec.algorithms returns a string with a space separated
       list of supported hashing algorithms in veriexec.
  - Updated documentation in man pages for sysctl(3) and sysctl(8).

Bug fixes:

  - veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
    correctly.
  - exec_script(): Don't pass 0 as flag when executing a script; use the
    defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
    enforcement work.
  - Fix some printing formats and types..
2005-05-19 20:16:19 +00:00
christos eda876c9d5 Libedit depends on libterm. From Patrick Welche 2005-05-18 22:36:20 +00:00
christos 33b0562908 Make completion_matches non-static since readline wants it. 2005-05-18 22:34:41 +00:00
christos 308097fac3 Make signal handler safe. From Michael Knudsen, many thanks. 2005-05-18 00:50:24 +00:00
peter 838f5a9f71 - setmode() can fail on strtol(3); note this.
- Use .Va for errno.
2005-05-17 21:54:06 +00:00