mrg
cab2d18424
don't assign struct pointers to smaller then structure regions of memory.
...
in all cases here, the later parts of the structure are not actually
accessed, so there are no existing bugs here beyond general UB. for the
ufs ones, this also removes some casts.
found by GCC 12.
2023-08-10 20:49:19 +00:00
andvar
86c307248f
fix various typos, mainly in comments.
2022-05-28 10:36:21 +00:00
mrg
684b182f81
compare pointers with NULL not '\0'.
2019-02-01 08:29:03 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
christos
e243964246
move all the code that is unused inside #if 0
2013-10-19 17:06:57 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
mbalmer
6e0f0ba65d
Revieve -> Receive in a comment.
2011-10-17 16:50:47 +00:00
plunky
f65a48c2ec
max WARNS is 4
2011-10-13 17:23:28 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
christos
ef977d1767
use memcpy to avoid type punned warnings
2011-08-14 17:42:23 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
dholland
b0b5abdaa0
Fix typo, from Henning Petersen in PR 44513.
2011-02-07 01:37:12 +00:00
christos
63a6577561
make error messages more consistent.
2011-01-04 20:45:12 +00:00
wiz
260bd09a04
Use format string for err(). From Henning Petersen in PR 44326.
2011-01-04 09:04:24 +00:00
christos
fc494df71d
- no casts for malloc and free
...
- malloc(type) -> malloc(*value)
- malloc+strcpy -> strdup
2010-12-13 16:52:53 +00:00
cegger
10cb97e079
PR bin/44230: Missing close.
2010-12-13 11:51:23 +00:00
cegger
3cc4951138
show crom:
...
Print calculated crc. When crc does not match then print expected crc.
2010-08-26 07:04:04 +00:00
cegger
188054e855
Backport improvements from FreeBSD.
...
Introduce two new options:
-f : force root node
-i : set priority budget where supported
developped, tested and reviewed by kiyohara@ and me.
2010-08-24 08:41:24 +00:00
wiz
70f1aeef21
Revert unimprovement from previous.
2010-08-16 06:56:48 +00:00
cegger
9442479bbf
backout accidentally committed changes
2010-08-15 22:05:14 +00:00
cegger
5a10adf510
spelling fix
2010-08-15 22:01:57 +00:00
cegger
f15046fcff
Feed improvements from FreeBSD
2010-08-15 21:52:30 +00:00
pgoyette
1009226e90
Fix a typo
2010-08-14 16:32:26 +00:00
cegger
b3454b7a0b
fwcontrol -> fwctl
2010-08-14 16:23:49 +00:00
cegger
f108f421fc
remove useless brackets. From kiyohara@
2010-07-31 07:05:32 +00:00
cegger
0cffce294c
make this build again after ieee1394 update
2010-03-29 10:49:34 +00:00
wiz
b649b20e90
New sentence, new line.
...
Adapt wording from FreeBSD to apply to pkgsrc. Bump date.
2009-05-18 11:57:30 +00:00
lukem
98e270d73f
Fix -Wsign-compare issue
2009-04-15 06:01:01 +00:00
joerg
b20b8e52a6
Add missing quotes.
2009-04-08 14:33:12 +00:00
xtraeme
b2bb69490d
WARNS=4 love.
2008-05-02 19:59:19 +00:00
matt
1cbe81874e
Change inappropriate use of CFLAGS to CPPFLAGS.
2008-02-16 07:27:29 +00:00
kiyohara
3caf19136d
Sync to FreeBSD.
...
Add fwmethods.h fwmpegts.c
fwcontrol.c Rev.1.23
fwctl.8 Rev.1.21
fwdv.c Rev.1.7
Support MPEG2-TS/HDV. But not tested.
2007-11-06 17:02:15 +00:00
xtraeme
f474b453a0
We are not FreeBSD: .Fx -> .Nx
2007-03-05 04:56:48 +00:00
christos
0b53fe2b9f
Coverity CID 3233: Be nice and close the file you opened.
2006-05-24 22:08:53 +00:00
christos
675ee2be81
Coverity CID 2460,2459,2458,2457: Don't allocate smaller chunks, it is not
...
worth it, and it makes coverity mad. Also check the return of malloc, and
allocate using variables instead of types as the sizeof arg.
2006-05-24 22:07:42 +00:00
kiyohara
188918d76f
Fix marge miss. We use 'hw.fwmem.eui64_[hl]i'.
2005-08-23 19:19:51 +00:00
wiz
e8034ce6cf
Sync usage with man page. Use getprogname().
2005-07-12 09:10:18 +00:00
wiz
827b575644
-i seems to have been renamed to -b, update description.
2005-07-12 09:05:35 +00:00
wiz
e6d8065557
Sort a bit more.
2005-07-12 09:03:10 +00:00
wiz
77d802d694
Sort options, sort sections, long month name in Dd.
2005-07-12 08:59:00 +00:00
kiyohara
d7ee32c61f
Forgot to commit.
...
ieee1394 import from FreeBSD.
2005-07-12 03:23:06 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00