bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposed Module: canonicalize-lgpl


From: Charles Wilson
Subject: Proposed Module: canonicalize-lgpl
Date: Thu, 02 Nov 2006 02:29:05 -0500
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

I'd like to propose the following module for inclusion in gnulib. It is currently in use by libiconv and gettext under an LGPL license. The code originally derives from the GNU C library, but has been separately maintained in the gettext package by Bruno Haible since at least gettext-0.12 (March 2003).

The submission here differs from that in gettext cvs only in that:
(1) the files and m4 macros have been renamed so as not to clash with the GPL canonicalize module, already in gnulib. (2) per gnulib policy the .c and .h files have embedded GPL license text, while the module file specifies LGPL.
  (3) copyright year updated

Precedent: the fts and fts-lgpl modules each provide functionality similar to the other, under different licenses -- where the module under the lesser license provides lesser, but still useful, functionality. That is the case here, as well: the canonicalize module protects against cycles, and uses the x* memory functions; the canonicalize-lgpl module does not have this protection.

--
Chuck

--------------------%<--------------------
Description:
Canonical absolute file name.

Files:
lib/canonicalize-lgpl.h
lib/canonicalize-lgpl.c
m4/canonicalize-lgpl.m4

Depends-on:
alloca-opt
allocsa
pathmax
readlink

configure.ac:
gl_CANONICALIZE_LGPL

Makefile.am:

Include:
"canonicalize-lgpl.h"

License:
LGPL

Maintainer:
Bruno Haible
--------------------%<--------------------


2006-11-02  Charles Wilson  <...>

        * modules/canonicalize-lgpl: new module
        * m4/canonicalize-lgpl.m4: new file
        * lib/canonicalize-lgpl.c: new file
        * lib/canonicalize-lgpl.h: new file
        * MODULES.html.sh: add canonicalize-lgpl
        * MODULES.html: update

Attachment: canonicalize-lgpl.tar.bz2
Description: Binary data

? lib/canonicalize-lgpl.c
? lib/canonicalize-lgpl.h
? m4/canonicalize-lgpl.m4
? modules/canonicalize-lgpl
Index: MODULES.html
===================================================================
RCS file: /sources/gnulib/gnulib/MODULES.html,v
retrieving revision 1.279
diff -u -r1.279 MODULES.html
--- MODULES.html        1 Nov 2006 08:40:51 -0000       1.279
+++ MODULES.html        2 Nov 2006 07:27:28 -0000
@@ -2,7 +2,7 @@
 <HTML>
   <HEAD>
     <TITLE>Gnulib Module List</TITLE>
