From aa83ebd12d6cf6d6ead06e45ab61d46a53a15be3 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Tue, 7 Jan 2014 09:30:51 -0600 Subject: Remove leftover fixme/todo and update error callouts Remove all untagged fixme/todo comments Adde new parm to error log constructor to avoid extra code in common software error case Update error callouts Add strncpy Change-Id: I8bd8f48193a96b79db91ed35c4fd485e6da38dba RTC: 67921 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7921 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi Reviewed-by: Brian H. Horton Reviewed-by: A. Patrick Williams III --- src/include/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/string.h') diff --git a/src/include/string.h b/src/include/string.h index 8fa88044f..24ac40cc4 100755 --- a/src/include/string.h +++ b/src/include/string.h @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2013 */ +/* COPYRIGHT International Business Machines Corp. 2010,2014 */ /* */ /* p1 */ /* */ @@ -38,6 +38,7 @@ extern "C" const void *needle, size_t needlelen) __attribute__((pure)); char* strcpy(char* d, const char* s); + char* strncpy(char* d, const char* s, size_t l); int strcmp(const char* s1, const char* s2) __attribute__((pure)); size_t strlen(const char* s1) __attribute__((pure)); size_t strnlen(const char* s1, size_t n) __attribute__((pure)); -- cgit v1.2.3