On Jul 20 19:45, Kai Tietz wrote: > 2012/7/20 Corinna Vinschen <vinsc...@redhat.com>: > > Hi, > > > > The error codes returned by getaddrinfo and getnameinfo are defined > > as int values. The below patch fixes that for EAI_NODATA. Ok? > > > > > > Thanks, > > Corinna > > Hmm, I think we should keep these kind of values long for LLP64 and > ILP targets.
Sorry, but that doesn't make sense, IMHO. getaddrinfo returns int: http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520%28v=vs.85%29.aspx getnameinfo returns int: http://msdn.microsoft.com/en-us/library/windows/desktop/ms738532%28v=vs.85%29.aspx gai_strerror takes an int as parameter: http://msdn.microsoft.com/en-us/library/windows/desktop/ms738514%28v=vs.85%29.aspx Corinna ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public