christos
3cd2d0576e
rename salloc to estrdup.
2006-04-02 01:39:48 +00:00
uwe
f656cfe053
Kill trailing whitespace.
2006-04-02 01:17:16 +00:00
christos
8de5cf0e33
Coverity CID 2639: Fix obvious bug in loop handling. Using and freeing the
...
wrong pointer.
2006-04-02 01:10:39 +00:00
he
f2b7814ebc
Now that BKPT_SET takes two arguments, supply the second argument.
2006-04-02 00:57:30 +00:00
christos
2e0077c305
Add more coverity assertions. If this does not work, I will have to follow
...
a different tactic.
2006-04-02 00:53:56 +00:00
christos
8533275dab
Remove bogus debugging code I accidentally committed.
2006-04-02 00:15:53 +00:00
christos
a7a74df4fa
Coverity CID 2788: If no room gets returned, don't try to place a monster.
2006-04-02 00:13:29 +00:00
christos
8710461ab4
Coverity CID 2791: Fix file pointer leak.
2006-04-02 00:08:12 +00:00
christos
5a33190720
fix coverity free model.
2006-04-02 00:01:13 +00:00
christos
bfe8a650d3
Coverity CID 2792: Fix memory leaks
2006-04-01 23:53:11 +00:00
christos
2b955dc8fb
Coverity CID 2846: Don't use LIST_FOREACH if you are going to free the cursor
2006-04-01 23:50:50 +00:00
christos
f1e970a046
Coverity CID 2847: Don't use LIST_FOREACH if you are going to free the
...
current pointer!
2006-04-01 23:48:56 +00:00
christos
868accdb18
Coverity CID 1836: Free Source after return from shell.
2006-04-01 23:39:58 +00:00
christos
c28f114217
Coverity CID 1844: Add annotations for aresize.
2006-04-01 23:36:28 +00:00
christos
0ad4767103
Coverity CID 1829: Fix memory leak.
2006-04-01 23:34:43 +00:00
christos
89bc0d7869
Greek console keymap from Eye of the Beholder
2006-04-01 23:02:32 +00:00
christos
46c0b8e98a
PR/26804: Jason Thorpe: Make PT_DUMPCORE require the process to be PT_ATTACH'ed
...
first so that it is stopped and there are no races.
2006-04-01 22:34:00 +00:00
christos
aa614dac23
Don't barf if USE_GCC4 is not defined.
2006-04-01 20:21:30 +00:00
christos
4e974b3144
Add a HAVE_GCC4
2006-04-01 20:20:28 +00:00
he
9be7b2d54a
After the latest update to <sys/time.h>, struct timezone is no longer
...
defined if _NETBSD_SOURCE is not defined, so comment out the definition
of HAVE_STRUCT_TIMEZONE. Fixes build problem for vax.
Even though this file says "auto-generated, do not edit", matt said
"OK" to manually tweaking it.
2006-04-01 20:02:56 +00:00
bjh21
bc24b5d85b
Add code to support access to RISC OS disk devices from libsa. This is
...
sufficient to allow a small wrapper program to access files on the NetBSD
partition of a shared disk. NetBSD-only disks don't work (FileCore objects
to the lack of a boot block), and there's no code to actually use this
facility yet.
2006-04-01 19:08:07 +00:00
oster
6b45384deb
We don't need (or want!) to include cpuframe.h or have sigstate
...
visible to userland on m68k. Fixes numerous pkgsrc build issues where
"struct frame" as defined in cpuframe.h pollutes the local namespace.
Compile-tested full builds for hp300, mac68k, amiga, sun3, and next68k.
OK'ed by matt@.
2006-04-01 18:03:55 +00:00
oster
82818fa5ca
Explicitly include <m68k/frame.h> here, rather than relying on it getting
...
pulled in via signal.h by accident.
2006-04-01 18:02:04 +00:00
jdolecek
dbfcc2f3c5
don't check ntfs and msdosfs for devices/set[ug]id files; neither of those
...
are supported on the filesystem, so no need for checking
PR: 33092 by Aleksey Cheusov
2006-04-01 17:13:19 +00:00
jmmv
43e0f4ee96
Fix cross-reference to grep(1).
2006-04-01 16:12:23 +00:00
cherry
93447d7ac4
closes: PR kern/32359
...
modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.
Patch from cherry@mahiti.org
2006-04-01 15:45:00 +00:00
cherry
dc0898b362
closes kern/32359
2006-04-01 15:44:59 +00:00
cherry
d600e81a73
closes: PR kern/32359
...
modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.
Patch from cherry@mahiti.org
2006-04-01 15:44:58 +00:00
elad
2675cb7714
Allow explicit length by checking it only if we have a length above 0.
2006-04-01 14:51:17 +00:00
yamt
48be7a5ca6
yamt-pdpolicy: new base
2006-04-01 12:17:11 +00:00
he
5e1904ecea
In order to handle some perl scripts running as daemons, add a
...
pattern which also matches "`basename $interpreter`: $command" in the
ps listing. Should fix PR#31932.
2006-04-01 10:05:50 +00:00
cherry
fb4fa95282
xlint for ia64
2006-04-01 09:39:47 +00:00
perseant
260a2c76af
Document -i option, update date; at the request of wiz@.
2006-04-01 08:44:57 +00:00
rtr
75de03412e
cast line_len to (int) to avoid warn.
2006-04-01 06:36:58 +00:00
rtr
df14d9f34e
revert previous to previous as it was correct
2006-04-01 06:31:43 +00:00
rtr
f738eedb64
change printf format from "%.*s" to "%.8s"
...
have to conclude it was what was actually intended in the previous change
2006-04-01 06:26:31 +00:00
tnozaki
b37120b682
add iconv support for Armenian State Standard encoding:
...
ARMSCII-7, ARMSCII-8, ARMSCII-8A
2006-04-01 04:13:21 +00:00
christos
dfabd062ab
PR/32809: Pavel Cahyna: Conflicting flags in l_flag and p_flag are causing
...
ps(1) to print incorrect information. Annotate the flags in the header files
to make sure that flags are not being re-used and move flags so that there
are no conflicts.
2006-04-01 00:57:34 +00:00
perseant
51afd83ada
Make sure we unlock to zero when avoiding 3-way deadlock; otherwise we
...
simply have a different form of deadlock.
2006-04-01 00:13:01 +00:00
agc
cf0dd67053
Provide a bit more information in the error and warning routines - needed
...
since variadic macros were removed.
2006-03-31 23:22:24 +00:00
christos
e052a053e4
Add some coverity allocation comments, and change the way the allocator
...
functions work. When they allocate storage that needs to be freed, instead
of setting a boolean, set the pointer to be freed. Plug some more memory
leaks found by inspection.
2006-03-31 21:58:08 +00:00
uwe
3d342ea626
Lines with tabs only -> empty lines.
2006-03-31 21:43:42 +00:00
he
588e007881
If we're building for mipsel, we need to build the INSTALL_OMSAL400 kernel
...
so that the build of the install image works.
2006-03-31 21:25:59 +00:00
dsl
33369a0245
There is no need to count jobs and job tokens.
...
If we don't create the job pipe, use the '-j n' option to limit the number
of tokens we will remove from the pipe.
2006-03-31 21:05:34 +00:00
christos
ec5cc02622
Coverity CID 544: Fix memory leak.
2006-03-31 20:30:46 +00:00
riz
9f6ad5fff1
Swap the order of the tf_gen and tf_id members of struct tmpfs_fid,
...
since tf_id needs 8-byte alignment on some architectures (like amd64).
struct tmpfs_fid now fits in 16 bytes on amd64 again.
OK matt@
2006-03-31 20:27:49 +00:00
dsl
ec40cf92c2
Rewrite parallel() so that it uses fgetln() instead of fgets() so that
...
horrid nasty things don't happen when the input lines are the same size
as the buffer.
Simplify by using an array of 'FILE *' instead of a linked list so that
is possible to appease coverty (SID:1598) by freeing the memory.
Also fclose() the input lines when they are consumed.
Code still modifies optarg strings....
2006-03-31 18:59:52 +00:00
christos
46940789af
Bye bye cdk. Moved via repository copy to othersrc/dist/cdk
2006-03-31 17:40:18 +00:00
thorpej
c8dd740fd0
Use ANSI function decls, apply static.
2006-03-31 17:39:33 +00:00
christos
c7ffec83be
Only do the software reset if we are dying, like we do in ohci and ehci.
...
Pointed out by SAITOH Masanobu
2006-03-31 17:31:13 +00:00