summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2011-05-10 16:05:48 (GMT)
committerdgp@users.sourceforge.net <dgp>2011-05-10 16:05:48 (GMT)
commit218ceaadd5f73fb8cda18ef6658390dba3540dc9 (patch)
tree1ca2feda250662282a8e77080fef123d9256b839 /macosx
parent955b5f01d8001935ee2215cce6575d27d184dc14 (diff)
downloadtcl-218ceaadd5f73fb8cda18ef6658390dba3540dc9.zip
tcl-218ceaadd5f73fb8cda18ef6658390dba3540dc9.tar.gz
tcl-218ceaadd5f73fb8cda18ef6658390dba3540dc9.tar.bz2
Completed patch with mucho comments. Merge 8.5.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/README11
-rw-r--r--macosx/tclMacOSXFCmd.c6
2 files changed, 7 insertions, 10 deletions
diff --git a/macosx/README b/macosx/README
index 3496969..80bed14 100644
--- a/macosx/README
+++ b/macosx/README
@@ -17,16 +17,11 @@ before asking on the list, many questions have already been answered).
http://groups.google.com/group/comp.lang.tcl/
- The Tcl'ers Wiki also has many pages dealing with Tcl & Tk on Mac OS X, see
- http://wiki.tcl.tk/references/3753!
- http://wiki.tcl.tk/references/8361!
+ http://wiki.tcl.tk/_/ref?N=3753
+ http://wiki.tcl.tk/_/ref?N=8361
- Please report bugs with Tcl or Tk on Mac OS X to the sourceforge bug trackers:
- Tcl: http://sf.net/tracker/?func=add&group_id=10894&atid=110894
- Tk: http://sf.net/tracker/?func=add&group_id=12997&atid=112997
-please make sure that your report Tk specific bugs to the tktoolkit project bug
-tracker rather than the tcl project bug tracker.
-Mac OS X specific bugs should usually be assigned to 'das' or 'wolfsuit'.
-
+ http://tcl.sourceforge.net/
2. Using Tcl on Mac OS X
------------------------
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 8eb3e57..09ee96d 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -623,8 +623,10 @@ SetOSTypeFromAny(
Tcl_UtfToExternalDString(encoding, string, length, &ds);
if (Tcl_DStringLength(&ds) > 4) {
- Tcl_AppendResult(interp, "expected Macintosh OS type but got \"",
- string, "\": ", NULL);
+ if (interp) {
+ Tcl_AppendResult(interp, "expected Macintosh OS type but got \"",
+ string, "\": ", NULL);
+ }
result = TCL_ERROR;
} else {
OSType osType;