From 2a6e35db31406c1231e45e39c603455b55d2e0c9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 15 Oct 2006 15:49:31 +0000 Subject: [PATCH] Improved a couple existing items. --- NEWS | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 41ab6c0a..98c48c06 100644 --- a/NEWS +++ b/NEWS @@ -103,20 +103,22 @@ Changes since 2.6.8: INTERNAL: - - Did a code audit using IBM's code checker program and made several + - Did a code audit using IBM's code-checker program and made several changes, including: replacing most of the strcpy() and sprintf() - calls with strlcpy(), snprintf(), and memcpy(), and adding a 0-value - to an enum that had been intermingling a literal 0 with the defined - enum values. + calls with strlcpy(), snprintf(), and memcpy(), adding a 0-value to + an enum that had been intermingling a literal 0 with the defined enum + values, silencing some uninitialized memory checks, marking some + functions with a "noreturn" attribute, and changing an "if" that + could never succeed on some platforms into a pre-processor directive + that conditionally compiles the code. - Fixed a potential bug in f_name_cmp() when both the args are a top-level "." dir (which doesn't happen in normal operations). - Changed exit_cleanup() so that it can never return instead of exit. The old code might return if it found the exit_cleanup() function - was being called recursively. The new code segments the exit code - so that any recursive calls move on to the next step of the exit - processing. + was being called recursively. The new code is segmented so that + any recursive calls move on to the next step of the exit-processing. DEVELOPER RELATED: -- 2.34.1