Fossil

Check-in [5bf2ede6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:_WIN32 also disables write directory check for _fossil user db(like _MINGW32_)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS
Files: files | file ages | folders
SHA1:5bf2ede641b53df254b44d16ae63370ceb9f8339
User & Date: wolfgang 2010-09-12 14:17:03
Context
2010-09-12
15:29
added end p elements if switching to lists,.. check-in: 3bca3928 user: wolfgang tags: wolfgangFormat2CSS
14:17
_WIN32 also disables write directory check for _fossil user db(like _MINGW32_) check-in: 5bf2ede6 user: wolfgang tags: wolfgangFormat2CSS
12:49
corrected some & chars in hyperlinks and added missing quotes in attribute values check-in: 214d2faf user: wolfgang tags: wolfgangFormat2CSS
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.c.

663
664
665
666
667
668
669

670
671
672

673
674
675
676
677
678
679
                 "please set the HOME environment variable");
  }
#endif
  if( file_isdir(zHome)!=1 ){
    fossil_fatal("invalid home directory: %s", zHome);
  }
#ifndef __MINGW32__

  if( access(zHome, W_OK) ){
    fossil_fatal("home directory %s must be writeable", zHome);
  }

#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);







>



>







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);