diff options
| author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-15 06:53:11 +0000 |
|---|---|---|
| committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-15 06:53:11 +0000 |
| commit | e017f4f74a7c692478802e9f5f45f66ed91be0b9 (patch) | |
| tree | c33d196e0ed2e8bc336bf24281ea6bddc9b93793 /net/delegate/files/patch-aa | |
| parent | upgrade to 1.6.3 (diff) | |
upgrade to 7.1.2, it's not in-secure now
PR: 26088
Submitted by: ijliao (me)
No Response from: maintainer
Notes
Notes:
svn path=/head/; revision=41410
Diffstat (limited to 'net/delegate/files/patch-aa')
| -rw-r--r-- | net/delegate/files/patch-aa | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/net/delegate/files/patch-aa b/net/delegate/files/patch-aa deleted file mode 100644 index 914a4c3e4b55..000000000000 --- a/net/delegate/files/patch-aa +++ /dev/null @@ -1,39 +0,0 @@ ---- src/lock.c.orig Mon Mar 15 19:24:15 1999 -+++ src/lock.c Sun Apr 18 15:26:15 1999 -@@ -136,6 +136,22 @@ - break; - } - -+#ifdef EWOULDBLOCK -+ /* -+ * Only retry the lock if it was busy. Other -+ * possible sources for the lock to fail are: -+ * invalid argument, bad filedescriptor, and -+ * operation not supported by device. The latter -+ * happens if you start DeleGateD with -v, so it -+ * logs to stderr (which usually doesn't support -+ * locking at all). -+ */ -+ if (rcode == -1 && errno != EWOULDBLOCK) { -+ /* pretend lock succeeded */ -+ rcode = 0; -+ break; -+ } -+#endif - remain = timeout - elapsed; - if( remain <= 0 ) - break; -@@ -146,6 +162,13 @@ - - start = Time(); - rcode = callFuncTimeout(remain/1000,-1,func,fd); -+#ifdef EWOULDBLOCK -+ if (rcode == -1 && errno != EWOULDBLOCK) { -+ /* pretend lock succeeded */ -+ rcode = 0; -+ break; -+ } -+#endif - elapse1 = (Time() - start) * 1000; - /*{ - static int n; |
