[OpenSER-Devel] [ openser-Patches-1851474 ] Portability Issue in mi_datagram module

SourceForge.net noreply at sourceforge.net
Mon Dec 17 11:10:03 UTC 2007


Patches item #1851474, was opened at 2007-12-15 21:37
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1851474&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Portability Issue in mi_datagram module

Initial Comment:
The datagram_fnc.c file uses AF_LOCAL to indicate the family for creating a unix domain socket; Solaris does not have this constant defined, and instead it uses AF_UNIX.

mi_datagram module fails to compile. A patch is attached which renames AF_LOCAL to AF_UNIX at the file.

My data:

Name: Sergio Gutierrez
email: saguti at gmail.com

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2007-12-17 13:10

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Sergio,

I applied a different fix in order to maintain compatibility with both
Solaris and Linux.

Thanks for report,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2007-12-17 12:28

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Sergio,

Thanks - I will apply the patch asap.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1851474&group_id=139143



More information about the Devel mailing list