summaryrefslogtreecommitdiff
path: root/net/dctc/files/patch-src::main.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:03:54 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:03:54 +0000
commitfd3eb836b9f6d8fc622cb53a5d493ce7315c239e (patch)
treeb9c4d08a90b4eb15bb3f97263eda66c31ebb93f1 /net/dctc/files/patch-src::main.c
parentUpgrade achievo to 0.8.1 (php4 is now default) (diff)
o Update to 0.83.2
o Fix long standing issue with upload feature: client would freeze in semwait state. It was a pthread vs semaphore issue and a database lookup issue. Check PR for complete report o All patches are related to upload feature fix PR: 41323
Notes
Notes: svn path=/head/; revision=63983
Diffstat (limited to 'net/dctc/files/patch-src::main.c')
-rw-r--r--net/dctc/files/patch-src::main.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/dctc/files/patch-src::main.c b/net/dctc/files/patch-src::main.c
new file mode 100644
index 000000000000..f3dbf9fc0e51
--- /dev/null
+++ b/net/dctc/files/patch-src::main.c
@@ -0,0 +1,23 @@
+--- src/main.c.orig Sun Aug 4 10:58:23 2002
++++ src/main.c Sun Aug 4 11:00:57 2002
+@@ -34,7 +34,12 @@
+ #include <sys/param.h>
+ #include <sys/utsname.h>
+ #include <sys/un.h>
++#if !(defined(BSD) && (BSD >= 199103))
+ #include <linux/sem.h> /* for the value of SEMVMX */
++#else
++#include <sys/ipc.h>
++#include <sys/sem.h> /* for the value of SEMVMX */
++#endif
+ #include <errno.h>
+ #include <getopt.h>
+ #include <string.h>
+@@ -1253,6 +1258,7 @@
+
+ char *virtual_share_path=NULL;
+
++ hide_absolute=1;
+ disp_msg(INFO_MSG,NULL,"Direct Connect Text Client v" VERSION ,NULL);
+
+ if(argc==1)