From 93da7fdf7a3c847abbccedab8128dbb5fe4de0cd Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 12 Apr 2002 09:43:50 +0000
Subject: [PATCH] Uses new FULLPATH macro (instead of _fullpath).

---
 src/sbbs3/ftpsrvr.c  | 2 +-
 src/sbbs3/qwknodes.c | 4 ++--
 src/sbbs3/sbbsecho.c | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/sbbs3/ftpsrvr.c b/src/sbbs3/ftpsrvr.c
index 6910ba71b8..16923ad59d 100644
--- a/src/sbbs3/ftpsrvr.c
+++ b/src/sbbs3/ftpsrvr.c
@@ -2956,7 +2956,7 @@ static void ctrl_thread(void* arg)
 
 			if(!stricmp(cmd,"CDUP") || !stricmp(cmd,"XCUP")) {
 				sprintf(path,"%s..",local_dir);
-				if(_fullpath(local_dir,path,sizeof(local_dir))==NULL)
+				if(FULLPATH(local_dir,path,sizeof(local_dir))==NULL)
 					sockprintf(sock,"550 Directory does not exist.");
 				else
 					sockprintf(sock,"200 CDUP command successful.");
diff --git a/src/sbbs3/qwknodes.c b/src/sbbs3/qwknodes.c
index 146bd31c52..5e7c0784ae 100644
--- a/src/sbbs3/qwknodes.c
+++ b/src/sbbs3/qwknodes.c
@@ -407,7 +407,7 @@ read_node_cfg(&cfg,txt);
 if(ctrl_dir[0]=='.') {   /* Relative path */
 	strcpy(str,ctrl_dir);
 	sprintf(ctrl_dir,"%s%s",node_dir,str);
-	if(_fullpath(str,ctrl_dir,40))
+	if(FULLPATH(str,ctrl_dir,40))
 		strcpy(ctrl_dir,str); }
 backslash(ctrl_dir);
 
@@ -415,7 +415,7 @@ read_main_cfg(&cfg,txt);
 if(data_dir[0]=='.') {   /* Relative path */
 	strcpy(str,data_dir);
 	sprintf(data_dir,"%s%s",node_dir,str);
-	if(_fullpath(str,data_dir,40))
+	if(FULLPATH(str,data_dir,40))
 		strcpy(data_dir,str); }
 backslash(data_dir);
 read_msgs_cfg(txt);
diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c
index 4597c2bd5b..0a9edb1a9b 100644
--- a/src/sbbs3/sbbsecho.c
+++ b/src/sbbs3/sbbsecho.c
@@ -272,7 +272,7 @@ for(i=j=0;i<len && j<128;i++) {
                 if(cfg->temp_dir[0]!='\\' && cfg->temp_dir[1]!=':') {
                     strcpy(str,cfg->node_dir);
                     strcat(str,cfg->temp_dir);
-                    if(_fullpath(str2,str,40))
+                    if(FULLPATH(str2,str,40))
                         strcpy(str,str2);
                     backslash(str);
                     strcat(cmd,str);}
@@ -283,7 +283,7 @@ for(i=j=0;i<len && j<128;i++) {
                 if(cfg->data_dir[0]!='\\' && cfg->data_dir[1]!=':') {
                     strcpy(str,cfg->node_dir);
                     strcat(str,cfg->data_dir);
-                    if(_fullpath(str2,str,40))
+                    if(FULLPATH(str2,str,40))
                         strcpy(str,str2);
                     backslash(str);
                     strcat(cmd,str); }
@@ -294,7 +294,7 @@ for(i=j=0;i<len && j<128;i++) {
                 if(cfg->ctrl_dir[0]!='\\' && cfg->ctrl_dir[1]!=':') {
                     strcpy(str,cfg->node_dir);
                     strcat(str,cfg->ctrl_dir);
-                    if(_fullpath(str2,str,40))
+                    if(FULLPATH(str2,str,40))
                         strcpy(str,str2);
                     backslash(str);
                     strcat(cmd,str); }
@@ -317,7 +317,7 @@ for(i=j=0;i<len && j<128;i++) {
                 if(cfg->exec_dir[0]!='\\' && cfg->exec_dir[1]!=':') {
                     strcpy(str,cfg->node_dir);
                     strcat(str,cfg->exec_dir);
-                    if(_fullpath(str2,str,40))
+                    if(FULLPATH(str2,str,40))
                         strcpy(str,str2);
                     backslash(str);
                     strcat(cmd,str); }
-- 
GitLab