[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: intprops.h as a module?
From: |
Paul Eggert |
Subject: |
Re: intprops.h as a module? |
Date: |
Sun, 26 Feb 2006 00:46:21 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> The intprops.h header file seems pretty useful by itself. Would
> it make sense to create a module that just imports that header
> file?
Yes, it make sense to me. I installed this into gnulib:
2006-02-26 Paul Eggert <address@hidden>
* modules/intprops: New file.
* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
Add intprops.
* modules/getloadavg (Files): Remove lib/intprops.h.
(Depends-on): Add intprops.
* modules/human: Likewise.
* modules/inttostr: Likewise.
* modules/openat: Likewise.
* modules/sig2str: Likewise.
* modules/userspec: Likewise.
* modules/utimecmp: Likewise.
* modules/xnanosleep: Likewise.
* modules/xstrtol: Likewise.
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/intprops 2006-02-25 23:55:57.000000000 -0800
@@ -0,0 +1,21 @@
+Description:
+Properties of integer types
+
+Files:
+lib/intprops.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+EXTRA_DIST += intprops.h
+
+Include:
+"intprops.h"
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert
Index: MODULES.html.sh
===================================================================
RCS file: /cvsroot/gnulib/gnulib/MODULES.html.sh,v
retrieving revision 1.113
diff -p -u -r1.113 MODULES.html.sh
--- MODULES.html.sh 12 Jan 2006 13:04:57 -0000 1.113
+++ MODULES.html.sh 26 Feb 2006 08:41:54 -0000
@@ -1748,6 +1748,7 @@ func_all_modules ()
func_echo "$element"
func_begin_table
+ func_module intprops
func_module inttostr
func_module xstrtoimax
func_module xstrtoumax
Index: modules/getloadavg
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/getloadavg,v
retrieving revision 1.10
diff -p -u -r1.10 getloadavg
--- modules/getloadavg 23 Sep 2005 04:15:13 -0000 1.10
+++ modules/getloadavg 26 Feb 2006 08:41:54 -0000
@@ -3,12 +3,12 @@ Return the current system load averages.
Files:
lib/getloadavg.c
-lib/intprops.h
Depends-on:
cloexec
xalloc
c-strtod
+intprops
stdbool
fcntl-safer
Index: modules/human
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/human,v
retrieving revision 1.9
diff -p -u -r1.9 human
--- modules/human 14 Oct 2005 00:59:45 -0000 1.9
+++ modules/human 26 Feb 2006 08:41:54 -0000
@@ -5,7 +5,6 @@ with K/M/G suffix.
Files:
lib/human.h
lib/human.c
-lib/intprops.h
m4/ulonglong.m4
m4/stdint_h.m4
m4/inttypes_h.m4
@@ -16,6 +15,7 @@ Depends-on:
gettext-h
argmatch
error
+intprops
xstrtoumax
stdbool
Index: modules/inttostr
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/inttostr,v
retrieving revision 1.7
diff -p -u -r1.7 inttostr
--- modules/inttostr 2 Sep 2005 19:43:54 -0000 1.7
+++ modules/inttostr 26 Feb 2006 08:41:54 -0000
@@ -3,7 +3,6 @@ Convert integers to printable strings.
Files:
lib/imaxtostr.c
-lib/intprops.h
lib/inttostr.c
lib/inttostr.h
lib/offtostr.c
@@ -17,6 +16,7 @@ m4/uintmax_t.m4
m4/ulonglong.m4
Depends-on:
+intprops
configure.ac:
gl_INTTOSTR
Index: modules/openat
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/openat,v
retrieving revision 1.6
diff -p -u -r1.6 openat
--- modules/openat 24 Jan 2006 19:17:13 -0000 1.6
+++ modules/openat 26 Feb 2006 08:41:54 -0000
@@ -2,7 +2,6 @@ Description:
Open a file at a directory.
Files:
-lib/intprops.h
lib/mkdirat.c
lib/openat.c
lib/openat.h
@@ -15,6 +14,7 @@ save-cwd
gettext-h
dirname
extensions
+intprops
configure.ac:
gl_FUNC_OPENAT
Index: modules/sig2str
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/sig2str,v
retrieving revision 1.6
diff -p -u -r1.6 sig2str
--- modules/sig2str 21 Mar 2005 22:07:25 -0000 1.6
+++ modules/sig2str 26 Feb 2006 08:41:54 -0000
@@ -2,12 +2,12 @@ Description:
Convert between signal names and signal numbers.
Files:
-lib/intprops.h
lib/sig2str.h
lib/sig2str.c
m4/sig2str.m4
Depends-on:
+intprops
configure.ac:
gl_FUNC_SIG2STR
Index: modules/userspec
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/userspec,v
retrieving revision 1.13
diff -p -u -r1.13 userspec
--- modules/userspec 6 Jul 2005 15:58:47 -0000 1.13
+++ modules/userspec 26 Feb 2006 08:41:54 -0000
@@ -3,7 +3,6 @@ Parse a `user:group' specifier (e.g. the
Files:
lib/inttostr.h
-lib/intprops.h
lib/userspec.c
lib/userspec.h
m4/userspec.m4
@@ -14,6 +13,7 @@ xalloc
xstrtol
strdup
gettext-h
+intprops
stdbool
configure.ac:
Index: modules/utimecmp
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/utimecmp,v
retrieving revision 1.7
diff -p -u -r1.7 utimecmp
--- modules/utimecmp 2 Oct 2005 22:44:15 -0000 1.7
+++ modules/utimecmp 26 Feb 2006 08:41:54 -0000
@@ -2,7 +2,6 @@ Description:
compare file time stamps
Files:
-lib/intprops.h
lib/utimecmp.h
lib/utimecmp.c
m4/utimecmp.m4
@@ -13,6 +12,7 @@ stat-time
timespec
utimens
xalloc
+intprops
stdbool
verify
Index: modules/xnanosleep
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xnanosleep,v
retrieving revision 1.6
diff -p -u -r1.6 xnanosleep
--- modules/xnanosleep 6 May 2005 17:22:45 -0000 1.6
+++ modules/xnanosleep 26 Feb 2006 08:41:54 -0000
@@ -2,13 +2,13 @@ Description:
a more convenient interface to nanosleep
Files:
-lib/intprops.h
lib/xnanosleep.h
lib/xnanosleep.c
m4/xnanosleep.m4
Depends-on:
timespec
+intprops
stdbool
configure.ac:
Index: modules/xstrtol
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xstrtol,v
retrieving revision 1.10
diff -p -u -r1.10 xstrtol
--- modules/xstrtol 29 Aug 2005 11:01:04 -0000 1.10
+++ modules/xstrtol 26 Feb 2006 08:41:54 -0000
@@ -2,7 +2,6 @@ Description:
Convert string to 'long' or 'unsigned long', with error checking.
Files:
-lib/intprops.h
lib/xstrtol.h
lib/xstrtol.c
lib/xstrtoul.c
@@ -17,6 +16,7 @@ m4/xstrtol.m4
Depends-on:
exitfail
error
+intprops
configure.ac:
gl_XSTRTOL