-    <META NAME="keywords" CONTENT="acl, alloca, alloca-opt, allocsa, arcfour, 
arctwo, argmatch, argp, argz, arpa_inet, array-list, array-oset, assert, 
atexit, avltree-list, avltree-oset, avltreehash-list, backupfile, base64, 
bcopy, binary-io, bison-i18n, byteswap, c-ctype, c-stack, c-strcase, 
c-strcasestr, c-strstr, c-strtod, c-strtold, calloc, canon-host, canonicalize, 
carray-list, chdir-long, chdir-safer, check-version, chown, classpath, 
clean-temp, clock-time, cloexec, close-stream, closeout, config-h, configmake, 
copy-file, crc, csharpcomp, csharpcomp-script, csharpexec, cycle-check, d-ino, 
d-type, des, dev-ino, diacrit, dirfd, dirname, dummy, dup2, eealloc, 
elisp-comp, error, euidaccess, exclude, execute, exit, exitfail, extensions, 
fatal-signal, fcntl, fcntl-safer, fdl, file-type, fileblocks, filemode, 
filenamecat, findprog, fnmatch, fnmatch-gnu, fnmatch-posix, fopen-safer, 
fpending, fprintftime, free, fsusage, ftruncate, fts, fts-lgpl, full-read, 
full-write, fwriteerror, gc, gc-arcfour, gc-arctwo, gc-des, gc-hmac-md5, 
gc-hmac-sha1, gc-md2, gc-md4, gc-md5, gc-pbkdf2-sha1, gc-random, gc-rijndael, 
gc-sha1, gcd, gendocs, getaddrinfo, getcwd, getdate, getdelim, getdomainname, 
getgroups, gethostname, gethrxtime, getline, getloadavg, getlogin_r, 
getndelim2, getnline, getopt, getpagesize, getpass, getpass-gnu, getsubopt, 
gettext, gettext-h, gettime, gettimeofday, getugroups, getusershell, glob, 
gnupload, gpl, group-member, hard-locale, hash, hash-pjw, havelib, hmac-md5, 
hmac-sha1, host-os, human, iconv, iconvme, idcache, imaxabs, imaxdiv, 
inet_ntop, inet_pton, intprops, inttostr, inttypes, isapipe, isdir, javacomp, 
javacomp-script, javaexec, javaversion, lchmod, lchown, ldd, lgpl, lib-ignore, 
linebreak, linebuffer, link-follow, linked-list, linkedhash-list, list, 
localcharset, lock, long-options, lstat, maintainer-makefile, malloc, mathl, 
mbchar, mbfile, mbiter, mbswidth, mbuiter, md2, md4, md5, memcasecmp, memchr, 
memcmp, memcoll, memcpy, memmem, memmove, mempcpy, memrchr, memset, memxor, 
minmax, mkancesdirs, mkdir, mkdir-p, mkdtemp, mkstemp, mktime, modechange, 
mountlist, nanosleep, netinet_in, obstack, openat, oset, pagealign_alloc, 
pathmax, pathname, perl, physmem, pipe, poll, posixtm, posixver, progname, 
putenv, quote, quotearg, raise, rbtree-list, rbtree-oset, rbtreehash-list, 
read-file, readline, readlink, readtokens, readtokens0, readutmp, realloc, 
regex, regexprops-generic, rename, rename-dest-slash, rijndael, rmdir, 
rmdir-errno, rpmatch, safe-read, safe-write, same, same-inode, save-cwd, 
savedir, savewd, setenv, settime, sh-quote, sha1, sig2str, sigprocmask, 
size_max, snprintf, socklen, ssize_t, stat-macros, stat-time, stdarg, stdbool, 
stdint, stdlib-safer, stpcpy, stpncpy, strcase, strcasestr, strchrnul, strcspn, 
strdup, strerror, strftime, striconv, strndup, strnlen, strnlen1, strpbrk, 
strsep, strstr, strtod, strtoimax, strtok_r, strtol, strtoll, strtoul, 
strtoull, strtoumax, strverscmp, sublist, sys_select, sys_socket, sys_stat, 
sysexits, tempname, time_r, timegm, timespec, tls, tmpdir, tmpfile-safer, trim, 
tsearch, tzset, ucs4-utf16, ucs4-utf8, unicodeio, unistd, unistd-safer, 
unlink-busy, unlinkdir, unlocked-io, uptime, userspec, utf16-ucs4, utf8-ucs4, 
utime, utimecmp, utimens, vararrays, vasnprintf, vasprintf, verify, verror, 
version-etc, version-etc-fsf, visibility, vsnprintf, wait-process, wcwidth, 
winsz-ioctl, winsz-termios, xalloc, xalloc-die, xallocsa, xgetcwd, 
xgetdomainname, xgethostname, xmemcoll, xnanosleep, xreadlink, xsetenv, xsize, 
xstriconv, xstrndup, xstrtod, xstrtoimax, xstrtol, xstrtold, xstrtoumax, 
xvasprintf, yesno">
+    <META NAME="keywords" CONTENT="acl, alloca, alloca-opt, allocsa, arcfour, 
arctwo, argmatch, argp, argz, arpa_inet, array-list, array-oset, assert, 
atexit, avltree-list, avltree-oset, avltreehash-list, backupfile, base64, 
bcopy, binary-io, bison-i18n, byteswap, c-ctype, c-stack, c-strcase, 
c-strcasestr, c-strstr, c-strtod, c-strtold, calloc, canon-host, canonicalize, 
canonicalize-lgpl, carray-list, chdir-long, chdir-safer, check-version, chown, 
classpath, clean-temp, clock-time, cloexec, close-stream, closeout, config-h, 
configmake, copy-file, crc, csharpcomp, csharpcomp-script, csharpexec, 
cycle-check, d-ino, d-type, des, dev-ino, diacrit, dirfd, dirname, dummy, dup2, 
eealloc, elisp-comp, error, euidaccess, exclude, execute, exit, exitfail, 
extensions, fatal-signal, fcntl, fcntl-safer, fdl, file-type, fileblocks, 
filemode, filenamecat, findprog, fnmatch, fnmatch-gnu, fnmatch-posix, 
fopen-safer, fpending, fprintftime, free, fsusage, ftruncate, fts, fts-lgpl, 
full-read, full-write, fwriteerror, gc, gc-arcfour, gc-arctwo, gc-des, 
gc-hmac-md5, gc-hmac-sha1, gc-md2, gc-md4, gc-md5, gc-pbkdf2-sha1, gc-random, 
gc-rijndael, gc-sha1, gcd, gendocs, getaddrinfo, getcwd, getdate, getdelim, 
getdomainname, getgroups, gethostname, gethrxtime, getline, getloadavg, 
getlogin_r, getndelim2, getnline, getopt, getpagesize, getpass, getpass-gnu, 
getsubopt, gettext, gettext-h, gettime, gettimeofday, getugroups, getusershell, 
glob, gnupload, gpl, group-member, hard-locale, hash, hash-pjw, havelib, 
hmac-md5, hmac-sha1, host-os, human, iconv, iconvme, idcache, imaxabs, imaxdiv, 
inet_ntop, inet_pton, intprops, inttostr, inttypes, isapipe, isdir, javacomp, 
javacomp-script, javaexec, javaversion, lchmod, lchown, ldd, lgpl, lib-ignore, 
linebreak, linebuffer, link-follow, linked-list, linkedhash-list, list, 
localcharset, lock, long-options, lstat, maintainer-makefile, malloc, mathl, 
mbchar, mbfile, mbiter, mbswidth, mbuiter, md2, md4, md5, memcasecmp, memchr, 
memcmp, memcoll, memcpy, memmem, memmove, mempcpy, memrchr, memset, memxor, 
minmax, mkancesdirs, mkdir, mkdir-p, mkdtemp, mkstemp, mktime, modechange, 
mountlist, nanosleep, netinet_in, obstack, openat, oset, pagealign_alloc, 
pathmax, pathname, perl, physmem, pipe, poll, posixtm, posixver, progname, 
putenv, quote, quotearg, raise, rbtree-list, rbtree-oset, rbtreehash-list, 
read-file, readline, readlink, readtokens, readtokens0, readutmp, realloc, 
regex, regexprops-generic, rename, rename-dest-slash, rijndael, rmdir, 
rmdir-errno, rpmatch, safe-read, safe-write, same, same-inode, save-cwd, 
savedir, savewd, setenv, settime, sh-quote, sha1, sig2str, sigprocmask, 
size_max, snprintf, socklen, ssize_t, stat-macros, stat-time, stdarg, stdbool, 
stdint, stdlib-safer, stpcpy, stpncpy, strcase, strcasestr, strchrnul, strcspn, 
strdup, strerror, strftime, striconv, strndup, strnlen, strnlen1, strpbrk, 
strsep, strstr, strtod, strtoimax, strtok_r, strtol, strtoll, strtoul, 
strtoull, strtoumax, strverscmp, sublist, sys_select, sys_socket, sys_stat, 
sysexits, tempname, time_r, timegm, timespec, tls, tmpdir, tmpfile-safer, trim, 
tsearch, tzset, ucs4-utf16, ucs4-utf8, unicodeio, unistd, unistd-safer, 
unlink-busy, unlinkdir, unlocked-io, uptime, userspec, utf16-ucs4, utf8-ucs4, 
utime, utimecmp, utimens, vararrays, vasnprintf, vasprintf, verify, verror, 
version-etc, version-etc-fsf, visibility, vsnprintf, wait-process, wcwidth, 
winsz-ioctl, winsz-termios, xalloc, xalloc-die, xallocsa, xgetcwd, 
xgetdomainname, xgethostname, xmemcoll, xnanosleep, xreadlink, xsetenv, xsize, 
xstriconv, xstrndup, xstrtod, xstrtoimax, xstrtol, xstrtold, xstrtoumax, 
xvasprintf, yesno">
   </HEAD>
   <BODY>
     <H1>Gnulib Module List</H1>
