SourceForge has been redesigned. Learn more.
Close

#1 Cygwin patch

closed
nobody
None
5
2004-03-09
2003-08-01
No

On my copy of Cygwin (`uname -a` == CYGWIN_NT-5.0
GTA-038084 1.3.22(0.78/3/2) 2003-03-18 09:20 i686
unknown unknown Cygwin), it does not have inet_ntop and
inet_pton. I don't know the depth of the implications
of simply switching those out for their dumber cousins
(inet_ntoa and inet_addr), so caveat emptor.

There was also some issue with PCRE not finding a macro
named NEWLINE, so I chunked one in for it and life
seems good again.

In the absence of RPM, EPM does a pretty good job of
packaging things under Cygwin. Find included a .list
file for EPM.

This falls under the It Works For Me(tm) testing
strategy. I hope it helps someone else.

Discussion

  • Matthew L Daniel

    Cygwin compilation patch

     
  • jason mclaughlin

    Logged In: YES
    user_id=432781

    Oops, forgot to close this...

    Some of this patch was applied a while ago, the inet_ntop and
    inet_pton changes weren't though since they're not thread safe. A
    possible solution is a inet_pton/inet_ntop wrapper that uses
    inet_ntoa/inet_addr and a mutex.

     
  • jason mclaughlin

    • status: open --> closed
     

Log in to post a comment.