Differences From Artifact [0303e9ba6f]:
- File src/file.c — part of check-in [25950f8b67] at 2014-01-09 11:57:44 on branch trunk — Change C++ comments to C commenting style (user: jan.nijtmans size: 31261) [more...]
To Artifact [70ed1e6279]:
- File src/file.c — part of check-in [c779b68904] at 2014-04-09 21:55:14 on branch branch-1.28 — Cherry-pick [c5b86115de]: Update version of OpenSSL that is referred to in the makefiles. Cherry-pick [565ba734d2]: Fix "fossil extras" when a "extra" entry matches partly with current directory name (reported by j. van den hoff). (user: jan.nijtmans size: 31345) [more...]
| ︙ | ︙ | |||
912 913 914 915 916 917 918 919 920 921 922 923 924 925 |
}else{
blob_set(pOut, "..");
for(j=i+1; zPwd[j]; j++){
if( zPwd[j]=='/' ){
blob_append(pOut, "/..", 3);
}
}
}
if( slash && i>0 && zPath[strlen(zPath)-1]=='/'){
blob_append(pOut, "/", 1);
}
blob_reset(&tmp);
return;
}
| > > | 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 |
}else{
blob_set(pOut, "..");
for(j=i+1; zPwd[j]; j++){
if( zPwd[j]=='/' ){
blob_append(pOut, "/..", 3);
}
}
while( i>0 && (zPwd[i]!='/')) --i;
blob_append(pOut, zPath+i, j-i);
}
if( slash && i>0 && zPath[strlen(zPath)-1]=='/'){
blob_append(pOut, "/", 1);
}
blob_reset(&tmp);
return;
}
|
| ︙ | ︙ |