aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-host-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Modify `e_gethostbyname_r()' so that it doesn't report an error if theEttore Perazzoli2001-05-191-1/+6
| | | | | | | | | | 5-argument `gethostbyname_r()' returns a non-NULL hostent and a nonzero herr. This fixes the "Cannot resolve localhost" error on GNU/Linux with libc 2.2.x. svn path=/trunk/; revision=9888
* Make the Solaris and no-gethostbyname_r implementations behave more likeDan Winship2001-04-271-4/+20
| | | | | | | | * e-host-utils.c (e_gethostbyname_r): Make the Solaris and no-gethostbyname_r implementations behave more like the Linux one. Document. svn path=/trunk/; revision=9594
* remove prototype for e_gethostbyname_init.Chris Toshok2001-04-241-39/+33
| | | | | | | | | | | | | | 2001-04-24 Chris Toshok <toshok@ximian.com> * e-host-utils.h: remove prototype for e_gethostbyname_init. * e-host-utils.c (e_gethostbyname_r): don't dynamically allocate anything - store everything in the buffer that's passed in. Also, stop using EMutex. Switch to a static GMutex (so we can initialize it without having e_gethostbyname_init). (e_gethostbyname_init): removed. svn path=/trunk/; revision=9535
* Include glib.h, so that the g_warning in e_gethostbyname_r will be treatedJon Trowbridge2001-04-241-0/+1
| | | | | | | | | | 2001-04-23 Jon Trowbridge <trow@ximian.com> * e-host-utils.c: Include glib.h, so that the g_warning in e_gethostbyname_r will be treated as a macro and not as an unresolved symbol. svn path=/trunk/; revision=9528
* add e-host-utils.[ch]Chris Toshok2001-04-231-0/+139
2001-04-22 Chris Toshok <toshok@ximian.com> * Makefile.am (libeutil_la_SOURCES): add e-host-utils.[ch] * e-host-utils.c: new file, with e_gethostbyname_r. * e-host-utils.h: new file. svn path=/trunk/; revision=9502