Fossil

Diff
Login

Differences From Artifact [c22f5282ae]:

To Artifact [0dc92cea84]:


663
664
665
666
667
668
669

670
671
672

673
674
675
676
677
678
679
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681







+



+







                 "please set the HOME environment variable");
  }
#endif
  if( file_isdir(zHome)!=1 ){
    fossil_fatal("invalid home directory: %s", zHome);
  }
#ifndef __MINGW32__
#ifndef _WIN32
  if( access(zHome, W_OK) ){
    fossil_fatal("home directory %s must be writeable", zHome);
  }
#endif
#endif
  g.zHome = mprintf("%/", zHome);
#if defined(_WIN32)
  /* . filenames give some window systems problems and many apps problems */
  zDbName = mprintf("%//_fossil", zHome);
#else
  zDbName = mprintf("%s/.fossil", zHome);