The recent bout of ANSIfication seems to have raised a couple of issues with socketmodule: 1) It now won't compile on Tru64, because the declaration of "gethostname" on line 114 conflicts with that in the system unistd.h header file. 114 declares the second parameter as size_t, unistd.h declares it as int (unless the macro _XOPEN_SOURCE_EXTENDED is defined, but that's another can of worms...). The simple fix here is to add another !(defined(__osf__) to the preceding #if line. 2) There'll be an issue on those platforms where the second parameter _is_ declared as type size_t, because the gethostname function is called at line 1402 with the second parameter cast to an int, rather than a size_t... -- Email - m.favas@per.dem.csiro.au Mark C Favas Phone - +61 8 9333 6268, 0418 926 074 CSIRO Exploration & Mining Fax - +61 8 9383 9891 Private Bag No 5, Wembley WGS84 - 31.95 S, 115.80 E Western Australia 6913
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4