Skip to content
Tcl Source Code Artifact [c147db5742]
Login

Artifact [c147db5742]

Artifact c147db5742c61f1c70ba800e9ddb6472156dfebc:

Ticket change [c147db5742] - Ticket [971976ffffffffff|971976ffff] <i>Inconsistent naming in [file exists]</i> status still Open with 4 other changes by dkf on 2004-07-08 16:10:54.
D 2004-07-08T16:10:54
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nThis\sis\s*different*\sfrom\sthe\sunderlying\sAPI\son\sUnix\swhere\nfoo/\sdoes\snot\sexist\sunless\sfoo\sis\sa\sdirectory\sor\sa\ssymlink\nto\sa\sdirectory.\n\nFWIW,\shere's\sthe\sC\sprogram\s(I'm\snot\susing\sTcl\sto\stest\sthis\nbecause\sI\sdo\snot\strust\sTcl's\sbehaviour\shere\sentirely\sat\sthe\nmoment)\sI\sused\sto\stest\sthis:\n\s\s#include\s<unistd.h>\n\s\s#include\s<stdio.h>\n\s\sint\smain(int\sargc,\schar\s**argv)\s{\n\s\s\s\s\s\sif\s(access(argv[1],\sF_OK)\s==\s0)\s{\n\s\s\s\s\s\s\s\s\s\sprintf("%s\sexists\\n",\sargv[1]);\n\s\s\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\s\s\sfprintf(stderr,\s"%s\s",\sargv[1]);\n\s\s\s\s\s\s\s\s\s\sperror("non-existant");\n\s\s\s\s\s\s}\n\s\s}\n\n
J login dkf
J mimetype text/plain
J username dkf
K 971976ffffffffffffffffffffffffffffffffff
U dkf
Z 0ccd7670ee2fb884f733b685aea4ab10