Check-in [4b2e0bf187]
Overview
Comment:Updated to include entire error stack on error for --tcl mode in AppFSd
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4b2e0bf187e8c476813c8134ed58f4a68bfec0c7
User & Date: rkeene on 2014-11-17 20:37:13
Other Links: manifest | tags
Context
2014-11-17
20:37
Added working certificate support check-in: 3244026fd6 user: rkeene tags: trunk
20:37
Updated to include entire error stack on error for --tcl mode in AppFSd check-in: 4b2e0bf187 user: rkeene tags: trunk
16:51
Added start of signature verification check-in: 6f88d82476 user: rkeene tags: trunk
Changes

Modified appfsd.c from [cbe8db4a9d] to [276d2f6247].

  1717   1717   		return(1);
  1718   1718   	}
  1719   1719   
  1720   1720   	tcl_ret = Tcl_Eval(interp, tcl);
  1721   1721   	tcl_result = Tcl_GetStringResult(interp);
  1722   1722   
  1723   1723   	if (tcl_ret != TCL_OK) {
  1724         -		fprintf(stderr, "[error] %s\n", tcl_result);
         1724  +		fprintf(stderr, "[error] %s\n", Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY));
  1725   1725   
  1726   1726   		return(1);
  1727   1727   	}
  1728   1728   
  1729   1729   	if (tcl_result && tcl_result[0] != '\0') {
  1730   1730   		printf("%s\n", tcl_result);
  1731   1731   	}