[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / builtin

Diff for /OpenXM_contrib2/asir2000/builtin/file.c between version 1.11 and 1.12

version 1.11, 2000/12/05 01:24:50 version 1.12, 2000/12/06 00:54:09
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/builtin/file.c,v 1.10 2000/11/13 01:48:12 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/file.c,v 1.11 2000/12/05 01:24:50 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 409  int len;
Line 409  int len;
         HKEY    hOpenKey;          HKEY    hOpenKey;
         DWORD   Type;          DWORD   Type;
         char    *slash;          char    *slash;
   
         if ( rootdir.body ) {          if ( rootdir.body ) {
                 strcpy(name,rootdir.body);                  strcpy(name,rootdir.body);
                   return;
           }
   
           if ( access("UseCurrentDir",0) >= 0 ) {
                   GetCurrentDirectory(BUFSIZ,name);
                   slash = strrchr(name,'\\');
                   if ( slash )
                           *slash = 0;
                 return;                  return;
         }          }
         name[0] = 0;          name[0] = 0;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>