From fa93ceab8152b5382d328d2c5e6347e53b291cd0 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Fri, 5 Mar 2010 07:51:36 +0100
Subject: [PATCH] exit: Obsolete module, use stdlib instead.

---
 ChangeLog                     | 8 ++++++++
 NEWS                          | 3 +++
 doc/posix-functions/exit.texi | 2 +-
 modules/exit                  | 9 +++++++--
 4 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 12dc75cb92..6a5c340a24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-05  Simon Josefsson  <simon@josefsson.org>
+
+	* modules/exit (License): Relax license to LGPLv2+.
+	(Status): Mark as obsolete.
+	* NEWS: Mention deprecated 'exit' module.
+	* doc/posix-functions/exit.texi: Recommend 'stdlib' module instead
+	of now obsolete 'exit'.
+
 2010-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	fts-lgpl: remove unused module
diff --git a/NEWS b/NEWS
index 72b2b58e85..ad639dd8f4 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2010-03-05  exit            This module is deprecated, use 'stdlib' directly
+                            instead.  It will be removed 2011-01-01.
+
 2009-12-13  sublist         The module does not define functions any more that
                             call xalloc_die() in out-of-memory situations. Use
                             module 'xsublist' and include file "gl_xsublist.h"
diff --git a/doc/posix-functions/exit.texi b/doc/posix-functions/exit.texi
index 74d13aefcd..e196e2a0d0 100644
--- a/doc/posix-functions/exit.texi
+++ b/doc/posix-functions/exit.texi
@@ -4,7 +4,7 @@
 
 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/exit.html}
 
-Gnulib module: exit
+Gnulib module: stdlib
 
 Portability problems fixed by Gnulib:
 @itemize
diff --git a/modules/exit b/modules/exit
index 4de69b752d..18899f28c3 100644
--- a/modules/exit
+++ b/modules/exit
@@ -1,6 +1,12 @@
 Description:
 exit() function: program termination.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. It will be removed on 2011-01-01.  Use 'stdlib'.
+
 Files:
 
 Depends-on:
@@ -14,8 +20,7 @@ Include:
 <stdlib.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible
-
-- 
2.39.5