diff options
author | mharo <mharo@FreeBSD.org> | 1999-04-22 16:01:58 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-04-22 16:01:58 +0800 |
commit | 8c16fdd2578dcb9da74a84f259ae084bf1530c0a (patch) | |
tree | 7b998f1fda8069c40edebbf4eed65e2061b43d69 /ftp/pavuk/files | |
parent | 66cb5594d933c05d7f994b8c720b80cee9a06123 (diff) | |
download | freebsd-ports-gnome-8c16fdd2578dcb9da74a84f259ae084bf1530c0a.tar.gz freebsd-ports-gnome-8c16fdd2578dcb9da74a84f259ae084bf1530c0a.tar.zst freebsd-ports-gnome-8c16fdd2578dcb9da74a84f259ae084bf1530c0a.zip |
Update to pl9, and now use gtk12
PR: 11273
Submitted by: Chris Piazza <cpiazza@home.net>
Diffstat (limited to 'ftp/pavuk/files')
-rw-r--r-- | ftp/pavuk/files/patch-ab | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/ftp/pavuk/files/patch-ab b/ftp/pavuk/files/patch-ab index 8fb78d9dfe8c..1380df0a7dc2 100644 --- a/ftp/pavuk/files/patch-ab +++ b/ftp/pavuk/files/patch-ab @@ -1,22 +1,36 @@ ---- src/net.c Sun Feb 1 10:53:47 1998 -+++ /home/andy/tmp/wrk/src/net.c Fri Mar 20 22:00:21 1998 -@@ -129,7 +129,9 @@ - - } - +--- src/net.c.orig Sun Apr 18 06:53:46 1999 ++++ src/net.c Wed Apr 21 22:44:24 1999 +@@ -101,9 +101,9 @@ + { + return -1; + } +- +#ifndef __FreeBSD__ - fcntl(sock , F_SETFL , O_SYNC); + fcntl(sock , F_SETFL , O_NONBLOCK); +- +#endif - if ((connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1) && - (errno && (errno != EISCONN))) - { -@@ -259,7 +261,9 @@ - } - } + rv = connect(sock, (struct sockaddr*)&addr, sizeof(addr)); + if (rv && (errno != EINPROGRESS) && (errno != EISCONN)) + { +@@ -121,8 +121,8 @@ + #endif + + #ifdef GTK_FACE +- cfg.gtk.inid = gtk_timeout_add(cfg.ctimeout * 60000 , +- (GtkFunction)TOut , NULL); ++ cfg.gtk.inid = cfg.ctimeout ? gtk_timeout_add(cfg.ctimeout * 60000 , ++ (GtkFunction)TOut , NULL) : 0; + #endif + +@@ -261,8 +261,9 @@ + #ifdef I_FACE + if (cfg.xi_face) + { +#ifndef __FreeBSD__ - fcntl(sock , F_SETFL , O_SYNC); + fcntl(sock , F_SETFL , O_NONBLOCK); +- +#endif - } - #endif - if ((rsock < 0) && ((rsock = accept(sock, (struct sockaddr*)&caller, &p)) == -1)) + rsock = accept(sock, (struct sockaddr*)&caller, &p); + if ((rsock < 0) && (errno != EWOULDBLOCK)) + { |