@@ -846,6 +846,10 @@
         <TD ALIGN=LEFT VALIGN=TOP WIDTH="80%">Return the canonical absolute 
name of a given file.
       </TR>
       <TR WIDTH="100%">
+        <TD ALIGN=LEFT VALIGN=TOP WIDTH="20%"><A 
HREF="#module=canonicalize-lgpl">canonicalize-lgpl</A>
+        <TD ALIGN=LEFT VALIGN=TOP WIDTH="80%">Canonical absolute file name.
+      </TR>
+      <TR WIDTH="100%">
         <TD ALIGN=LEFT VALIGN=TOP WIDTH="20%"><A 
HREF="#module=clean-temp">clean-temp</A>
         <TD ALIGN=LEFT VALIGN=TOP WIDTH="80%">Temporary directories and 
temporary files with automatic cleanup.
       </TR>
@@ -3258,6 +3262,13 @@
         <TD ALIGN=LEFT 
VALIGN=TOP>cycle-check<BR>filenamecat<BR>sys_stat<BR>xalloc<BR>xgetcwd<BR>xreadlink
       </TR>
       <TR>
+        <TD ALIGN=LEFT VALIGN=TOP><A NAME="module=canonicalize-lgpl"></A><A 
HREF="modules/canonicalize-lgpl">canonicalize-lgpl</A>
+        <TD ALIGN=LEFT VALIGN=TOP>#include "<A 
HREF="lib/canonicalize-lgpl.h">canonicalize-lgpl.h</A>"
+        <TD ALIGN=LEFT VALIGN=TOP><A 
HREF="lib/canonicalize-lgpl.c">canonicalize-lgpl.c</A>
+        <TD ALIGN=LEFT VALIGN=TOP><A 
HREF="m4/canonicalize-lgpl.m4">canonicalize-lgpl.m4</A><BR>gl_CANONICALIZE_LGPL
+        <TD ALIGN=LEFT VALIGN=TOP>alloca-opt<BR>allocsa<BR>pathmax<BR>readlink
+      </TR>
+      <TR>
         <TD ALIGN=LEFT VALIGN=TOP><A NAME="module=clean-temp"></A><A 
