diff options
| author | nijtmans <nijtmans> | 2009-12-16 23:25:59 (GMT) | 
|---|---|---|
| committer | nijtmans <nijtmans> | 2009-12-16 23:25:59 (GMT) | 
| commit | 0a7a7b7f2120f6e9c70dcbfaf069ca4588c39414 (patch) | |
| tree | b7038bbc46d46d90860a433594776df4f31d744e /unix/tclUnixFile.c | |
| parent | bb787d977c179c17ad2fd300e532bb84f2771864 (diff) | |
| download | tcl-0a7a7b7f2120f6e9c70dcbfaf069ca4588c39414.zip tcl-0a7a7b7f2120f6e9c70dcbfaf069ca4588c39414.tar.gz tcl-0a7a7b7f2120f6e9c70dcbfaf069ca4588c39414.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  | 
