diff options
author | jingham <jingham> | 1998-11-10 06:49:19 (GMT) |
---|---|---|
committer | jingham <jingham> | 1998-11-10 06:49:19 (GMT) |
commit | 0b7d54658da48c639f446247709d0f7677c52ba2 (patch) | |
tree | 426ae9ad4e25e36702e7b3c1ea424748f2fde331 /mac/tclMac.h | |
parent | 1507799b72b322cf875f0e6a287dfe69bf420a8a (diff) | |
download | tcl-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/tclMac.h')
-rw-r--r-- | mac/tclMac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tclMac.h b/mac/tclMac.h index c25a8ed..593232b 100644 --- a/mac/tclMac.h +++ b/mac/tclMac.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMac.h,v 1.2 1998/09/14 18:40:04 stanton Exp $ + * RCS: @(#) $Id: tclMac.h,v 1.3 1998/11/10 06:49:22 jingham Exp $ */ #ifndef _TCLMAC @@ -79,7 +79,7 @@ EXTERN pascal void FSpCreateResFileCompat(const FSSpec *spec, * Mac calls. These routines is from tclMacUtils.h. */ -EXTERN int FSpLocationFromPath _ANSI_ARGS_((int length, char *path, +EXTERN int FSpLocationFromPath _ANSI_ARGS_((int length, CONST char *path, FSSpecPtr theSpec)); EXTERN OSErr FSpPathFromLocation _ANSI_ARGS_((FSSpecPtr theSpec, int *length, Handle *fullPath)); |