[sword-cvs] sword/src/mgr filemgr.cpp,1.26,1.27

sword@www.crosswire.org sword@www.crosswire.org
Thu, 26 Jun 2003 22:14:54 -0700


Update of /usr/local/cvsroot/sword/src/mgr
In directory www:/tmp/cvs-serv30537

Modified Files:
	filemgr.cpp 
Log Message:
#ifdef out permissions for WIN32

Index: filemgr.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/mgr/filemgr.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** filemgr.cpp	27 Jun 2003 02:21:05 -0000	1.26
--- filemgr.cpp	27 Jun 2003 05:14:52 -0000	1.27
***************
*** 287,293 ****
  	if (strlen(buf)>0) {
  		if (access(buf, 02)) {  // not exists with write access?
! 			if ((retCode = mkdir(buf, 0755))) {
  				createParent(buf);
! 				retCode = mkdir(buf, 0755);
  			}
  		}
--- 287,301 ----
  	if (strlen(buf)>0) {
  		if (access(buf, 02)) {  // not exists with write access?
! 			if ((retCode = mkdir(buf
!                                         #ifndef WIN32
!                                         , 0755
!                                         #endif
!                                         ))) {
  				createParent(buf);
! 				retCode = mkdir(buf
!                                         #ifndef WIN32
!                                         , 0755
!                                         #endif
!                                         );
  			}
  		}