DragonFly submit List (threaded) for 2012-02
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
[DragonFlyBSD - Submit #2303] (Closed) SUN_LEN() usage
Issue #2303 has been updated by Antonio M. Huete Jimenez.
Status changed from New to Closed
Hi,
I haven't been able to find a reference to SUN_LEN() in Opengroup. Also, its usage seems merely to save up some bytes but it adds extra overhead by using strlen, which in this case was no issue at all. Passing the whole struct size is fine.
Closing this one.
Cheers,
Antonio Huete
----------------------------------------
Submit #2303: SUN_LEN() usage
http://bugs.dragonflybsd.org/issues/2303
Author: Antonio M. Huete Jimenez
Status: Closed
Priority: Normal
Assignee: Alex Hornung
Category:
Target version:
Alex,
Shouldn't we pass a SUN_LEN(un_addr) here instead a plain sizeof(un_addr)?
Cheers,
Antonio Huete
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]