diff options
author | suresh <suresh@noemail.net> | 1998-05-20 17:37:38 (GMT) |
---|---|---|
committer | suresh <suresh@noemail.net> | 1998-05-20 17:37:38 (GMT) |
commit | b77e0aa12c5ca94b1fb3211006b3addcf3f5dcb4 (patch) | |
tree | 65ae2c1b5b62f5d82b5c84062cb8482a7bba0295 /unix/tclUnixFCmd.c | |
parent | 7391f78ed39f96795d6da6c404493084561697e5 (diff) | |
download | tcl-b77e0aa12c5ca94b1fb3211006b3addcf3f5dcb4.zip tcl-b77e0aa12c5ca94b1fb3211006b3addcf3f5dcb4.tar.gz tcl-b77e0aa12c5ca94b1fb3211006b3addcf3f5dcb4.tar.bz2 |
Changed call ref's of 'stat(...)' to 'TclStat(...)'.
FossilOrigin-Name: 9033acfa23418ebc6d35da7e2de90aee1168cfc2
Diffstat (limited to 'unix/tclUnixFCmd.c')
-rw-r--r-- | unix/tclUnixFCmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 3ec1a69..38cd958 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -933,7 +933,7 @@ GetGroupAttribute(interp, objIndex, fileName, attributePtrPtr) struct stat statBuf; struct group *groupPtr; - if (stat(fileName, &statBuf) != 0) { + if (TclStat(fileName, &statBuf) != 0) { Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "could not stat file \"", fileName, "\": ", Tcl_PosixError(interp), (char *) NULL); @@ -977,7 +977,7 @@ GetOwnerAttribute(interp, objIndex, fileName, attributePtrPtr) struct stat statBuf; struct passwd *pwPtr; - if (stat(fileName, &statBuf) != 0) { + if (TclStat(fileName, &statBuf) != 0) { Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "could not stat file \"", fileName, "\": ", Tcl_PosixError(interp), (char *) NULL); @@ -1021,7 +1021,7 @@ GetPermissionsAttribute(interp, objIndex, fileName, attributePtrPtr) struct stat statBuf; char returnString[6]; - if (stat(fileName, &statBuf) != 0) { + if (TclStat(fileName, &statBuf) != 0) { Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "could not stat file \"", fileName, "\": ", Tcl_PosixError(interp), (char *) NULL); |