summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-05-11 00:53:51 (GMT)
committerhobbs <hobbs>2005-05-11 00:53:51 (GMT)
commit8bf46ba0a03990bad5d4491ab94fd3eaba6c43a6 (patch)
treeb653a8c123a01b2e4100272decc92b72a6f3f059
parent46cebd1d1935554f6878e109235fae5ba1dbacf5 (diff)
downloadtcl-8bf46ba0a03990bad5d4491ab94fd3eaba6c43a6.zip
tcl-8bf46ba0a03990bad5d4491ab94fd3eaba6c43a6.tar.gz
tcl-8bf46ba0a03990bad5d4491ab94fd3eaba6c43a6.tar.bz2
* unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictly
compliant compilers that don't like trailing ,s.
-rw-r--r--ChangeLog3
-rw-r--r--unix/tclUnixFCmd.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 743a58d..2b1e6bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2005-05-10 Jeff Hobbs <jeffh@ActiveState.com>
+ * unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictly
+ compliant compilers that don't like trailing ,s.
+
* tests/string.test: string-10.[21-30]
* generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to
prevent possible UMR in unichar cmp function for string map.
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index e9efbfd..cc910d1 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.42 2005/05/10 18:35:27 kennykb Exp $
+ * RCS: @(#) $Id: tclUnixFCmd.c,v 1.43 2005/05/11 00:53:51 hobbs Exp $
*
* Portions of this code were derived from NetBSD source code which has
* the following copyright notice:
@@ -135,6 +135,7 @@ enum {
MACOSX_HIDDEN_ATTRIBUTE,
MACOSX_RSRCLENGTH_ATTRIBUTE,
#endif
+ UNIX_INVALID_ATTRIBUTE /* lint - last enum value needs no trailing , */
};
CONST char *tclpFileAttrStrings[] = {