diff options
author | nijtmans <nijtmans> | 2010-08-14 17:13:02 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-14 17:13:02 (GMT) |
commit | bcc427ce10a994d6f852f8a4a3a47bd706317581 (patch) | |
tree | 4f5a2412e887b345c272cf9e43755763e7a3922f /unix | |
parent | d2976f0d8219a1841117e8e004c5bbe21c812961 (diff) | |
download | tcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.zip tcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.tar.gz tcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.tar.bz2 |
[Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFile
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixFCmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 038354f..3c9b78a 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.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: tclUnixFCmd.c,v 1.77 2010/08/04 19:44:48 hobbs Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.78 2010/08/14 17:13:02 nijtmans Exp $ * * Portions of this code were derived from NetBSD source code which has the * following copyright notice: @@ -632,9 +632,9 @@ TclpObjDeleteFile( int TclpDeleteFile( - const char *path) /* Pathname of file to be removed (native). */ + const void *path) /* Pathname of file to be removed (native). */ { - if (unlink(path) != 0) { /* INTL: Native. */ + if (unlink((const char *)path) != 0) { return TCL_ERROR; } return TCL_OK; |