Bug #675

Get rid of netgraph's *LEN constants

Added by nant over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Catch up a bit with FreeBSD netgraph by replacing *LEN constants with
*SIZ constants which already account space for trailing '\0's.

Obtained from: FreeBSD (sorta).

Nuno.

netgraph-remove-xLEN.patch Magnifier (19.6 KB) nant, 06/03/2007 04:04 PM

netgraph-remove-xLEN2.patch Magnifier (4.6 KB) nant, 06/03/2007 11:16 PM

netgraph-remove-xLEN3.patch Magnifier (8.9 KB) nant, 06/04/2007 12:37 AM

History

#1 Updated by dillon over 7 years ago

:Catch up a bit with FreeBSD netgraph by replacing *LEN constants with
:*SIZ constants which already account space for trailing '\0's.
:
:Obtained from: FreeBSD (sorta).
:
:Nuno.

Committed.

-Matt

#2 Updated by nant over 7 years ago

Hmm. Just noticed that this breaks buildworld. I'm working on a patch to fix it.

Sorry,
Nuno

#3 Updated by nant over 7 years ago

Here's another patch to fix buildworld breakage. Sorry about that.

Reported by: walt <>

Thanks,
Nuno

#4 Updated by swildner over 7 years ago

Committed..

Sascha

#5 Updated by nant over 7 years ago

Hopefully replace all references to *LEN with *SIZ now...

Note to self: Gotta learn to properly verify stuff before submitting.

Reported by: swildner@

Thanks,
Nuno

#6 Updated by swildner over 7 years ago

Committed as well. :)

Sascha

#7 Updated by nant about 7 years ago

All commited. Closing case.

Thanks,
Nuno

Also available in: Atom PDF