summaryrefslogtreecommitdiffstats
path: root/mac/tclMacUtil.c
diff options
context:
space:
mode:
authorjingham <jingham>1998-11-10 06:49:19 (GMT)
committerjingham <jingham>1998-11-10 06:49:19 (GMT)
commit0b7d54658da48c639f446247709d0f7677c52ba2 (patch)
tree426ae9ad4e25e36702e7b3c1ea424748f2fde331 /mac/tclMacUtil.c
parent1507799b72b322cf875f0e6a287dfe69bf420a8a (diff)
downloadtcl-0b7d54658da48c639f446247709d0f7677c52ba2.zip
tcl-0b7d54658da48c639f446247709d0f7677c52ba2.tar.gz
tcl-0b7d54658da48c639f446247709d0f7677c52ba2.tar.bz2
Fixed a bug in the resource command when the file was opened twice. Fixed a bug in the testWriteTextResource command - it wrote one too many bytes. Factored out the common code from the .pch files FspLocationFromPath - make path a CONST
Diffstat (limited to 'mac/tclMacUtil.c')
-rw-r--r--mac/tclMacUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tclMacUtil.c b/mac/tclMacUtil.c
index 37e1d90..fd981c9 100644
--- a/mac/tclMacUtil.c
+++ b/mac/tclMacUtil.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacUtil.c,v 1.2 1998/09/14 18:40:07 stanton Exp $
+ * RCS: @(#) $Id: tclMacUtil.c,v 1.3 1998/11/10 06:49:55 jingham Exp $
*/
#include "tcl.h"
@@ -201,7 +201,7 @@ FSpFindFolder(
int
FSpLocationFromPath(
int length, /* Length of path. */
- char *path, /* The path to convert. */
+ CONST char *path, /* The path to convert. */
FSSpecPtr fileSpecPtr) /* On return the spec for the path. */
{
Str255 fileName;