Not logged in
Changes On Branch pending-review

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

Changes In Branch pending-review Excluding Merge-Ins

This is equivalent to a diff from d00f2cfa80 to 644e78cc89

2014-04-30
16:35
Merged in fix from Andy B. which resolves mis-resolution of db file name when fossil is run as root (chroot-related). Haiku OS runs everything as root. check-in: 5e47d555e4 user: stephan tags: trunk
07:54
On second thought, make this also work for fossil server as well which has the same problem. Closed-Leaf check-in: 644e78cc89 user: andybradford tags: pending-review
07:43
If Openssl is available, use its sha1 implementation. Suggested by Baruch Burstein. check-in: 379309b6da user: jan.nijtmans tags: trunk
07:11
Minor cleanup (no change in functionality). check-in: b5e0937518 user: andybradford tags: pending-review
07:07
Potential fix to allow fossil ui to be run as root---reopen the database after dropping privileges. check-in: d5432cf6c3 user: andybradford tags: pending-review
2014-04-29
21:29
Make MinGW(-w64) compile work with USE_SYSTEM_SQLITE = 1. Only works if you have a static libsqlite3.a in your compiler environment. check-in: d00f2cfa80 user: jan.nijtmans tags: trunk
18:02
Rebuild now sets user.mtime if it is NULL, per ML thread. check-in: 6fdf91d793 user: stephan tags: trunk

Changes to src/main.c.
1264
1265
1266
1267
1268
1269
1270



1271
1272
1273
1274
1275
1276
1277
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280







+
+
+







    if( stat(zRepo, &sStat)!=0 ){
      fossil_fatal("cannot stat() repository: %s", zRepo);
    }
    i = setgid(sStat.st_gid);
    i = i || setuid(sStat.st_uid);
    if(i){
      fossil_fatal("setgid/uid() failed with errno %d", errno);
    }
    if( g.db==0 && file_isfile(zRepo) ){
      db_open_repository(zRepo);
    }
  }
#endif
  return zRepo;
}

/*