diff options
author | suresh <suresh> | 1998-05-20 17:37:39 (GMT) |
---|---|---|
committer | suresh <suresh> | 1998-05-20 17:37:39 (GMT) |
commit | f609c8885e77ea02ebc1d97268ff7448de25a7f1 (patch) | |
tree | 65ae2c1b5b62f5d82b5c84062cb8482a7bba0295 /unix/tclUnixFCmd.c | |
parent | ee2ba26d61aed4aed9408688d438b1f3d565de55 (diff) | |
download | tcl-f609c8885e77ea02ebc1d97268ff7448de25a7f1.zip tcl-f609c8885e77ea02ebc1d97268ff7448de25a7f1.tar.gz tcl-f609c8885e77ea02ebc1d97268ff7448de25a7f1.tar.bz2 |
Changed call ref's of 'stat(...)' to 'TclStat(...)'.
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); |