[DragonFlyBSD - Submit #2303] (Closed) SUN_LEN() usage
Antonio M. Huete Jimenez via Redmine
bugtracker-admin at leaf.dragonflybsd.org
Mon Feb 13 13:10:44 PST 2012
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
More information about the Submit
mailing list