Mercurial > gftp.yaz
changeset 480:18c6d173f5f2
2004-6-6 Brian Masney <masneyb@gftp.org>
* lib/protocols.c (gftp_set_username) - allow a NULL username
* configure.in - if gftp is being compiled on HPUX, check for sem_init
in librt
author | masneyb |
---|---|
date | Mon, 07 Jun 2004 02:02:49 +0000 |
parents | 11ab311ccb67 |
children | 8f6f049a942d |
files | ChangeLog configure.in lib/protocols.c |
diffstat | 3 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jun 07 01:21:13 2004 +0000 +++ b/ChangeLog Mon Jun 07 02:02:49 2004 +0000 @@ -1,4 +1,9 @@ 2004-6-6 Brian Masney <masneyb@gftp.org> + * lib/protocols.c (gftp_set_username) - allow a NULL username + + * configure.in - if gftp is being compiled on HPUX, check for sem_init + in librt + * lib/protocols.c (parse_time) - if there is an error parsing the time format, don't return a fatal error @@ -2487,7 +2492,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.267 2004/06/07 01:21:13 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.268 2004/06/07 02:02:49 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/configure.in Mon Jun 07 01:21:13 2004 +0000 +++ b/configure.in Mon Jun 07 02:02:49 2004 +0000 @@ -202,6 +202,12 @@ fi if test "x$GFTP_GTK" = xgftp-gtk; then + case $host in + *-hpux*) + AC_CHECK_LIB(rt, sem_init) + ;; + esac + AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread") if test "x$PTHREAD_LIBS" = x ; then
--- a/lib/protocols.c Mon Jun 07 01:21:13 2004 +0000 +++ b/lib/protocols.c Mon Jun 07 02:02:49 2004 +0000 @@ -838,7 +838,6 @@ gftp_set_username (gftp_request * request, const char *username) { g_return_if_fail (request != NULL); - g_return_if_fail (username != NULL); if (request->username) g_free (request->username);