HREF="modules/clean-temp">clean-temp</A>
         <TD ALIGN=LEFT VALIGN=TOP>#include "<A 
HREF="lib/clean-temp.h">clean-temp.h</A>"
         <TD ALIGN=LEFT VALIGN=TOP><A HREF="lib/clean-temp.c">clean-temp.c</A>
@@ -4780,6 +4791,6 @@
       <LI>A POT file and some PO files
     </UL>
     <HR>
-    Generated from <CODE>MODULES.html.sh</CODE> on  1 November 2006.
+    Generated from <CODE>MODULES.html.sh</CODE> on  2 November 2006.
   </BODY>
 </HTML>
Index: MODULES.html.sh
===================================================================
RCS file: /sources/gnulib/gnulib/MODULES.html.sh,v
retrieving revision 1.157
diff -u -r1.157 MODULES.html.sh
--- MODULES.html.sh     31 Oct 2006 19:16:02 -0000      1.157
+++ MODULES.html.sh     2 Nov 2006 07:27:28 -0000
@@ -1927,6 +1927,7 @@
   func_module acl
   func_module backupfile
   func_module canonicalize
+  func_module canonicalize-lgpl
   func_module clean-temp
   func_module copy-file
   func_module cycle-check

reply via email to

[Prev in Thread] Current Thread [Next in Thread]