Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Cygwin patch

closed
nobody
None
5
2004-03-09
2003-08-01
Matthew L Daniel
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

  • Cygwin compilation patch

     
    Attachments
  • 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.

     
    • status: open --> closed