[63718] trunk/base/src/pextlib1.0/fs-traverse.c
raimue at macports.org
raimue at macports.org
Sat Feb 13 07:17:40 PST 2010
Revision: 63718
http://trac.macports.org/changeset/63718
Author: raimue at macports.org
Date: 2010-02-13 07:17:37 -0800 (Sat, 13 Feb 2010)
Log Message:
-----------
pextlib1.0/fs-traverse.c:
Include file name in error message to allow better debugging of Portfiles.
Modified Paths:
--------------
trunk/base/src/pextlib1.0/fs-traverse.c
Modified: trunk/base/src/pextlib1.0/fs-traverse.c
===================================================================
--- trunk/base/src/pextlib1.0/fs-traverse.c 2010-02-13 14:55:00 UTC (rev 63717)
+++ trunk/base/src/pextlib1.0/fs-traverse.c 2010-02-13 15:17:37 UTC (rev 63718)
@@ -191,7 +191,8 @@
{
if (!(flags & F_IGNORE_ERRORS)) {
Tcl_SetErrno(ent->fts_errno);
- Tcl_SetResult(interp, (char *)Tcl_PosixError(interp), TCL_STATIC);
+ Tcl_ResetResult(interp);
+ Tcl_AppendResult(interp, ent->fts_path, ": ", (char *)Tcl_PosixError(interp), NULL);
fts_close(root_fts);
return TCL_ERROR;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100213/10232e72/attachment.html>
More information about the macports-changes
mailing list