Commit Graph

138592 Commits

Author SHA1 Message Date
nathanw 0774992407 Add cancellation protection to pthread_once() as per the standard; if
the once routine is cancelled, the effect on once_control is as if
pthread_once() was never called.

Bug report and fix from PR lib/30734.
2005-07-16 23:14:53 +00:00
nathanw 5baf7dff84 Oops, don't include an extra bonus deadlock. 2005-07-16 23:12:02 +00:00
nathanw ae6f5e4bba Add once3 test. 2005-07-16 23:02:24 +00:00
nathanw 5f424e4d7c Add a test for pthread_once() calling a function which is cancelled,
as described in PR lib/30734.
2005-07-16 23:02:11 +00:00
christos 15d0a3d10e Say what sbp is. 2005-07-16 22:54:34 +00:00
christos b5890013d6 Defopt VERIFIED_EXEC* 2005-07-16 22:50:15 +00:00
christos 1510fe1543 defopt verified_exec. 2005-07-16 22:47:18 +00:00
christos da48256d5a Don't depend on #ifdef VERIFIED_EXEC 2005-07-16 22:44:59 +00:00
christos 7fc92b0291 Explain why table is not const. 2005-07-16 22:32:36 +00:00
christos 58fc70c4d6 WARNS=3 2005-07-16 22:00:01 +00:00
christos ba9d68d01a Add __UNCONST. 2005-07-16 21:59:12 +00:00
christos fd2a8295bb - make input errors print the lint source line number they are called from.
- simplify a conditional.
2005-07-16 19:54:00 +00:00
christos 41d3ce981c Fix more lint problems. 2005-07-16 19:50:32 +00:00
christos ed7ae36357 Fix linted comments and use __UNCONST. 2005-07-16 19:48:09 +00:00
christos aeec445c81 Use CPPFLAGS for -D flags otherwise lint does not get it. 2005-07-16 19:36:25 +00:00
macallan 4adcd89999 added dbri audio driver 2005-07-16 19:02:45 +00:00
macallan 3f858509a1 add dbri audio driver 2005-07-16 19:00:39 +00:00
macallan 71b0921a17 driver for the audio part of SUNW,DBRI ISDN/audio controllers 2005-07-16 18:58:49 +00:00
christos c13c780daf Ignore indirect references when linting.
XXX: All this is done backwards, and is a mess. Really the _foo.c files should
include the _foo function definition, not the foo.c files, like everywhere
else.
2005-07-16 18:01:38 +00:00
christos 47bfe475f7 Add missing _. 2005-07-16 18:00:40 +00:00
christos ec94556f97 Revert previous; this needs to be fixed differently. 2005-07-16 17:53:36 +00:00
christos 94087acf22 Don't leak kernel external variables to userland. This file is included
from <sys/sysctl.h>.
2005-07-16 17:50:26 +00:00
christos d4ddc2a3d4 Don't define __indr_reference() for lint. 2005-07-16 17:41:05 +00:00
christos fce61e5249 revert previous, my include files were out of day. 2005-07-16 17:32:09 +00:00
christos 76e7e3ea51 Cast large constant to int. 2005-07-16 17:20:12 +00:00
christos b5626a3a22 Fix prototype inconsistency, discovered by lint2 fixes. 2005-07-16 17:15:46 +00:00
christos 55b453fa3c don't play #define games with lint. Breaks pass2. 2005-07-16 17:12:36 +00:00
christos 10ca8c1c36 We don't need to define fork anymore (pthread_atfork.c) or setlogin
(setlogin.c). Lint pass 2 works now.
2005-07-16 17:12:12 +00:00
uwe 065e2422b3 Match HP 620LX. Tested by Christer Andersson.
XXX: platid_mask_MACH_HP_LX also matches 360LX.  It's not confirmed
whether touch panel in 360LX is connected in the same way.  We may
need to regroup platid masks.
2005-07-16 16:36:23 +00:00
christos 0aa8a97934 WARNS=3 and remove default values. 2005-07-16 16:21:05 +00:00
christos 140eaa6eeb - KNF
- better handling of errors and messages
- pass lint
2005-07-16 16:20:35 +00:00
christos 078c5c1a41 From David Sainty: If a process dissappears while we are signalling it, don't
count it as a match/error.
2005-07-16 15:53:56 +00:00
rtr f44fd3e324 not -> no typo 2005-07-16 14:45:18 +00:00
rpaulo 0024ded950 Remove the -L parameter from the first line of the SYNOPSIS
and bump the date.

ok Hubert Feyrer.
2005-07-16 12:35:59 +00:00
hannken 5b2600ba63 Add option `ioaddr=<ioaddr>' to amd64. Already noted in man page.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2005-07-16 10:43:00 +00:00
rtr 1892a6084b add plist entries for forward manpage 2005-07-16 09:13:01 +00:00
rtr 599cc15c8c forward.5 from FreeBSD
resolves pr#20179
2005-07-16 09:10:02 +00:00
rtr c398bfd249 avoid ifconfig <if> "" it serves no purpose
patch from Robert Elz via pr#21110
2005-07-16 08:41:27 +00:00
rtr c19cae9065 change output from "rogue" to "quirks apply" - resolves pr#25387 2005-07-16 05:12:26 +00:00
yamt d7714c3b58 #ifdef out an unused variable in the case of !WI_DEBUG. 2005-07-16 04:06:39 +00:00
yamt e9e22b28eb genfs_getpages: don't forget to put the vnode onto the syncer's work queue
even in the case of PGO_LOCKED.
2005-07-16 03:54:08 +00:00
grant c48841dcc1 fix typo in comment 2005-07-16 01:54:27 +00:00
he 14bbdadd3d The ANSIfication unconvered that we were calling devlookup() with
an extra argument.  It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
he bc29f36ac6 The new function name is (for now, I gather) config_found_sm_loc(),
and not config_found_sm().
2005-07-15 23:10:36 +00:00
wiz 980a2652ee Aspell, fix an Xref, drop trailing whitespace. 2005-07-15 22:33:48 +00:00
dyoung 8e16397dbf Add a sysctl for turning wi(4) debugging on and off.
Do not print the number of tx commands outstanding on entrance to
wi_cmd_intr unless wi_debug > 1.
2005-07-15 22:33:29 +00:00
ginsbach d313757b82 * Exit non-zero error code when flushroute() fails operating on the
routing socket, e.g. running route flush as non-root.

* When quiet (-q) don't append error string to a non-existent
  diagnostic output (stdout).  The error diagnostic is still written
  to stderr.  [from FreeBSD]

* Use warn(3) in place of perror(3).
2005-07-15 21:29:54 +00:00
christos 0df4f0ca31 Only do certain actions when we are trully interactive, not just when we
are connected to a tty:
	1. enable editor
	2. print directory on directory change.
	3. print job messages
2005-07-15 17:49:43 +00:00
christos b0d51313b4 If we have a script and we are interactive, set interactive to 2. This
allows us to run scripts with -i without printing the prompt like the
other shells do.
2005-07-15 17:46:54 +00:00
christos e996b4625d Allow trap to work on ignored signals when the shell is interactive. 2005-07-15 17:23:48 +00:00