Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove unused "#if 0...#endif" code from finfo.c. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
563d481e6a186df22480e703f7b90794 |
| User & Date: | drh 2017-11-30 12:57:36.068 |
Context
|
2017-11-30
| ||
| 19:42 | Fix an 'auto.def' issue that prevented using --with-tcl of a static Tcl with --static. check-in: 28fd1c1bd4 user: mistachkin tags: trunk | |
| 17:58 | Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. check-in: e7767de263 user: drh tags: symlink-refactor | |
| 12:57 | Remove unused "#if 0...#endif" code from finfo.c. check-in: 563d481e6a user: drh tags: trunk | |
| 12:55 | Add the --allow-symlinks option to the test-file-environment command. check-in: cf1960e913 user: drh tags: trunk | |
Changes
Changes to src/finfo.c.
| ︙ | ︙ | |||
311 312 313 314 315 316 317 |
GraphContext *pGraph;
int brBg = P("brbg")!=0;
int uBg = P("ubg")!=0;
int fDebug = atoi(PD("debug","0"));
int fShowId = P("showid")!=0;
Stmt qparent;
int iTableId = timeline_tableid();
| < < < < < < < | 311 312 313 314 315 316 317 318 319 320 321 322 323 324 |
GraphContext *pGraph;
int brBg = P("brbg")!=0;
int uBg = P("ubg")!=0;
int fDebug = atoi(PD("debug","0"));
int fShowId = P("showid")!=0;
Stmt qparent;
int iTableId = timeline_tableid();
int tmFlags = 0; /* Viewing mode */
const char *zStyle; /* Viewing mode name */
login_check_credentials();
if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
style_header("File History");
login_anonymous_available();
|
| ︙ | ︙ | |||
342 343 344 345 346 347 348 |
url_initialize(&url, "finfo");
if( brBg ) url_add_parameter(&url, "brbg", 0);
if( uBg ) url_add_parameter(&url, "ubg", 0);
baseCheckin = name_to_rid_www("ci");
zPrevDate[0] = 0;
zFilename = PD("name","");
cookie_render();
| < < < < < < < < < < | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 |
url_initialize(&url, "finfo");
if( brBg ) url_add_parameter(&url, "brbg", 0);
if( uBg ) url_add_parameter(&url, "ubg", 0);
baseCheckin = name_to_rid_www("ci");
zPrevDate[0] = 0;
zFilename = PD("name","");
cookie_render();
fnid = db_int(0, "SELECT fnid FROM filename WHERE name=%Q", zFilename);
if( fnid==0 ){
@ No such file: %h(zFilename)
style_footer();
return;
}
if( g.perm.Admin ){
|
| ︙ | ︙ |