diff options
author | nijtmans <nijtmans> | 2009-12-16 23:25:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-12-16 23:25:59 (GMT) |
commit | c09d5284e91311929d7e92c73492076e8a05cd36 (patch) | |
tree | b7038bbc46d46d90860a433594776df4f31d744e /unix/tclUnixFile.c | |
parent | cf4896697457a54ad804eebeb31b63e27e41cb6c (diff) | |
download | tcl-c09d5284e91311929d7e92c73492076e8a05cd36.zip tcl-c09d5284e91311929d7e92c73492076e8a05cd36.tar.gz tcl-c09d5284e91311929d7e92c73492076e8a05cd36.tar.bz2 |
Fix gcc warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
CONSTify functions TclpGetUserHome and
TclSetPreInitScript (TIP #27)
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index c8ac03a..a656f4c 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixFile.c,v 1.55 2009/08/02 12:08:17 dkf Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.56 2009/12/16 23:26:00 nijtmans Exp $ */ #include "tclInt.h" @@ -568,7 +568,7 @@ NativeMatchType( *---------------------------------------------------------------------- */ -char * +const char * TclpGetUserHome( const char *name, /* User name for desired home directory. */ Tcl_DString *bufferPtr) /* Uninitialized or free DString filled with |