diff options
author | nijtmans <nijtmans@noemail.net> | 2009-12-16 23:25:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-12-16 23:25:59 (GMT) |
commit | d4f67705e8218b7f9565547bd896608a914eec9b (patch) | |
tree | b7038bbc46d46d90860a433594776df4f31d744e /unix/tclUnixFile.c | |
parent | ba58094401075a77c8f6cf6fb0c55471eea6b8c2 (diff) | |
download | tcl-d4f67705e8218b7f9565547bd896608a914eec9b.zip tcl-d4f67705e8218b7f9565547bd896608a914eec9b.tar.gz tcl-d4f67705e8218b7f9565547bd896608a914eec9b.tar.bz2 |
Fix gcc warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
CONSTify functions TclpGetUserHome and
TclSetPreInitScript (TIP #27)
FossilOrigin-Name: e52afe7fa4a7ade909410cfb737f1f7bbe6c201a
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 |