From 94ded9f641da4788b1187638536b252a03cee63e Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 15 Feb 2002 13:23:39 +0000
Subject: [PATCH] Baja FGET_TIME function works again (using new filetime
 function). FSET_TIME still not implemented in v3.

---
 src/sbbs3/execmisc.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/sbbs3/execmisc.cpp b/src/sbbs3/execmisc.cpp
index 5c0ed01be2..420ce8afec 100644
--- a/src/sbbs3/execmisc.cpp
+++ b/src/sbbs3/execmisc.cpp
@@ -1186,11 +1186,8 @@ int sbbs_t::exec_misc(csi_t* csi, char *path)
 					csi->ip+=4;
 					lp2=getintvar(csi,*(long *)csi->ip);
 					csi->ip+=4;
-	#if 0 /* ftime */
-					if(lp1 && *lp1 && lp2) {
-						getftime(fileno((FILE *)*lp1),&ft);
-						*lp2=ftimetounix(ft); }
-	#endif
+					if(lp1 && *lp1 && lp2) 
+						*lp2=filetime(fileno((FILE *)*lp1));
 					return(0);
 				case FIO_SET_TIME:
 					lp1=getintvar(csi,*(long *)csi->ip);
-- 
GitLab