head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2002.12.17.19.14.59; author wiz; state dead; branches; next 1.3; 1.3 date 2002.11.03.21.32.26; author wiz; state Exp; branches; next 1.2; 1.2 date 2002.10.03.11.48.43; author wiz; state Exp; branches; next 1.1; 1.1 date 2002.09.11.20.47.14; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.09.11.20.47.14; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Included in 0.66. @ text @$NetBSD: patch-ag,v 1.3 2002/11/03 21:32:26 wiz Exp $ --- src/main.c.orig Fri Oct 11 17:45:44 2002 +++ src/main.c @@@@ -372,6 +372,23 @@@@ main (int argc, char *argv[]) dctc_dir=g_string_new(NULL); g_string_sprintf(dctc_dir,"%s/running",dctc_main_dir->str); + if(access(dctc_dir->str,R_OK|W_OK|X_OK)) + { + if(errno==ENOENT) + { + if(mkdir(dctc_dir->str,0777)) + { + perror("mkdir"); + fprintf(stderr,"Unable to create %s, abort.\n",dctc_dir->str); + exit(1); + } + } + else + { + fprintf(stderr,"You have no access rights on %s, abort.\n",dctc_dir->str); + exit(1); + } + } dctc_active_client_file=g_string_new(NULL); g_string_sprintf(dctc_active_client_file,"%s/gstatus",dctc_main_dir->str); @ 1.3 log @Update to 0.63. Changes: - Dutch translation of the GUI updated by Myckel Habets. - Download date of share list added to cached share list. - Cached share lists can now be sorted by size and by date. - Add capability to generate automatically autoscan pattern for selected GDL. - fix compilation problem with Berkeley DB 4 (open function has a different prototype). - French translation of the GUI updated by Nicolas Le Gaillart. - GDL renaming part now works properly. - GDL end program support added. - fix the missing translation files problem in the RPM file. - find result list modified. The local filename column is gone and is replaced by a column with the connection speed of the user having the file. Currently, only speed of users on the same hub is displayed. - user list partially rewritten and is now displayed faster when reconnecting to a client. - button added to close all private chats in one click. - dc_gui does not hang anymore when it retrieves the hublist. The "connect" label will blink when the hublist is received. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Remove another unneeded hunk. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1.1.1 2002/09/11 20:47:14 wiz Exp $ d3 1 a3 1 --- src/main.c.orig Fri Aug 23 18:41:11 2002 d5 1 a5 1 @@@@ -329,6 +329,23 @@@@ main (int argc, char *argv[]) @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ a4 9 @@@@ -8,7 +8,7 @@@@ #endif #include -#include +#include #include #include #include @ 1.1.1.1 log @Initial import of dctc (Direct Connect Text Client) and its GUI, dc_gui (Direct Connect GUI). Requested by reed some months ago ;) DC is another file sharing protocol. @ text @@