changeset 30150:47246e183ab0

Clarify which modules are only for obsolete systems.
author Bruno Haible <bruno@clisp.org>
date Sun, 21 Sep 2008 18:10:21 +0200
parents 0cf6e1d053fa
children c1373420b571
files ChangeLog MODULES.html.sh
diffstat 2 files changed, 38 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 21 17:17:43 2008 +0200
+++ b/ChangeLog	Sun Sep 21 18:10:21 2008 +0200
@@ -1,3 +1,14 @@
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+	* MODULES.html.sh (Support for obsolete systems lacking ANSI C 89): New
+	section.
+	(Support for systems lacking ANSI C 89): Move stdlib, exit, strtol,
+	strtoul, memchr, memcmp, memcpy, memmove, memset, strcspn, strpbrk to
+	the new section.
+	(Support for obsolete systems lacking POSIX:2001): New section.
+	(String handling <string.h>): Move strdup to the new section.
+	Suggested by Simon Josefsson and Paolo Bonzini.
+
 2008-09-21  Bruno Haible  <bruno@clisp.org>
 
 	* tests/test-vasnprintf-posix.c (test_function): Allow 3-digit
--- a/MODULES.html.sh	Sun Sep 21 17:17:43 2008 +0200
+++ b/MODULES.html.sh	Sun Sep 21 18:10:21 2008 +0200
@@ -1486,16 +1486,14 @@
 # func_all_modules
 func_all_modules ()
 {
-  element="Support for systems lacking ANSI C 89"
-  func_section_wrap ansic_sup
+  element="Support for obsolete systems lacking ANSI C 89"
+  func_section_wrap ansic_sup_obsolete
   func_wrap H2
   func_echo "$element"
 
   func_begin_table
   func_module stdlib
   func_module exit
-  func_module atexit
-  func_module strtod
   func_module strtol
   func_module strtoul
   func_module memchr
@@ -1505,12 +1503,23 @@
   func_module memset
   func_module strcspn
   func_module strpbrk
+  func_end_table
+
+  func_echo 'These modules are not listed among dependencies below, for simplicity.'
+  func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.'
+
+  element="Support for systems lacking ANSI C 89"
+  func_section_wrap ansic_sup
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module atexit
+  func_module strtod
   func_module strerror
   func_module mktime
   func_end_table
 
-  func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
-
   element="Enhancements for ANSI C 89 functions"
   func_section_wrap ansic_enh
   func_wrap H2
@@ -1665,7 +1674,6 @@
   func_module strcasestr
   func_module strcasestr-simple
   func_module strchrnul
-  func_module strdup
   func_module streq
   func_module strnlen
   func_module strnlen1
@@ -2071,6 +2079,18 @@
   func_module mbfile
   func_end_table
 
+  element="Support for obsolete systems lacking POSIX:2001"
+  func_section_wrap posix_sup_obsolete
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module strdup
+  func_end_table
+
+  func_echo 'These modules are not listed among dependencies below, for simplicity.'
+  func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.'
+
   element="Support for systems lacking POSIX:2001"
   func_section_wrap posix_sup
   func_wrap H2