From MAILER-DAEMON Tue Aug 18 15:22:17 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MdUG9-0007fj-Oe for mharc-commit-inetutils@gnu.org; Tue, 18 Aug 2009 15:22:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdUG8-0007ef-LA for commit-inetutils@gnu.org; Tue, 18 Aug 2009 15:22:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdUG7-0007d6-GM for commit-inetutils@gnu.org; Tue, 18 Aug 2009 15:22:15 -0400 Received: from [199.232.76.173] (port=41164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdUG7-0007cs-AJ for commit-inetutils@gnu.org; Tue, 18 Aug 2009 15:22:15 -0400 Received: from savannah.gnu.org ([199.232.41.3]:40861 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdUG7-0003gl-4l for commit-inetutils@gnu.org; Tue, 18 Aug 2009 15:22:15 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1MdUG6-00059x-3y for commit-inetutils@gnu.org; Tue, 18 Aug 2009 19:22:14 +0000 Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1MdUG5-00059u-Ui for commit-inetutils@gnu.org; Tue, 18 Aug 2009 19:22:14 +0000 To: commit-inetutils@gnu.org Message-Id: From: Sergey Poznyakoff Date: Tue, 18 Aug 2009 19:22:13 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: inetutils/ping libping.c ping.h ping6.c ping6.h... X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 19:22:16 -0000 CVSROOT: /cvsroot/inetutils Module name: inetutils Changes by: Sergey Poznyakoff 09/08/18 19:22:13 Modified files: ping : libping.c ping.h ping6.c ping6.h ping_common.h Log message: Fix possible array overflow in ping. * ping/ping.h (_C_BIT,_C_MASK) (_PING_SET,_PING_CLR,_PING_TST): Remove in favor of ping_common.h * ping/ping6.h: Likewise. * ping/ping_common.h (_C_BIT,_C_MASK): Moved from ping.h (_C_IND): New macro. (_PING_SET,_PING_CLR,_PING_TST): Modified versions of macros from ping.h. * ping/libping.c, ping/ping6.c: Update calls to _PING macros. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/libping.c?cvsroot=inetutils&r1=1.5&r2=1.6 http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping.h?cvsroot=inetutils&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping6.c?cvsroot=inetutils&r1=1.18&r2=1.19 http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping6.h?cvsroot=inetutils&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping_common.h?cvsroot=inetutils&r1=1.14&r2=1.15 From MAILER-DAEMON Wed Aug 19 03:44:58 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mdfqs-00079i-9v for mharc-commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:44:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdfqr-00079C-16 for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:44:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdfqq-00078o-FQ for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:44:56 -0400 Received: from [199.232.76.173] (port=49843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdfqq-00078f-7A for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:44:56 -0400 Received: from savannah.gnu.org ([199.232.41.3]:36650 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mdfqp-000062-MD for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:44:55 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Mdfqo-0004Bn-Ov for commit-inetutils@gnu.org; Wed, 19 Aug 2009 07:44:54 +0000 Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Mdfqo-0004Bk-HB for commit-inetutils@gnu.org; Wed, 19 Aug 2009 07:44:54 +0000 To: commit-inetutils@gnu.org Message-Id: From: Sergey Poznyakoff Date: Wed, 19 Aug 2009 07:44:54 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: inetutils ChangeLog X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 07:44:57 -0000 CVSROOT: /cvsroot/inetutils Module name: inetutils Changes by: Sergey Poznyakoff 09/08/19 07:44:54 Modified files: . : ChangeLog Log message: Fix suboptimal array space usage in ping. * ping/ping_common.h (_C_IND): Fix array indexation. Reported by Christopher Zimmermann. * ping/ping_common.c: Fix indentation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/inetutils/ChangeLog?cvsroot=inetutils&r1=1.367&r2=1.368 From MAILER-DAEMON Wed Aug 19 03:45:43 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mdfrb-0007QL-IX for mharc-commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:45:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdfra-0007Q1-4n for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:45:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdfrZ-0007Pe-I2 for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:45:41 -0400 Received: from [199.232.76.173] (port=49868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdfrZ-0007Pb-EG for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:45:41 -0400 Received: from savannah.gnu.org ([199.232.41.3]:36735 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdfrY-0000JH-Nl for commit-inetutils@gnu.org; Wed, 19 Aug 2009 03:45:40 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1MdfrY-0004No-DR for commit-inetutils@gnu.org; Wed, 19 Aug 2009 07:45:40 +0000 Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1MdfrY-0004Nl-61 for commit-inetutils@gnu.org; Wed, 19 Aug 2009 07:45:40 +0000 To: commit-inetutils@gnu.org Message-Id: From: Sergey Poznyakoff Date: Wed, 19 Aug 2009 07:45:40 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: inetutils/ping ping_common.c ping_common.h X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 07:45:42 -0000 CVSROOT: /cvsroot/inetutils Module name: inetutils Changes by: Sergey Poznyakoff 09/08/19 07:45:40 Modified files: ping : ping_common.c ping_common.h Log message: Fix suboptimal array space usage in ping. * ping/ping_common.h (_C_IND): Fix array indexation. Reported by Christopher Zimmermann. * ping/ping_common.c: Fix indentation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping_common.c?cvsroot=inetutils&r1=1.12&r2=1.13 http://cvs.savannah.gnu.org/viewcvs/inetutils/ping/ping_common.h?cvsroot=inetutils&r1=1.15&r2=1.16 From MAILER-DAEMON Thu Aug 20 04:10:18 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Me2iw-0007NL-CA for mharc-commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:10:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me2iu-0007L9-0F for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:10:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me2im-0007HU-8L for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:10:15 -0400 Received: from [199.232.76.173] (port=39716 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me2il-0007Gq-S8 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:10:07 -0400 Received: from savannah.gnu.org ([199.232.41.3]:43934 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me2ij-0005ei-9Z for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:10:07 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Me2ig-0005py-SU for commit-inetutils@gnu.org; Thu, 20 Aug 2009 08:10:03 +0000 Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Me2if-0005op-On for commit-inetutils@gnu.org; Thu, 20 Aug 2009 08:10:02 +0000 From: "Sergey Poznyakoff" To: commit-inetutils@gnu.org X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 0f199f2a34814b820a460d1386e279c33a4282b2 X-Git-Newrev: ee74cb4a80f4b8261a5745f8d8efb369a2993d81 Message-Id: Date: Thu, 20 Aug 2009 08:10:01 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-185-gee74cb4 X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 08:10:16 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ". http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=ee74cb4a80f4b8261a5745f8d8efb369a2993d81 The branch, master has been updated via ee74cb4a80f4b8261a5745f8d8efb369a2993d81 (commit) from 0f199f2a34814b820a460d1386e279c33a4282b2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ee74cb4a80f4b8261a5745f8d8efb369a2993d81 Author: Sergey Poznyakoff Date: Thu Aug 20 11:08:07 2009 +0300 Migrate to Git * Attic: removed Rename all .cvsignores to .gitignores (with edits) ----------------------------------------------------------------------- Summary of changes: .cvsignore | 18 - .gitignore | 34 + Attic/glob-old/COPYING.LIB | 481 ------------ Attic/glob-old/ChangeLog | 23 - Attic/glob-old/Makefile.ami | 69 -- Attic/glob-old/Makefile.in | 68 -- Attic/glob-old/SCOPTIONS | 13 - Attic/glob-old/SMakefile | 69 -- Attic/glob-old/configure | 1664 ---------------------------------------- Attic/glob-old/configure.bat | 26 - Attic/glob-old/configure.in | 19 - Attic/glob-old/fnmatch.c | 230 ------ Attic/glob-old/fnmatch.h | 68 -- Attic/glob-old/glob.c | 906 ---------------------- Attic/glob-old/glob.h | 108 --- doc/{.cvsignore => .gitignore} | 2 +- ftp/.cvsignore | 5 - ftp/.gitignore | 1 + ftpd/.cvsignore | 5 - ftpd/.gitignore | 2 + gwhois/.cvsignore | 7 - gwhois/.gitignore | 4 + headers/.cvsignore | 2 - hostname/.cvsignore | 4 - hostname/.gitignore | 1 + ifconfig/.cvsignore | 5 - ifconfig/.gitignore | 2 + ifconfig/system/.cvsignore | 3 - inetd/.cvsignore | 5 - inetd/.gitignore | 2 + lib/.gitignore | 238 ++++++ libicmp/.cvsignore | 4 - libicmp/.gitignore | 1 + libinetutils/.cvsignore | 3 - libls/.cvsignore | 3 - libtelnet/.cvsignore | 3 - logger/.cvsignore | 5 - logger/.gitignore | 2 + ping/.cvsignore | 5 - ping/.gitignore | 2 + rcp/.cvsignore | 4 - rcp/.gitignore | 1 + rexecd/.cvsignore | 4 - rexecd/.gitignore | 1 + rlogin/.cvsignore | 4 - rlogin/.gitignore | 1 + rlogind/.cvsignore | 4 - rlogind/.gitignore | 1 + rsh/.cvsignore | 4 - rsh/.gitignore | 1 + rshd/.cvsignore | 4 - rshd/.gitignore | 1 + syslogd/.cvsignore | 5 - syslogd/.gitignore | 2 + talk/.cvsignore | 4 - talk/.gitignore | 1 + talkd/.cvsignore | 5 - talkd/.gitignore | 2 + telnet/.cvsignore | 4 - telnet/.gitignore | 1 + telnetd/.cvsignore | 5 - telnetd/.gitignore | 2 + tests/.cvsignore | 4 - tests/.gitignore | 1 + tftp/.cvsignore | 4 - tftp/.gitignore | 1 + tftpd/.cvsignore | 4 - tftpd/.gitignore | 1 + traceroute/.cvsignore | 4 - traceroute/.gitignore | 1 + uucpd/.cvsignore | 4 - uucpd/.gitignore | 1 + 72 files changed, 309 insertions(+), 3889 deletions(-) delete mode 100644 .cvsignore create mode 100644 .gitignore delete mode 100755 Attic/glob-old/COPYING.LIB delete mode 100644 Attic/glob-old/ChangeLog delete mode 100644 Attic/glob-old/Makefile.ami delete mode 100644 Attic/glob-old/Makefile.in delete mode 100644 Attic/glob-old/SCOPTIONS delete mode 100644 Attic/glob-old/SMakefile delete mode 100755 Attic/glob-old/configure delete mode 100644 Attic/glob-old/configure.bat delete mode 100644 Attic/glob-old/configure.in delete mode 100644 Attic/glob-old/fnmatch.c delete mode 100644 Attic/glob-old/fnmatch.h delete mode 100644 Attic/glob-old/glob.c delete mode 100644 Attic/glob-old/glob.h rename doc/{.cvsignore => .gitignore} (77%) delete mode 100644 ftp/.cvsignore create mode 100644 ftp/.gitignore delete mode 100644 ftpd/.cvsignore create mode 100644 ftpd/.gitignore delete mode 100644 gwhois/.cvsignore create mode 100644 gwhois/.gitignore delete mode 100644 headers/.cvsignore delete mode 100644 hostname/.cvsignore create mode 100644 hostname/.gitignore delete mode 100644 ifconfig/.cvsignore create mode 100644 ifconfig/.gitignore delete mode 100644 ifconfig/system/.cvsignore delete mode 100644 inetd/.cvsignore create mode 100644 inetd/.gitignore create mode 100644 lib/.gitignore delete mode 100644 libicmp/.cvsignore create mode 100644 libicmp/.gitignore delete mode 100644 libinetutils/.cvsignore delete mode 100644 libls/.cvsignore delete mode 100644 libtelnet/.cvsignore delete mode 100644 logger/.cvsignore create mode 100644 logger/.gitignore delete mode 100644 ping/.cvsignore create mode 100644 ping/.gitignore delete mode 100644 rcp/.cvsignore create mode 100644 rcp/.gitignore delete mode 100644 rexecd/.cvsignore create mode 100644 rexecd/.gitignore delete mode 100644 rlogin/.cvsignore create mode 100644 rlogin/.gitignore delete mode 100644 rlogind/.cvsignore create mode 100644 rlogind/.gitignore delete mode 100644 rsh/.cvsignore create mode 100644 rsh/.gitignore delete mode 100644 rshd/.cvsignore create mode 100644 rshd/.gitignore delete mode 100644 syslogd/.cvsignore create mode 100644 syslogd/.gitignore delete mode 100644 talk/.cvsignore create mode 100644 talk/.gitignore delete mode 100644 talkd/.cvsignore create mode 100644 talkd/.gitignore delete mode 100644 telnet/.cvsignore create mode 100644 telnet/.gitignore delete mode 100644 telnetd/.cvsignore create mode 100644 telnetd/.gitignore delete mode 100644 tests/.cvsignore create mode 100644 tests/.gitignore delete mode 100644 tftp/.cvsignore create mode 100644 tftp/.gitignore delete mode 100644 tftpd/.cvsignore create mode 100644 tftpd/.gitignore delete mode 100644 traceroute/.cvsignore create mode 100644 traceroute/.gitignore delete mode 100644 uucpd/.cvsignore create mode 100644 uucpd/.gitignore diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 2134be8..0000000 --- a/.cvsignore +++ /dev/null @@ -1,18 +0,0 @@ -INSTALL -Makefile -Makefile.in -aclocal.m4 -autom4te.cache -build-aux -config.cache -config.h -config.hin -config.log -config.status -configure -confpaths.h -include -pathdefs.make -paths.defs -stamp-h.in -stamp-h1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75a29ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,34 @@ +*.a +*.cflow +*.la +*.lo +*.o +*.so +*~ +.bootstrap +.deps +.emacs* +.libs +ABOUT-NLS +ChangeLog +INSTALL +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +build-aux +config.cache +config.h +config.h.in +config.hin +config.log +config.status +configure +confpaths.h +include +libtool +m4 +pathdefs.make +paths.defs +stamp-h.in +stamp-h1 diff --git a/Attic/glob-old/COPYING.LIB b/Attic/glob-old/COPYING.LIB deleted file mode 100755 index eb685a5..0000000 --- a/Attic/glob-old/COPYING.LIB +++ /dev/null @@ -1,481 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/Attic/glob-old/ChangeLog b/Attic/glob-old/ChangeLog deleted file mode 100644 index de04c4b..0000000 --- a/Attic/glob-old/ChangeLog +++ /dev/null @@ -1,23 +0,0 @@ -Sat Jul 20 21:55:31 1996 Roland McGrath - - Win32 hacks from . - * posix/glob.c [WIN32]: Don't include ; don't use d_ino; - use void * for my_realloc; include for alloca. - (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. - * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. - * posix/glob.h: Likewise. - -Fri Jul 19 16:56:41 1996 Roland McGrath - - * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] - for `struct stat;' forward decl. - -Sat Jun 22 10:44:09 1996 Roland McGrath - - * posix/glob.c: Include only [HAVE_ALLOCA_H], not [sparc]. - -Fri Jun 21 00:27:51 1996 Roland McGrath - - * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr - only for ?s, not for *s. Fix from Chet Ramey. - diff --git a/Attic/glob-old/Makefile.ami b/Attic/glob-old/Makefile.ami deleted file mode 100644 index 3666d3e..0000000 --- a/Attic/glob-old/Makefile.ami +++ /dev/null @@ -1,69 +0,0 @@ -# Makefile for standalone distribution of libglob.a (fnmatch, glob). - -# Copyright (C) 1991, 92, 93, 94, 95 Free Software Foundation, Inc. -# This file is part of the GNU C Library. - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public License -# as published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. - -# You should have received a copy of the GNU Library General Public -# License along with this library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. - -# Ultrix 2.2 make doesn't expand the value of VPATH. -VPATH = /glob/ -# This must repeat the value, because configure will remove `VPATH = .'. -srcdir = /glob/ - -CC = sc -RM = delete -CPPFLAGS = -CFLAGS = - -# Information determined by configure. -DEFS = Define HAVE_HEADER_STDC Define HAVE_UNISTD_H Define HAVE_STRING_H \ - Define HAVE_DIRENT_H - -# How to invoke ar. -AR = join -ARFLAGS = as - -# How to invoke ranlib. -RANLIB = ; - -.PHONY: all -all: glob.lib - -glob.lib : glob.o fnmatch.o - $(AR) $(ARFLAGS) $@ glob.o fnmatch.o - $(RANLIB) $@ - -# For some reason, Unix make wants the dependencies on the source files. -# Otherwise it refuses to use an implicit rule! -# And, get this: it doesn't work to use $(srcdir)foo.c!! -glob.o: $(srcdir)glob.h $(srcdir)fnmatch.h glob.c -fnmatch.o: $(srcdir)fnmatch.h fnmatch.c - -OUTPUT_OPTION = -.c.o: - $(CC) IDir "" \ - $(DEFS) $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION) - -.PHONY: clean realclean glob-clean glob-realclean distclean -clean glob-clean: - -$(RM) glob.lib "#?.o" core -distclean glob-realclean: clean - -$(RM) TAGS tags Makefile config.status config.h config.log -realcean: distclean - -# For inside the C library. -glob.tar glob.tar.Z: - $(MAKE) -C .. $@ diff --git a/Attic/glob-old/Makefile.in b/Attic/glob-old/Makefile.in deleted file mode 100644 index 10a44f4..0000000 --- a/Attic/glob-old/Makefile.in +++ /dev/null @@ -1,68 +0,0 @@ -# Makefile for standalone distribution of libglob.a (fnmatch, glob). - -# Copyright (C) 1991, 92, 93, 94, 95 Free Software Foundation, Inc. -# This file is part of the GNU C Library. - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public License -# as published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. - -# You should have received a copy of the GNU Library General Public -# License along with this library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. - -# Ultrix 2.2 make doesn't expand the value of VPATH. -VPATH = @srcdir@ -# This must repeat the value, because configure will remove `VPATH = .'. -srcdir = @srcdir@ - -CC = @CC@ -CPPFLAGS = @CPPFLAGS@ -CFLAGS = @CFLAGS@ - -# Information determined by configure. -DEFS = @DEFS@ - -# How to invoke ar. -AR = @AR@ -ARFLAGS = rv - -# How to invoke ranlib. -RANLIB = @RANLIB@ - -.PHONY: all -all: libglob.a - -libglob.a: glob.o fnmatch.o - $(AR) $(ARFLAGS) $@ glob.o fnmatch.o - $(RANLIB) $@ - -install: - -# For some reason, Unix make wants the dependencies on the source files. -# Otherwise it refuses to use an implicit rule! -# And, get this: it doesn't work to use $(srcdir)/foo.c!! -glob.o: $(srcdir)/glob.h $(srcdir)/fnmatch.h glob.c -fnmatch.o: $(srcdir)/fnmatch.h fnmatch.c - -.c.o: - $(CC) -I. -I$(srcdir) -c \ - $(DEFS) $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION) - -.PHONY: clean realclean glob-clean glob-realclean distclean -clean glob-clean: - -rm -f libglob.a *.o core -distclean glob-realclean: clean - -rm -f TAGS tags Makefile config.status config.h config.log -realcean: distclean - -# For inside the C library. -glob.tar glob.tar.Z: - $(MAKE) -C .. $@ diff --git a/Attic/glob-old/SCOPTIONS b/Attic/glob-old/SCOPTIONS deleted file mode 100644 index f89daae..0000000 --- a/Attic/glob-old/SCOPTIONS +++ /dev/null @@ -1,13 +0,0 @@ -ERRORREXX -OPTIMIZE -NOVERSION -OPTIMIZERTIME -OPTIMIZERALIAS -DEFINE INCLUDEDIR="include:" -DEFINE LIBDIR="lib:" -DEFINE NO_ALLOCA -DEFINE NO_FLOAT -DEFINE NO_ARCHIVES -IGNORE=161 -IGNORE=100 -STARTUP=cres diff --git a/Attic/glob-old/SMakefile b/Attic/glob-old/SMakefile deleted file mode 100644 index 1c82e0a..0000000 --- a/Attic/glob-old/SMakefile +++ /dev/null @@ -1,69 +0,0 @@ -# Makefile for standalone distribution of libglob.a (fnmatch, glob). - -# Copyright (C) 1991, 92, 93, 94, 95 Free Software Foundation, Inc. -# This file is part of the GNU C Library. - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public License -# as published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. - -# You should have received a copy of the GNU Library General Public -# License along with this library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. - -# Ultrix 2.2 make doesn't expand the value of VPATH. -VPATH = /glob/ -# This must repeat the value, because configure will remove `VPATH = .'. -srcdir = /glob/ - -CC = sc -CPPFLAGS = -CFLAGS = -MAKE = smake -RM = delete - -# Information determined by configure. -DEFS = Define HAVE_HEADER_STDC Define HAVE_UNISTD_H Define HAVE_STRING_H \ - Define HAVE_DIRENT_H - -# How to invoke ar. -AR = join -ARFLAGS = as - -# How to invoke ranlib. -RANLIB = ; - -.PHONY: all -all: glob.lib - -glob.lib : glob.o fnmatch.o - $(AR) $(ARFLAGS) $@ glob.o fnmatch.o - $(RANLIB) $@ - -# For some reason, Unix make wants the dependencies on the source files. -# Otherwise it refuses to use an implicit rule! -# And, get this: it doesn't work to use $(srcdir)foo.c!! -glob.o: $(srcdir)glob.h $(srcdir)fnmatch.h glob.c -fnmatch.o: $(srcdir)fnmatch.h fnmatch.c - -.c.o: - $(CC) IDir "" \ - $(DEFS) $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION) - -.PHONY: clean realclean glob-clean glob-realclean distclean -clean glob-clean: - -$(RM) -f glob.lib *.o core -distclean glob-realclean: clean - -$(RM) -f TAGS tags Makefile config.status config.h config.log -realcean: distclean - -# For inside the C library. -glob.tar glob.tar.Z: - $(MAKE) -C .. $@ diff --git a/Attic/glob-old/configure b/Attic/glob-old/configure deleted file mode 100755 index 1572945..0000000 --- a/Attic/glob-old/configure +++ /dev/null @@ -1,1664 +0,0 @@ -#! /bin/sh - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.7 -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= - -ac_prev= -for ac_option -do - - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case "$ac_option" in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.7" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; - - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -done - -# NLS nuisances. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LANG+set}" = set; then LANG=C; export LANG; fi - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=fnmatch.c - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_prog_rejected=no - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 -if test $ac_cv_prog_gcc = yes; then - GCC=yes - if test "${CFLAGS+set}" != set; then - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_gcc_g=yes -else - ac_cv_prog_gcc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 - if test $ac_cv_prog_gcc_g = yes; then - CFLAGS="-g -O" - else - CFLAGS="-O" - fi - fi -else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" -fi - -# Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AR="ar" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" -fi -fi -AR="$ac_cv_prog_AR" -if test -n "$AR"; then - echo "$ac_t""$AR" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - echo $ac_n "checking for AIX""... $ac_c" 1>&6 -cat > conftest.$ac_ext <&5 | - egrep "yes" >/dev/null 2>&1; then - rm -rf conftest* - echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF -#define _ALL_SOURCE 1 -EOF - -else - rm -rf conftest* - echo "$ac_t""no" 1>&6 -fi -rm -f conftest* - - -ac_safe=`echo "minix/config.h" | tr './\055' '___'` -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MINIX=yes -else - echo "$ac_t""no" 1>&6 -MINIX= -fi - -if test "$MINIX" = yes; then - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF - - cat >> confdefs.h <<\EOF -#define _POSIX_1_SOURCE 2 -EOF - - cat >> confdefs.h <<\EOF -#define _MINIX 1 -EOF - -fi - -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -if test -d /etc/conf/kconfig.d && - grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 -then - echo "$ac_t""yes" 1>&6 - ISC=yes # If later tests want to check for ISC. - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF - - if test "$GCC" = yes; then - CC="$CC -posix" - else - CC="$CC -Xp" - fi -else - echo "$ac_t""no" 1>&6 - ISC= -fi - -echo $ac_n "checking for working const""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <j = 5; -} -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; -} - -; return 0; } -EOF -if { (eval echo configure:893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_const=yes -else - rm -rf conftest* - ac_cv_c_const=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_c_const" 1>&6 -if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const -EOF - -fi - -# If we cannot run a trivial program, we must be cross compiling. -echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_c_cross=yes -else -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } -if test -s conftest && (./conftest; exit) 2>/dev/null; then - ac_cv_c_cross=no -else - ac_cv_c_cross=yes -fi -fi -rm -fr conftest* -fi - -echo "$ac_t""$ac_cv_c_cross" 1>&6 -cross_compiling=$ac_cv_c_cross - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -#include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then - : -else -cat > conftest.$ac_ext < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } - -EOF -{ (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } -if test -s conftest && (./conftest; exit) 2>/dev/null; then - : -else - ac_cv_header_stdc=no -fi -fi -rm -fr conftest* -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -for ac_hdr in memory.h unistd.h string.h -do -ac_safe=`echo "$ac_hdr" | tr './\055' '___'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'` - cat >> confdefs.h <&6 -fi -done - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h -do -ac_safe=`echo "$ac_hdr" | tr './\055' '___'` -echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include <$ac_hdr> -int main() { return 0; } -int t() { -DIR *dirp = 0; -; return 0; } -EOF -if { (eval echo configure:1090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=yes" -else - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=no" -fi -rm -f conftest* - -fi -if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdedfghijklmnopqrstuvwxyz./\055' 'ABCDEDFGHIJKLMNOPQRSTUVWXYZ___'` - cat >> confdefs.h <&6 -fi -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then -echo $ac_n "checking for -ldir""... $ac_c" 1>&6 -ac_lib_var=`echo dir | tr '.-/+' '___p'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-ldir $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -ldir" -else - echo "$ac_t""no" 1>&6 -fi - -else -echo $ac_n "checking for -lx""... $ac_c" 1>&6 -ac_lib_var=`echo x | tr '.-/+' '___p'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lx $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lx" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_closedir_void=yes -else -cat > conftest.$ac_ext < -#include <$ac_header_dirent> -int closedir(); main() { exit(closedir(opendir(".")) != 0); } -EOF -{ (eval echo configure:1198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } -if test -s conftest && (./conftest; exit) 2>/dev/null; then - ac_cv_func_closedir_void=no -else - ac_cv_func_closedir_void=yes -fi -fi -rm -fr conftest* -fi - -echo "$ac_t""$ac_cv_func_closedir_void" 1>&6 -if test $ac_cv_func_closedir_void = yes; then - cat >> confdefs.h <<\EOF -#define CLOSEDIR_VOID 1 -EOF - -fi - -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -# for constant arguments. Useless! -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -int main() { return 0; } -int t() { -char *p = alloca(2 * sizeof(int)); -; return 0; } -EOF -if { (eval echo configure:1231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - ac_cv_header_alloca_h=yes -else - rm -rf conftest* - ac_cv_header_alloca_h=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 -if test $ac_cv_header_alloca_h = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ALLOCA_H 1 -EOF - -fi - -echo $ac_n "checking for alloca""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif -# endif -#endif - -int main() { return 0; } -int t() { -char *p = (char *) alloca(1); -; return 0; } -EOF -if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - ac_cv_func_alloca=yes -else - rm -rf conftest* - ac_cv_func_alloca=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_func_alloca" 1>&6 -if test $ac_cv_func_alloca = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ALLOCA 1 -EOF - -fi - -if test $ac_cv_func_alloca = no; then - # The SVR3 libPW and SVR4 libucb both contain incompatible functions - # that cause trouble. Some versions do not even contain alloca or - # contain a buggy version. If you still want to use their alloca, - # use ar to extract alloca.o from them instead of compiling alloca.c. - ALLOCA=alloca.o - cat >> confdefs.h <<\EOF -#define C_ALLOCA 1 -EOF - - -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5 | - egrep "webecray" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_os_cray=yes -else - rm -rf conftest* - ac_cv_os_cray=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_os_cray" 1>&6 -if test $ac_cv_os_cray = yes; then -for ac_func in _getb67 GETB67 getb67; do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -char $ac_func(); - -int main() { return 0; } -int t() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* - -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <&6 -fi - -done -fi - -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_c_stack_direction=0 -else -cat > conftest.$ac_ext < addr) ? 1 : -1; -} -main () -{ - exit (find_stack_direction() < 0); -} -EOF -{ (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } -if test -s conftest && (./conftest; exit) 2>/dev/null; then - ac_cv_c_stack_direction=1 -else - ac_cv_c_stack_direction=-1 -fi -fi -rm -fr conftest* -fi - -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 -cat >> confdefs.h <&6 -if eval "test \"`echo '$''{'ac_cv_func_strcoll'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_strcoll=no -else -cat > conftest.$ac_ext < -main () -{ - exit (strcoll ("abc", "def") >= 0 || - strcoll ("ABC", "DEF") >= 0 || - strcoll ("123", "456") >= 0); -} -EOF -{ (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } -if test -s conftest && (./conftest; exit) 2>/dev/null; then - ac_cv_func_strcoll=yes -else - ac_cv_func_strcoll=no -fi -fi -rm -fr conftest* -fi - -echo "$ac_t""$ac_cv_func_strcoll" 1>&6 -if test $ac_cv_func_strcoll = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRCOLL 1 -EOF - -fi - -trap '' 1 2 15 -cat > confcache <<\EOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ - >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -cat > conftest.defs <<\EOF -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g -s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -s%\[%\\&%g -s%\]%\\&%g -s%\$%$$%g -EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -rm -f conftest.defs - - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </dev/null | sed 1q`: -# -# $0 $ac_configure_args -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option -do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.7" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=$srcdir - -trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@CC@%$CC%g -s%@AR@%$AR%g -s%@RANLIB@%$RANLIB%g -s%@CPP@%$CPP%g -s%@ALLOCA@%$ALLOCA%g - -CEOF -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust relative srcdir, etc. for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file -fi; done -rm -f conftest.subs - - - -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 - diff --git a/Attic/glob-old/configure.bat b/Attic/glob-old/configure.bat deleted file mode 100644 index f3a0f5d..0000000 --- a/Attic/glob-old/configure.bat +++ /dev/null @@ -1,26 +0,0 @@ -@echo off -echo Configuring glob for GO32 -rem This batch file assumes a unix-type "sed" program - -echo # Makefile generated by "configure.bat"> Makefile - -if exist config.sed del config.sed - -echo "s/@srcdir@/./ ">> config.sed -echo "s/@CC@/gcc/ ">> config.sed -echo "s/@CFLAGS@/-O2 -g/ ">> config.sed -echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../ ">> config.sed -echo "s/@AR@/ar/ ">> config.sed -echo "s/@RANLIB@/ranlib/ ">> config.sed -echo "s/@LDFLAGS@// ">> config.sed -echo "s/@DEFS@// ">> config.sed -echo "s/@ALLOCA@// ">> config.sed -echo "s/@LIBS@// ">> config.sed -echo "s/@LIBOBJS@// ">> config.sed -echo "s/^Makefile *:/_Makefile:/ ">> config.sed -echo "s/^config.h *:/_config.h:/ ">> config.sed - -sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed -sed -f config2.sed Makefile.in >> Makefile -del config.sed -del config2.sed diff --git a/Attic/glob-old/configure.in b/Attic/glob-old/configure.in deleted file mode 100644 index 8dc68e4..0000000 --- a/Attic/glob-old/configure.in +++ /dev/null @@ -1,19 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(fnmatch.c) dnl A distinctive file to look for in srcdir. -AC_PREREQ(2.1) dnl Minimum Autoconf version required. -AC_PROG_CC -AC_CHECK_PROG(AR, ar, ar, ar) -AC_PROG_RANLIB -AC_PROG_CPP dnl Later checks need this. -dnl These two want to come early. -AC_AIX -AC_MINIX -AC_ISC_POSIX -AC_CONST -AC_HEADER_STDC -AC_CHECK_HEADERS(memory.h unistd.h string.h) -AC_HEADER_DIRENT -AC_FUNC_CLOSEDIR_VOID -AC_FUNC_ALLOCA -AC_FUNC_STRCOLL -AC_OUTPUT(Makefile) diff --git a/Attic/glob-old/fnmatch.c b/Attic/glob-old/fnmatch.c deleted file mode 100644 index de45941..0000000 --- a/Attic/glob-old/fnmatch.c +++ /dev/null @@ -1,230 +0,0 @@ -/* Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -/* Enable GNU extensions in fnmatch.h. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif - -#include -#include -#include - - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) - - -#ifndef errno -extern int errno; -#endif - -/* Match STRING against the filename pattern PATTERN, returning zero if - it matches, nonzero if not. */ -int -fnmatch (pattern, string, flags) - const char *pattern; - const char *string; - int flags; -{ - register const char *p = pattern, *n = string; - register char c; - -/* Note that this evalutes C many times. */ -#define FOLD(c) ((flags & FNM_CASEFOLD) && isupper (c) ? tolower (c) : (c)) - - while ((c = *p++) != '\0') - { - c = FOLD (c); - - switch (c) - { - case '?': - if (*n == '\0') - return FNM_NOMATCH; - else if ((flags & FNM_FILE_NAME) && *n == '/') - return FNM_NOMATCH; - else if ((flags & FNM_PERIOD) && *n == '.' && - (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) - return FNM_NOMATCH; - break; - - case '\\': - if (!(flags & FNM_NOESCAPE)) - { - c = *p++; - if (c == '\0') - /* Trailing \ loses. */ - return FNM_NOMATCH; - c = FOLD (c); - } - if (FOLD (*n) != c) - return FNM_NOMATCH; - break; - - case '*': - if ((flags & FNM_PERIOD) && *n == '.' && - (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) - return FNM_NOMATCH; - - for (c = *p++; c == '?' || c == '*'; c = *p++) - { - if ((flags & FNM_FILE_NAME) && *n == '/') - /* A slash does not match a wildcard under FNM_FILE_NAME. */ - return FNM_NOMATCH; - else if (c == '?') - { - /* A ? needs to match one character. */ - if (*n == '\0') - /* There isn't another character; no match. */ - return FNM_NOMATCH; - else - /* One character of the string is consumed in matching - this ? wildcard, so *??? won't match if there are - less than three characters. */ - ++n; - } - } - - if (c == '\0') - return 0; - - { - char c1 = (!(flags & FNM_NOESCAPE) && c == '\\') ? *p : c; - c1 = FOLD (c1); - for (--p; *n != '\0'; ++n) - if ((c == '[' || FOLD (*n) == c1) && - fnmatch (p, n, flags & ~FNM_PERIOD) == 0) - return 0; - return FNM_NOMATCH; - } - - case '[': - { - /* Nonzero if the sense of the character class is inverted. */ - register int not; - - if (*n == '\0') - return FNM_NOMATCH; - - if ((flags & FNM_PERIOD) && *n == '.' && - (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) - return FNM_NOMATCH; - - not = (*p == '!' || *p == '^'); - if (not) - ++p; - - c = *p++; - for (;;) - { - register char cstart = c, cend = c; - - if (!(flags & FNM_NOESCAPE) && c == '\\') - { - if (*p == '\0') - return FNM_NOMATCH; - cstart = cend = *p++; - } - - cstart = cend = FOLD (cstart); - - if (c == '\0') - /* [ (unterminated) loses. */ - return FNM_NOMATCH; - - c = *p++; - c = FOLD (c); - - if ((flags & FNM_FILE_NAME) && c == '/') - /* [/] can never match. */ - return FNM_NOMATCH; - - if (c == '-' && *p != ']') - { - cend = *p++; - if (!(flags & FNM_NOESCAPE) && cend == '\\') - cend = *p++; - if (cend == '\0') - return FNM_NOMATCH; - cend = FOLD (cend); - - c = *p++; - } - - if (FOLD (*n) >= cstart && FOLD (*n) <= cend) - goto matched; - - if (c == ']') - break; - } - if (!not) - return FNM_NOMATCH; - break; - - matched:; - /* Skip the rest of the [...] that already matched. */ - while (c != ']') - { - if (c == '\0') - /* [... (unterminated) loses. */ - return FNM_NOMATCH; - - c = *p++; - if (!(flags & FNM_NOESCAPE) && c == '\\') - { - if (*p == '\0') - return FNM_NOMATCH; - /* XXX 1003.2d11 is unclear if this is right. */ - ++p; - } - } - if (not) - return FNM_NOMATCH; - } - break; - - default: - if (c != FOLD (*n)) - return FNM_NOMATCH; - } - - ++n; - } - - if (*n == '\0') - return 0; - - if ((flags & FNM_LEADING_DIR) && *n == '/') - /* The FNM_LEADING_DIR flag says that "foo*" matches "foobar/frobozz". */ - return 0; - - return FNM_NOMATCH; -} - -#endif /* _LIBC or not __GNU_LIBRARY__. */ diff --git a/Attic/glob-old/fnmatch.h b/Attic/glob-old/fnmatch.h deleted file mode 100644 index 9a0036e..0000000 --- a/Attic/glob-old/fnmatch.h +++ /dev/null @@ -1,68 +0,0 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -#ifndef _FNMATCH_H - -#define _FNMATCH_H 1 - -#ifdef __cplusplus -extern "C" { -#endif - -#if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \ - || defined (WIN32)) -#undef __P -#define __P(protos) protos -#else /* Not C++ or ANSI C. */ -#undef __P -#define __P(protos) () -/* We can get away without defining `const' here only because in this file - it is used only inside the prototype for `fnmatch', which is elided in - non-ANSI C where `const' is problematical. */ -#endif /* C++ or ANSI C. */ - - -/* We #undef these before defining them because some losing systems - (HP-UX A.08.07 for example) define these in . */ -#undef FNM_PATHNAME -#undef FNM_NOESCAPE -#undef FNM_PERIOD - -/* Bits set in the FLAGS argument to `fnmatch'. */ -#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ -#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ -#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ - -#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE) -#define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */ -#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ -#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ -#endif - -/* Value returned by `fnmatch' if STRING does not match PATTERN. */ -#define FNM_NOMATCH 1 - -/* Match STRING against the filename pattern PATTERN, - returning zero if it matches, FNM_NOMATCH if not. */ -extern int fnmatch __P ((const char *__pattern, const char *__string, - int __flags)); - -#ifdef __cplusplus -} -#endif - -#endif /* fnmatch.h */ diff --git a/Attic/glob-old/glob.c b/Attic/glob-old/glob.c deleted file mode 100644 index 76060e1..0000000 --- a/Attic/glob-old/glob.c +++ /dev/null @@ -1,906 +0,0 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -/* AIX requires this to be the first thing in the file. */ -#if defined (_AIX) && !defined (__GNUC__) - #pragma alloca -#endif - -#ifdef HAVE_CONFIG_H -#include -#endif - -/* Enable GNU extensions in glob.h. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif - -#include -#include -#include - - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GLOB_INTERFACE_VERSION 1 -#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 -#include -#if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION -#define ELIDE_CODE -#endif -#endif - -#ifndef ELIDE_CODE - -#ifdef STDC_HEADERS -#include -#endif - -#ifdef HAVE_UNISTD_H -#include -#ifndef POSIX -#ifdef _POSIX_VERSION -#define POSIX -#endif -#endif -#endif - -#if !defined (_AMIGA) && !defined (VMS) && !defined(WIN32) -#include -#endif - -#if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS) -extern int errno; -#endif - -#ifndef NULL -#define NULL 0 -#endif - - -#if defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__) -# include -# define NAMLEN(dirent) strlen((dirent)->d_name) -#else -# define dirent direct -# define NAMLEN(dirent) (dirent)->d_namlen -# ifdef HAVE_SYS_NDIR_H -# include -# endif -# ifdef HAVE_SYS_DIR_H -# include -# endif -# ifdef HAVE_NDIR_H -# include -# endif -# ifdef HAVE_VMSDIR_H -# include "vmsdir.h" -# endif /* HAVE_VMSDIR_H */ -#endif - - -/* In GNU systems, defines this macro for us. */ -#ifdef _D_NAMLEN -#undef NAMLEN -#define NAMLEN(d) _D_NAMLEN(d) -#endif - - -#if (defined (POSIX) || defined (WIN32)) && !defined (__GNU_LIBRARY__) -/* Posix does not require that the d_ino field be present, and some - systems do not provide it. */ -#define REAL_DIR_ENTRY(dp) 1 -#else -#define REAL_DIR_ENTRY(dp) (dp->d_ino != 0) -#endif /* POSIX */ - -#if (defined (STDC_HEADERS) || defined (__GNU_LIBRARY__)) -#include -#include -#define ANSI_STRING -#else /* No standard headers. */ - -extern char *getenv (); - -#ifdef HAVE_STRING_H -#include -#define ANSI_STRING -#else -#include -#endif -#ifdef HAVE_MEMORY_H -#include -#endif - -extern char *malloc (), *realloc (); -extern void free (); - -extern void qsort (); -extern void abort (), exit (); - -#endif /* Standard headers. */ - -#ifndef ANSI_STRING - -#ifndef bzero -extern void bzero (); -#endif -#ifndef bcopy -extern void bcopy (); -#endif - -#define memcpy(d, s, n) bcopy ((s), (d), (n)) -#define strrchr rindex -/* memset is only used for zero here, but let's be paranoid. */ -#define memset(s, better_be_zero, n) \ - ((void) ((better_be_zero) == 0 ? (bzero((s), (n)), 0) : (abort(), 0))) -#endif /* Not ANSI_STRING. */ - -#ifndef HAVE_STRCOLL -#define strcoll strcmp -#endif - - -#ifndef __GNU_LIBRARY__ -#ifdef __GNUC__ -__inline -#endif -#ifndef __SASC -#ifdef WIN32 -static void * -#else -static char * -#endif -my_realloc (p, n) - char *p; - unsigned int n; -{ - /* These casts are the for sake of the broken Ultrix compiler, - which warns of illegal pointer combinations otherwise. */ - if (p == NULL) - return (char *) malloc (n); - return (char *) realloc (p, n); -} -#define realloc my_realloc -#endif /* __SASC */ -#endif /* __GNU_LIBRARY__ */ - - -#if !defined(__alloca) && !defined(__GNU_LIBRARY__) - -#ifdef __GNUC__ -#undef alloca -#define alloca(n) __builtin_alloca (n) -#else /* Not GCC. */ -#ifdef HAVE_ALLOCA_H -#include -#else /* Not HAVE_ALLOCA_H. */ -#ifndef _AIX -#ifdef WIN32 -#include -#else -extern char *alloca (); -#endif /* WIN32 */ -#endif /* Not _AIX. */ -#endif /* sparc or HAVE_ALLOCA_H. */ -#endif /* GCC. */ - -#define __alloca alloca - -#endif - -#ifndef __GNU_LIBRARY__ -#define __stat stat -#ifdef STAT_MACROS_BROKEN -#undef S_ISDIR -#endif -#ifndef S_ISDIR -#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) -#endif -#endif - -#ifndef STDC_HEADERS -#undef size_t -#define size_t unsigned int -#endif - -/* Some system header files erroneously define these. - We want our own definitions from to take precedence. */ -#undef FNM_PATHNAME -#undef FNM_NOESCAPE -#undef FNM_PERIOD -#include - -/* Some system header files erroneously define these. - We want our own definitions from to take precedence. */ -#undef GLOB_ERR -#undef GLOB_MARK -#undef GLOB_NOSORT -#undef GLOB_DOOFFS -#undef GLOB_NOCHECK -#undef GLOB_APPEND -#undef GLOB_NOESCAPE -#undef GLOB_PERIOD -#include - -static int glob_pattern_p __P ((const char *pattern, int quote)); -static int glob_in_dir __P ((const char *pattern, const char *directory, - int flags, - int (*errfunc) __P ((const char *, int)), - glob_t *pglob)); -static int prefix_array __P ((const char *prefix, char **array, size_t n)); -static int collated_compare __P ((const __ptr_t, const __ptr_t)); - -/* Do glob searching for PATTERN, placing results in PGLOB. - The bits defined above may be set in FLAGS. - If a directory cannot be opened or read and ERRFUNC is not nil, - it is called with the pathname that caused the error, and the - `errno' value from the failing call; if it returns non-zero - `glob' returns GLOB_ABEND; if it returns zero, the error is ignored. - If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned. - Otherwise, `glob' returns zero. */ -int -glob (pattern, flags, errfunc, pglob) - const char *pattern; - int flags; - int (*errfunc) __P ((const char *, int)); - glob_t *pglob; -{ - const char *filename; - char *dirname; - size_t dirlen; - int status; - int oldcount; - - if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) - { - errno = EINVAL; - return -1; - } - - if (flags & GLOB_BRACE) - { - const char *begin = strchr (pattern, '{'); - if (begin != NULL) - { - int firstc; - size_t restlen; - const char *p, *end, *next; - unsigned int depth = 0; - - /* Find the end of the brace expression, by counting braces. - While we're at it, notice the first comma at top brace level. */ - end = begin + 1; - next = NULL; - while (1) - { - switch (*end++) - { - case ',': - if (depth == 0 && next == NULL) - next = end; - continue; - case '{': - ++depth; - continue; - case '}': - if (depth-- == 0) - break; - continue; - case '\0': - return glob (pattern, flags &~ GLOB_BRACE, errfunc, pglob); - } - break; - } - restlen = strlen (end) + 1; - if (next == NULL) - next = end; - - /* We have a brace expression. BEGIN points to the opening {, - NEXT points past the terminator of the first element, and END - points past the final }. We will accumulate result names from - recursive runs for each brace alternative in the buffer using - GLOB_APPEND. */ - - if (!(flags & GLOB_APPEND)) - { - /* This call is to set a new vector, so clear out the - vector so we can append to it. */ - pglob->gl_pathc = 0; - pglob->gl_pathv = NULL; - } - firstc = pglob->gl_pathc; - - /* In this loop P points to the beginning of the current element - and NEXT points past its terminator. */ - p = begin + 1; - while (1) - { - /* Construct a whole name that is one of the brace - alternatives in a temporary buffer. */ - int result; - size_t bufsz = (begin - pattern) + (next - 1 - p) + restlen; -#ifdef __GNUC__ - char onealt[bufsz]; -#else - char *onealt = malloc (bufsz); - if (onealt == NULL) - { - if (!(flags & GLOB_APPEND)) - globfree (pglob); - return GLOB_NOSPACE; - } -#endif - memcpy (onealt, pattern, begin - pattern); - memcpy (&onealt[begin - pattern], p, next - 1 - p); - memcpy (&onealt[(begin - pattern) + (next - 1 - p)], - end, restlen); - result = glob (onealt, - ((flags & ~(GLOB_NOCHECK|GLOB_NOMAGIC)) | - GLOB_APPEND), errfunc, pglob); -#ifndef __GNUC__ - free (onealt); -#endif - - /* If we got an error, return it. */ - if (result && result != GLOB_NOMATCH) - { - if (!(flags & GLOB_APPEND)) - globfree (pglob); - return result; - } - - /* Advance past this alternative and process the next. */ - p = next; - depth = 0; - scan: - switch (*p++) - { - case ',': - if (depth == 0) - { - /* Found the next alternative. Loop to glob it. */ - next = p; - continue; - } - goto scan; - case '{': - ++depth; - goto scan; - case '}': - if (depth-- == 0) - /* End of the brace expression. Break out of the loop. */ - break; - goto scan; - } - } - - if (pglob->gl_pathc == firstc && - !(flags & (GLOB_NOCHECK|GLOB_NOMAGIC))) - return GLOB_NOMATCH; - } - } - - /* Find the filename. */ - filename = strrchr (pattern, '/'); - if (filename == NULL) - { - filename = pattern; -#ifdef _AMIGA - dirname = (char *) ""; -#else - dirname = (char *) "."; -#endif - dirlen = 0; - } - else if (filename == pattern) - { - /* "/pattern". */ - dirname = (char *) "/"; - dirlen = 1; - ++filename; - } - else - { - dirlen = filename - pattern; - dirname = (char *) __alloca (dirlen + 1); - memcpy (dirname, pattern, dirlen); - dirname[dirlen] = '\0'; - ++filename; - } - - if (filename[0] == '\0' && dirlen > 1) - /* "pattern/". Expand "pattern", appending slashes. */ - { - int val = glob (dirname, flags | GLOB_MARK, errfunc, pglob); - if (val == 0) - pglob->gl_flags = (pglob->gl_flags & ~GLOB_MARK) | (flags & GLOB_MARK); - return val; - } - - if (!(flags & GLOB_APPEND)) - { - pglob->gl_pathc = 0; - pglob->gl_pathv = NULL; - } - - oldcount = pglob->gl_pathc; - -#ifndef VMS - if ((flags & GLOB_TILDE) && dirname[0] == '~') - { - if (dirname[1] == '\0') - { - /* Look up home directory. */ - dirname = getenv ("HOME"); -#ifdef _AMIGA - if (dirname == NULL || dirname[0] == '\0') - dirname = "SYS:"; -#else -#ifdef WIN32 - if (dirname == NULL || dirname[0] == '\0') - dirname = "c:/users/default"; /* poor default */ -#else - if (dirname == NULL || dirname[0] == '\0') - { - extern char *getlogin __P ((void)); - char *name = getlogin (); - if (name != NULL) - { - struct passwd *p = getpwnam (name); - if (p != NULL) - dirname = p->pw_dir; - } - } - if (dirname == NULL || dirname[0] == '\0') - dirname = (char *) "~"; /* No luck. */ -#endif /* WIN32 */ -#endif - } - else - { -#ifdef _AMIGA - if (dirname == NULL || dirname[0] == '\0') - dirname = "SYS:"; -#else -#ifdef WIN32 - if (dirname == NULL || dirname[0] == '\0') - dirname = "c:/users/default"; /* poor default */ -#else - /* Look up specific user's home directory. */ - struct passwd *p = getpwnam (dirname + 1); - if (p != NULL) - dirname = p->pw_dir; -#endif /* WIN32 */ -#endif - } - } -#endif /* Not VMS. */ - - if (glob_pattern_p (dirname, !(flags & GLOB_NOESCAPE))) - { - /* The directory name contains metacharacters, so we - have to glob for the directory, and then glob for - the pattern in each directory found. */ - glob_t dirs; - register int i; - - status = glob (dirname, - ((flags & (GLOB_ERR | GLOB_NOCHECK | GLOB_NOESCAPE)) | - GLOB_NOSORT), - errfunc, &dirs); - if (status != 0) - return status; - - /* We have successfully globbed the preceding directory name. - For each name we found, call glob_in_dir on it and FILENAME, - appending the results to PGLOB. */ - for (i = 0; i < dirs.gl_pathc; ++i) - { - int oldcount; - -#ifdef SHELL - { - /* Make globbing interruptible in the bash shell. */ - extern int interrupt_state; - - if (interrupt_state) - { - globfree (&dirs); - globfree (&files); - return GLOB_ABEND; - } - } -#endif /* SHELL. */ - - oldcount = pglob->gl_pathc; - status = glob_in_dir (filename, dirs.gl_pathv[i], - (flags | GLOB_APPEND) & ~GLOB_NOCHECK, - errfunc, pglob); - if (status == GLOB_NOMATCH) - /* No matches in this directory. Try the next. */ - continue; - - if (status != 0) - { - globfree (&dirs); - globfree (pglob); - return status; - } - - /* Stick the directory on the front of each name. */ - if (prefix_array (dirs.gl_pathv[i], - &pglob->gl_pathv[oldcount], - pglob->gl_pathc - oldcount)) - { - globfree (&dirs); - globfree (pglob); - return GLOB_NOSPACE; - } - } - - flags |= GLOB_MAGCHAR; - - if (pglob->gl_pathc == oldcount) - /* No matches. */ - if (flags & GLOB_NOCHECK) - { - size_t len = strlen (pattern) + 1; - char *patcopy = (char *) malloc (len); - if (patcopy == NULL) - return GLOB_NOSPACE; - memcpy (patcopy, pattern, len); - - pglob->gl_pathv - = (char **) realloc (pglob->gl_pathv, - (pglob->gl_pathc + - ((flags & GLOB_DOOFFS) ? - pglob->gl_offs : 0) + - 1 + 1) * - sizeof (char *)); - if (pglob->gl_pathv == NULL) - { - free (patcopy); - return GLOB_NOSPACE; - } - - if (flags & GLOB_DOOFFS) - while (pglob->gl_pathc < pglob->gl_offs) - pglob->gl_pathv[pglob->gl_pathc++] = NULL; - - pglob->gl_pathv[pglob->gl_pathc++] = patcopy; - pglob->gl_pathv[pglob->gl_pathc] = NULL; - pglob->gl_flags = flags; - } - else - return GLOB_NOMATCH; - } - else - { - status = glob_in_dir (filename, dirname, flags, errfunc, pglob); - if (status != 0) - return status; - - if (dirlen > 0) - { - /* Stick the directory on the front of each name. */ - if (prefix_array (dirname, - &pglob->gl_pathv[oldcount], - pglob->gl_pathc - oldcount)) - { - globfree (pglob); - return GLOB_NOSPACE; - } - } - } - - if (flags & GLOB_MARK) - { - /* Append slashes to directory names. */ - int i; - struct stat st; - for (i = oldcount; i < pglob->gl_pathc; ++i) - if (((flags & GLOB_ALTDIRFUNC) ? - (*pglob->gl_stat) (pglob->gl_pathv[i], &st) : - __stat (pglob->gl_pathv[i], &st)) == 0 && - S_ISDIR (st.st_mode)) - { - size_t len = strlen (pglob->gl_pathv[i]) + 2; - char *new = realloc (pglob->gl_pathv[i], len); - if (new == NULL) - { - globfree (pglob); - return GLOB_NOSPACE; - } - strcpy (&new[len - 2], "/"); - pglob->gl_pathv[i] = new; - } - } - - if (!(flags & GLOB_NOSORT)) - /* Sort the vector. */ - qsort ((__ptr_t) &pglob->gl_pathv[oldcount], - pglob->gl_pathc - oldcount, - sizeof (char *), collated_compare); - - return 0; -} - - -/* Free storage allocated in PGLOB by a previous `glob' call. */ -void -globfree (pglob) - register glob_t *pglob; -{ - if (pglob->gl_pathv != NULL) - { - register int i; - for (i = 0; i < pglob->gl_pathc; ++i) - if (pglob->gl_pathv[i] != NULL) - free ((__ptr_t) pglob->gl_pathv[i]); - free ((__ptr_t) pglob->gl_pathv); - } -} - - -/* Do a collated comparison of A and B. */ -static int -collated_compare (a, b) - const __ptr_t a; - const __ptr_t b; -{ - const char *const s1 = *(const char *const * const) a; - const char *const s2 = *(const char *const * const) b; - - if (s1 == s2) - return 0; - if (s1 == NULL) - return 1; - if (s2 == NULL) - return -1; - return strcoll (s1, s2); -} - - -/* Prepend DIRNAME to each of N members of ARRAY, replacing ARRAY's - elements in place. Return nonzero if out of memory, zero if successful. - A slash is inserted between DIRNAME and each elt of ARRAY, - unless DIRNAME is just "/". Each old element of ARRAY is freed. */ -static int -prefix_array (dirname, array, n) - const char *dirname; - char **array; - size_t n; -{ - register size_t i; - size_t dirlen = strlen (dirname); - - if (dirlen == 1 && dirname[0] == '/') - /* DIRNAME is just "/", so normal prepending would get us "//foo". - We want "/foo" instead, so don't prepend any chars from DIRNAME. */ - dirlen = 0; - - for (i = 0; i < n; ++i) - { - size_t eltlen = strlen (array[i]) + 1; - char *new = (char *) malloc (dirlen + 1 + eltlen); - if (new == NULL) - { - while (i > 0) - free ((__ptr_t) array[--i]); - return 1; - } - - memcpy (new, dirname, dirlen); - new[dirlen] = '/'; - memcpy (&new[dirlen + 1], array[i], eltlen); - free ((__ptr_t) array[i]); - array[i] = new; - } - - return 0; -} - - -/* Return nonzero if PATTERN contains any metacharacters. - Metacharacters can be quoted with backslashes if QUOTE is nonzero. */ -static int -glob_pattern_p (pattern, quote) - const char *pattern; - int quote; -{ - register const char *p; - int open = 0; - - for (p = pattern; *p != '\0'; ++p) - switch (*p) - { - case '?': - case '*': - return 1; - - case '\\': - if (quote && p[1] != '\0') - ++p; - break; - - case '[': - open = 1; - break; - - case ']': - if (open) - return 1; - break; - } - - return 0; -} - - -/* Like `glob', but PATTERN is a final pathname component, - and matches are searched for in DIRECTORY. - The GLOB_NOSORT bit in FLAGS is ignored. No sorting is ever done. - The GLOB_APPEND flag is assumed to be set (always appends). */ -static int -glob_in_dir (pattern, directory, flags, errfunc, pglob) - const char *pattern; - const char *directory; - int flags; - int (*errfunc) __P ((const char *, int)); - glob_t *pglob; -{ - __ptr_t stream; - - struct globlink - { - struct globlink *next; - char *name; - }; - struct globlink *names = NULL; - size_t nfound = 0; - - if (!glob_pattern_p (pattern, !(flags & GLOB_NOESCAPE))) - { - stream = NULL; - flags |= GLOB_NOCHECK; - } - else - { - flags |= GLOB_MAGCHAR; - - stream = ((flags & GLOB_ALTDIRFUNC) ? - (*pglob->gl_opendir) (directory) : - (__ptr_t) opendir (directory)); - if (stream == NULL) - { - if ((errfunc != NULL && (*errfunc) (directory, errno)) || - (flags & GLOB_ERR)) - return GLOB_ABEND; - } - else - while (1) - { - const char *name; - size_t len; - struct dirent *d = ((flags & GLOB_ALTDIRFUNC) ? - (*pglob->gl_readdir) (stream) : - readdir ((DIR *) stream)); - if (d == NULL) - break; - if (! REAL_DIR_ENTRY (d)) - continue; - - name = d->d_name; - - if (fnmatch (pattern, name, - (!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0) | - ((flags & GLOB_NOESCAPE) ? FNM_NOESCAPE : 0) -#ifdef _AMIGA - | FNM_CASEFOLD -#endif - ) == 0) - { - struct globlink *new - = (struct globlink *) __alloca (sizeof (struct globlink)); - len = NAMLEN (d); - new->name - = (char *) malloc (len + 1); - if (new->name == NULL) - goto memory_error; - memcpy ((__ptr_t) new->name, name, len); - new->name[len] = '\0'; - new->next = names; - names = new; - ++nfound; - } - } - } - - if (nfound == 0 && (flags & GLOB_NOMAGIC) && - ! glob_pattern_p (pattern, !(flags & GLOB_NOESCAPE))) - flags |= GLOB_NOCHECK; - - if (nfound == 0 && (flags & GLOB_NOCHECK)) - { - size_t len = strlen (pattern); - nfound = 1; - names = (struct globlink *) __alloca (sizeof (struct globlink)); - names->next = NULL; - names->name = (char *) malloc (len + 1); - if (names->name == NULL) - goto memory_error; - memcpy (names->name, pattern, len); - names->name[len] = '\0'; - } - - pglob->gl_pathv - = (char **) realloc (pglob->gl_pathv, - (pglob->gl_pathc + - ((flags & GLOB_DOOFFS) ? pglob->gl_offs : 0) + - nfound + 1) * - sizeof (char *)); - if (pglob->gl_pathv == NULL) - goto memory_error; - - if (flags & GLOB_DOOFFS) - while (pglob->gl_pathc < pglob->gl_offs) - pglob->gl_pathv[pglob->gl_pathc++] = NULL; - - for (; names != NULL; names = names->next) - pglob->gl_pathv[pglob->gl_pathc++] = names->name; - pglob->gl_pathv[pglob->gl_pathc] = NULL; - - pglob->gl_flags = flags; - - if (stream != NULL) - { - int save = errno; - if (flags & GLOB_ALTDIRFUNC) - (*pglob->gl_closedir) (stream); - else - closedir ((DIR *) stream); - errno = save; - } - return nfound == 0 ? GLOB_NOMATCH : 0; - - memory_error: - { - int save = errno; - if (flags & GLOB_ALTDIRFUNC) - (*pglob->gl_closedir) (stream); - else - closedir ((DIR *) stream); - errno = save; - } - while (names != NULL) - { - if (names->name != NULL) - free ((__ptr_t) names->name); - names = names->next; - } - return GLOB_NOSPACE; -} - -#endif /* Not ELIDE_CODE. */ - diff --git a/Attic/glob-old/glob.h b/Attic/glob-old/glob.h deleted file mode 100644 index 19b1d26..0000000 --- a/Attic/glob-old/glob.h +++ /dev/null @@ -1,108 +0,0 @@ -/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -#ifndef _GLOB_H - -#define _GLOB_H 1 - -#ifdef __cplusplus -extern "C" -{ -#endif - -#undef __ptr_t -#if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \ - || defined (WIN32)) -#undef __P -#define __P(protos) protos -#define __ptr_t void * -#else /* Not C++ or ANSI C. */ -#undef __P -#define __P(protos) () -#undef const -#define const -#define __ptr_t char * -#endif /* C++ or ANSI C. */ - -/* Bits set in the FLAGS argument to `glob'. */ -#define GLOB_ERR (1 << 0)/* Return on read errors. */ -#define GLOB_MARK (1 << 1)/* Append a slash to each name. */ -#define GLOB_NOSORT (1 << 2)/* Don't sort the names. */ -#define GLOB_DOOFFS (1 << 3)/* Insert PGLOB->gl_offs NULLs. */ -#define GLOB_NOCHECK (1 << 4)/* If nothing matches, return the pattern. */ -#define GLOB_APPEND (1 << 5)/* Append to results of a previous call. */ -#define GLOB_NOESCAPE (1 << 6)/* Backslashes don't quote metacharacters. */ -#define GLOB_PERIOD (1 << 7)/* Leading `.' can be matched by metachars. */ -#define __GLOB_FLAGS (GLOB_ERR|GLOB_MARK|GLOB_NOSORT|GLOB_DOOFFS| \ - GLOB_NOESCAPE|GLOB_NOCHECK|GLOB_APPEND| \ - GLOB_PERIOD|GLOB_ALTDIRFUNC|GLOB_BRACE| \ - GLOB_NOMAGIC|GLOB_TILDE) - -#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_BSD_SOURCE) || defined(_GNU_SOURCE) -#define GLOB_MAGCHAR (1 << 8)/* Set in gl_flags if any metachars seen. */ -#define GLOB_ALTDIRFUNC (1 << 9)/* Use gl_opendir et al functions. */ -#define GLOB_BRACE (1 << 10)/* Expand "{a,b}" to "a" "b". */ -#define GLOB_NOMAGIC (1 << 11)/* If no magic chars, return the pattern. */ -#define GLOB_TILDE (1 <<12)/* Expand ~user and ~ to home directories. */ -#endif - -/* Error returns from `glob'. */ -#define GLOB_NOSPACE 1 /* Ran out of memory. */ -#define GLOB_ABEND 2 /* Read error. */ -#define GLOB_NOMATCH 3 /* No matches found. */ - -/* Structure describing a globbing run. */ -#if !defined (_AMIGA) && !defined (VMS) /* Buggy compiler. */ -struct stat; -#endif -typedef struct - { - int gl_pathc; /* Count of paths matched by the pattern. */ - char **gl_pathv; /* List of matched pathnames. */ - int gl_offs; /* Slots to reserve in `gl_pathv'. */ - int gl_flags; /* Set to FLAGS, maybe | GLOB_MAGCHAR. */ - - /* If the GLOB_ALTDIRFUNC flag is set, the following functions - are used instead of the normal file access functions. */ - void (*gl_closedir) __P ((void *)); - struct dirent *(*gl_readdir) __P ((void *)); - __ptr_t (*gl_opendir) __P ((const char *)); - int (*gl_lstat) __P ((const char *, struct stat *)); - int (*gl_stat) __P ((const char *, struct stat *)); - } glob_t; - -/* Do glob searching for PATTERN, placing results in PGLOB. - The bits defined above may be set in FLAGS. - If a directory cannot be opened or read and ERRFUNC is not nil, - it is called with the pathname that caused the error, and the - `errno' value from the failing call; if it returns non-zero - `glob' returns GLOB_ABEND; if it returns zero, the error is ignored. - If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned. - Otherwise, `glob' returns zero. */ -extern int glob __P ((const char *__pattern, int __flags, - int (*__errfunc) __P ((const char *, int)), - glob_t *__pglob)); - -/* Free storage allocated in PGLOB by a previous `glob' call. */ -extern void globfree __P ((glob_t *__pglob)); - - -#ifdef __cplusplus -} -#endif - -#endif /* glob.h */ diff --git a/doc/.cvsignore b/doc/.gitignore similarity index 77% rename from doc/.cvsignore rename to doc/.gitignore index 9793508..a5ee19f 100644 --- a/doc/.cvsignore +++ b/doc/.gitignore @@ -1,4 +1,4 @@ -*inetutils.info* +inetutils.info* Makefile Makefile.in fdl-1.3.texi diff --git a/ftp/.cvsignore b/ftp/.cvsignore deleted file mode 100644 index 01a44fc..0000000 --- a/ftp/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -ftp - diff --git a/ftp/.gitignore b/ftp/.gitignore new file mode 100644 index 0000000..c4db1fa --- /dev/null +++ b/ftp/.gitignore @@ -0,0 +1 @@ +ftp diff --git a/ftpd/.cvsignore b/ftpd/.cvsignore deleted file mode 100644 index d63a99e..0000000 --- a/ftpd/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -ftpd -ftpcmd.c diff --git a/ftpd/.gitignore b/ftpd/.gitignore new file mode 100644 index 0000000..bd4c0a6 --- /dev/null +++ b/ftpd/.gitignore @@ -0,0 +1,2 @@ +ftpd +ftpcmd.c diff --git a/gwhois/.cvsignore b/gwhois/.cvsignore deleted file mode 100644 index 40d26c3..0000000 --- a/gwhois/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile.in -Makefile -.deps -whois -as_del.h -ip_del.h -tld_serv.h diff --git a/gwhois/.gitignore b/gwhois/.gitignore new file mode 100644 index 0000000..6e0d83f --- /dev/null +++ b/gwhois/.gitignore @@ -0,0 +1,4 @@ +whois +as_del.h +ip_del.h +tld_serv.h diff --git a/headers/.cvsignore b/headers/.cvsignore deleted file mode 100644 index 3dda729..0000000 --- a/headers/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile.in -Makefile diff --git a/hostname/.cvsignore b/hostname/.cvsignore deleted file mode 100644 index 4540de8..0000000 --- a/hostname/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -.deps -Makefile -Makefile.in -hostname diff --git a/hostname/.gitignore b/hostname/.gitignore new file mode 100644 index 0000000..ecd88ae --- /dev/null +++ b/hostname/.gitignore @@ -0,0 +1 @@ +hostname diff --git a/ifconfig/.cvsignore b/ifconfig/.cvsignore deleted file mode 100644 index b35dbae..0000000 --- a/ifconfig/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -ifconfig - diff --git a/ifconfig/.gitignore b/ifconfig/.gitignore new file mode 100644 index 0000000..e2af53a --- /dev/null +++ b/ifconfig/.gitignore @@ -0,0 +1,2 @@ +ifconfig + diff --git a/ifconfig/system/.cvsignore b/ifconfig/system/.cvsignore deleted file mode 100644 index d436efd..0000000 --- a/ifconfig/system/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile.in -Makefile - diff --git a/inetd/.cvsignore b/inetd/.cvsignore deleted file mode 100644 index 5f41d59..0000000 --- a/inetd/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -inetd - diff --git a/inetd/.gitignore b/inetd/.gitignore new file mode 100644 index 0000000..4c730e4 --- /dev/null +++ b/inetd/.gitignore @@ -0,0 +1,2 @@ +inetd + diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 0000000..f9d57b1 --- /dev/null +++ b/lib/.gitignore @@ -0,0 +1,238 @@ +alignof.h +alloca.c +alloca.h +alloca.in.h +argp-ba.c +argp-eexst.c +argp-fmtstream.c +argp-fmtstream.h +argp-fs-xinl.c +argp-help.c +argp-namefrob.h +argp-parse.c +argp-pin.c +argp-pv.c +argp-pvh.c +argp-version-etc.c +argp-version-etc.h +argp-xinl.c +argp.h +asnprintf.c +at-func.c +basename.c +btowc.c +canonicalize-lgpl.c +canonicalize.h +chdir-long.c +chdir-long.h +charset.alias +chown.c +close-hook.c +close-hook.h +close.c +config.charset +configmake.h +creat-safer.c +dirent.h +dirent.in.h +dirfd.c +dirname.c +dirname.h +dup-safer.c +dup2.c +errno.h +errno.in.h +error.c +error.h +exitfail.c +exitfail.h +fchdir.c +fchmodat.c +fchown-stub.c +fchownat.c +fclose.c +fcntl--.h +fcntl-safer.h +fcntl.h +fcntl.in.h +fd-safer.c +filemode.c +filemode.h +float+.h +float.h +float.in.h +fnmatch.c +fnmatch.h +fnmatch.in.h +fnmatch_loop.c +fopen-safer.c +fseeko.c +fstatat.c +getcwd.c +getdelim.c +getdomainname.c +gethostname.c +getline.c +getlogin_r.c +getopt.c +getopt.h +getopt.in.h +getopt1.c +getopt_int.h +getpagesize.c +getpass.c +getpass.h +gettext.h +getusershell.c +glob-libc.h +glob.c +glob.h +glob.in.h +gnulib.mk +imaxtostr.c +intprops.h +inttostr.c +inttostr.h +lchown.c +localcharset.c +localcharset.h +lseek.c +lstat.c +malloc.c +malloca.c +malloca.h +malloca.valgrind +mbrtowc.c +mbsinit.c +mbsrtowcs-state.c +mbsrtowcs.c +memchr.c +memchr.valgrind +mempcpy.c +memrchr.c +minmax.h +mkdirat.c +obstack.c +obstack.h +offtostr.c +open-safer.c +open.c +openat-die.c +openat-priv.h +openat-proc.c +openat.c +openat.h +pathmax.h +pipe-safer.c +poll.c +poll.h +poll.in.h +printf-args.c +printf-args.h +printf-parse.c +printf-parse.h +progname.c +progname.h +rawmemchr.c +rawmemchr.valgrind +readline.c +readline.h +readlink.c +readutmp.c +readutmp.h +realloc.c +ref-add.sed +ref-add.sin +ref-del.sed +ref-del.sin +regcomp.c +regex.c +regex.h +regex_internal.c +regex_internal.h +regexec.c +same-inode.h +save-cwd.c +save-cwd.h +select.c +setenv.c +size_max.h +sleep.c +snprintf.c +sockets.c +sockets.h +stdarg.h +stdarg.in.h +stdbool.h +stdbool.in.h +stddef.h +stddef.in.h +stdint.h +stdint.in.h +stdio--.h +stdio-impl.h +stdio-safer.h +stdio-write.c +stdio.h +stdio.in.h +stdlib.h +stdlib.in.h +strcasecmp.c +strchrnul.c +strchrnul.valgrind +strdup.c +streq.h +strerror.c +string.h +string.in.h +strings.h +strings.in.h +stripslash.c +strncasecmp.c +strndup.c +strnlen.c +strnlen1.c +strnlen1.h +sys +sys_select.h +sys_select.in.h +sys_socket.h +sys_socket.in.h +sys_stat.h +sys_stat.in.h +sys_time.h +sys_time.in.h +sysexits.h +sysexits.in.h +uinttostr.c +umaxtostr.c +unistd--.h +unistd-safer.h +unistd.h +unistd.in.h +unlocked-io.h +vasnprintf.c +vasnprintf.h +verify.h +version-etc-fsf.c +version-etc.c +version-etc.h +vsnprintf.c +w32sock.h +wchar.h +wchar.in.h +wcrtomb.c +wctype.h +wctype.in.h +xalloc-die.c +xalloc.h +xgetcwd.c +xgetcwd.h +xgetdomainname.c +xgetdomainname.h +xgethostname.c +xgethostname.h +xmalloc.c +xsize.h +xstrndup.c +xstrndup.h diff --git a/libicmp/.cvsignore b/libicmp/.cvsignore deleted file mode 100644 index 365aaa5..0000000 --- a/libicmp/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -libicmp.a diff --git a/libicmp/.gitignore b/libicmp/.gitignore new file mode 100644 index 0000000..5d3c536 --- /dev/null +++ b/libicmp/.gitignore @@ -0,0 +1 @@ +libicmp.a diff --git a/libinetutils/.cvsignore b/libinetutils/.cvsignore deleted file mode 100644 index e440faf..0000000 --- a/libinetutils/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile.in -Makefile -.deps diff --git a/libls/.cvsignore b/libls/.cvsignore deleted file mode 100644 index e440faf..0000000 --- a/libls/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile.in -Makefile -.deps diff --git a/libtelnet/.cvsignore b/libtelnet/.cvsignore deleted file mode 100644 index e440faf..0000000 --- a/libtelnet/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile.in -Makefile -.deps diff --git a/logger/.cvsignore b/logger/.cvsignore deleted file mode 100644 index 00cec7c..0000000 --- a/logger/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -logger - diff --git a/logger/.gitignore b/logger/.gitignore new file mode 100644 index 0000000..ff0edb1 --- /dev/null +++ b/logger/.gitignore @@ -0,0 +1,2 @@ +logger + diff --git a/ping/.cvsignore b/ping/.cvsignore deleted file mode 100644 index 8535ddb..0000000 --- a/ping/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -ping -ping6 diff --git a/ping/.gitignore b/ping/.gitignore new file mode 100644 index 0000000..5c3aa65 --- /dev/null +++ b/ping/.gitignore @@ -0,0 +1,2 @@ +ping +ping6 diff --git a/rcp/.cvsignore b/rcp/.cvsignore deleted file mode 100644 index ecb8151..0000000 --- a/rcp/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rcp diff --git a/rcp/.gitignore b/rcp/.gitignore new file mode 100644 index 0000000..bcd4589 --- /dev/null +++ b/rcp/.gitignore @@ -0,0 +1 @@ +rcp diff --git a/rexecd/.cvsignore b/rexecd/.cvsignore deleted file mode 100644 index 6c6a7e6..0000000 --- a/rexecd/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rexecd diff --git a/rexecd/.gitignore b/rexecd/.gitignore new file mode 100644 index 0000000..506012f --- /dev/null +++ b/rexecd/.gitignore @@ -0,0 +1 @@ +rexecd diff --git a/rlogin/.cvsignore b/rlogin/.cvsignore deleted file mode 100644 index ecea655..0000000 --- a/rlogin/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rlogin diff --git a/rlogin/.gitignore b/rlogin/.gitignore new file mode 100644 index 0000000..adb6904 --- /dev/null +++ b/rlogin/.gitignore @@ -0,0 +1 @@ +rlogin diff --git a/rlogind/.cvsignore b/rlogind/.cvsignore deleted file mode 100644 index 31c8478..0000000 --- a/rlogind/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rlogind diff --git a/rlogind/.gitignore b/rlogind/.gitignore new file mode 100644 index 0000000..0c675f9 --- /dev/null +++ b/rlogind/.gitignore @@ -0,0 +1 @@ +rlogind diff --git a/rsh/.cvsignore b/rsh/.cvsignore deleted file mode 100644 index 809f0ca..0000000 --- a/rsh/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rsh diff --git a/rsh/.gitignore b/rsh/.gitignore new file mode 100644 index 0000000..4e063ef --- /dev/null +++ b/rsh/.gitignore @@ -0,0 +1 @@ +rsh diff --git a/rshd/.cvsignore b/rshd/.cvsignore deleted file mode 100644 index f6fbbb9..0000000 --- a/rshd/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -rshd diff --git a/rshd/.gitignore b/rshd/.gitignore new file mode 100644 index 0000000..0c8f0c6 --- /dev/null +++ b/rshd/.gitignore @@ -0,0 +1 @@ +rshd diff --git a/syslogd/.cvsignore b/syslogd/.cvsignore deleted file mode 100644 index 1974f24..0000000 --- a/syslogd/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -syslogd - diff --git a/syslogd/.gitignore b/syslogd/.gitignore new file mode 100644 index 0000000..e9bfd1e --- /dev/null +++ b/syslogd/.gitignore @@ -0,0 +1,2 @@ +syslogd + diff --git a/talk/.cvsignore b/talk/.cvsignore deleted file mode 100644 index 1383480..0000000 --- a/talk/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -talk diff --git a/talk/.gitignore b/talk/.gitignore new file mode 100644 index 0000000..899b078 --- /dev/null +++ b/talk/.gitignore @@ -0,0 +1 @@ +talk diff --git a/talkd/.cvsignore b/talkd/.cvsignore deleted file mode 100644 index 458375f..0000000 --- a/talkd/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -talkd - diff --git a/talkd/.gitignore b/talkd/.gitignore new file mode 100644 index 0000000..c743432 --- /dev/null +++ b/talkd/.gitignore @@ -0,0 +1,2 @@ +talkd + diff --git a/telnet/.cvsignore b/telnet/.cvsignore deleted file mode 100644 index 136d1d7..0000000 --- a/telnet/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -telnet diff --git a/telnet/.gitignore b/telnet/.gitignore new file mode 100644 index 0000000..e4c6346 --- /dev/null +++ b/telnet/.gitignore @@ -0,0 +1 @@ +telnet diff --git a/telnetd/.cvsignore b/telnetd/.cvsignore deleted file mode 100644 index b9824ce..0000000 --- a/telnetd/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -.deps -telnetd - diff --git a/telnetd/.gitignore b/telnetd/.gitignore new file mode 100644 index 0000000..dca167d --- /dev/null +++ b/telnetd/.gitignore @@ -0,0 +1,2 @@ +telnetd + diff --git a/tests/.cvsignore b/tests/.cvsignore deleted file mode 100644 index 42e97fc..0000000 --- a/tests/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -.deps -Makefile -Makefile.in -localhost diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000..2fbb50c --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1 @@ +localhost diff --git a/tftp/.cvsignore b/tftp/.cvsignore deleted file mode 100644 index 47948ea..0000000 --- a/tftp/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -tftp diff --git a/tftp/.gitignore b/tftp/.gitignore new file mode 100644 index 0000000..63cfc22 --- /dev/null +++ b/tftp/.gitignore @@ -0,0 +1 @@ +tftp diff --git a/tftpd/.cvsignore b/tftpd/.cvsignore deleted file mode 100644 index d86c438..0000000 --- a/tftpd/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -tftpd diff --git a/tftpd/.gitignore b/tftpd/.gitignore new file mode 100644 index 0000000..8cb2e41 --- /dev/null +++ b/tftpd/.gitignore @@ -0,0 +1 @@ +tftpd diff --git a/traceroute/.cvsignore b/traceroute/.cvsignore deleted file mode 100644 index f7d1e5e..0000000 --- a/traceroute/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -.deps -Makefile -Makefile.in -traceroute diff --git a/traceroute/.gitignore b/traceroute/.gitignore new file mode 100644 index 0000000..92de28b --- /dev/null +++ b/traceroute/.gitignore @@ -0,0 +1 @@ +traceroute diff --git a/uucpd/.cvsignore b/uucpd/.cvsignore deleted file mode 100644 index 3a46883..0000000 --- a/uucpd/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -.deps -uucpd diff --git a/uucpd/.gitignore b/uucpd/.gitignore new file mode 100644 index 0000000..aade85e --- /dev/null +++ b/uucpd/.gitignore @@ -0,0 +1 @@ +uucpd hooks/post-receive -- GNU Inetutils From MAILER-DAEMON Thu Aug 20 04:19:19 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Me2rf-0002ne-PS for mharc-commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:19:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me2rd-0002nG-H6 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:19:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me2rb-0002my-Pp for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:19:16 -0400 Received: from [199.232.76.173] (port=46782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me2rb-0002mp-KE for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:19:15 -0400 Received: from savannah.gnu.org ([199.232.41.3]:60920 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me2ra-0007AW-Uo for commit-inetutils@gnu.org; Thu, 20 Aug 2009 04:19:15 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Me2ra-0006Hl-D2 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 08:19:14 +0000 Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Me2ra-0006HF-5f for commit-inetutils@gnu.org; Thu, 20 Aug 2009 08:19:14 +0000 From: "Sergey Poznyakoff" To: commit-inetutils@gnu.org X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ee74cb4a80f4b8261a5745f8d8efb369a2993d81 X-Git-Newrev: 09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 Message-Id: Date: Thu, 20 Aug 2009 08:19:14 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-186-g09cc6ce X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 08:19:18 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ". http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 The branch, master has been updated via 09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 (commit) from ee74cb4a80f4b8261a5745f8d8efb369a2993d81 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 Author: Sergey Poznyakoff Date: Thu Aug 20 11:17:07 2009 +0300 Update README-alpha to reflect Git migration. ----------------------------------------------------------------------- Summary of changes: README-alpha | 28 ++++++++++++---------------- 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/README-alpha b/README-alpha index 088eb25..2cabb42 100644 --- a/README-alpha +++ b/README-alpha @@ -1,15 +1,14 @@ This is the GNU Inetutils package. This document describes the actions needed to build the pre-release or -CVS version of the package. See end of file for copying conditions. +Git version of the package. See end of file for copying conditions. * Introduction This is a *pre-release* version, and not ready for production use yet. -If you are taking source from CVS, you will need to have several -special tools to help contribute. See the file README-hacking for -more information, see chapter `Building' for the detailed instructions -on how to build the package. +If you are taking source from Git, you will need to have several +special tools to help contribute. See chapter `Building', below, +for the detailed instructions on how to build the package. Please, note that the accompanying documentation may be inaccurate or incomplete. See ChangeLog for the list of recent changes. @@ -25,17 +24,14 @@ it or got back to you, please let us know! * Checking Out the Sources The following instructions apply if you wish to obtain sources from -the CVS repository: +the Git repository: - cvs -d:pserver:anoncvs@cvs.gnu.org:/cvsroot/inetutils co inetutils +To clone the source tree from the repository, issue the following command: -There is also a Git mirror of the CVS repository. To obtain sources -from Git use: + git clone git://git.savannah.gnu.org/inetutils.git - git clone git://git.sv.gnu.org/inetutils.git - -Both ways will give you read-only access. If you think you need write -access, contact the mailing list. +This will give you read-only access. If you think you need write access, +contact the mailing list. * Prerequisites @@ -84,9 +80,9 @@ See INSTALL and README for the detailed instructions. * Development If you are looking for something to hack on, please take a look at the -TODO file in the CVS repository. +TODO file in the Git repository. -You can track the CVS process through the +You can track the development process through the mailing list. This is a medium volume moderated list. Daily snapshots built from CVS are available from @@ -100,7 +96,7 @@ Statistics based on CVS commit logs are available from * Copyright information: -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2008, 2009 Free Software Foundation, Inc. Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the hooks/post-receive -- GNU Inetutils From MAILER-DAEMON Thu Aug 20 09:00:12 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Me7FU-0006pg-Or for mharc-commit-inetutils@gnu.org; Thu, 20 Aug 2009 09:00:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me7FT-0006pT-Cl for commit-inetutils@gnu.org; Thu, 20 Aug 2009 09:00:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me7FS-0006p7-88 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 09:00:10 -0400 Received: from [199.232.76.173] (port=57223 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me7FS-0006p4-0a for commit-inetutils@gnu.org; Thu, 20 Aug 2009 09:00:10 -0400 Received: from savannah.gnu.org ([199.232.41.3]:40082 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me7FR-0001U1-Jl for commit-inetutils@gnu.org; Thu, 20 Aug 2009 09:00:09 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Me7FI-0007ny-Qm for commit-inetutils@gnu.org; Thu, 20 Aug 2009 13:00:03 +0000 Received: from jas by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Me7FI-0007nR-E9 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 13:00:00 +0000 From: "Simon Josefsson" To: commit-inetutils@gnu.org X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 21e83ddbb7f518d80618f5af212137cb60fcaed2 X-Git-Newrev: fdf9b75e9ff6be696628770e26067e95bd1473c0 Message-Id: Date: Thu, 20 Aug 2009 13:00:00 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-188-gfdf9b75 X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 13:00:12 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ". http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=fdf9b75e9ff6be696628770e26067e95bd1473c0 The branch, master has been updated via fdf9b75e9ff6be696628770e26067e95bd1473c0 (commit) from 21e83ddbb7f518d80618f5af212137cb60fcaed2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fdf9b75e9ff6be696628770e26067e95bd1473c0 Author: Simon Josefsson Date: Thu Aug 20 14:59:44 2009 +0200 Finish Git migration update. ----------------------------------------------------------------------- Summary of changes: README-alpha | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-alpha b/README-alpha index 2cabb42..d0e56aa 100644 --- a/README-alpha +++ b/README-alpha @@ -85,14 +85,14 @@ TODO file in the Git repository. You can track the development process through the mailing list. This is a medium volume moderated list. -Daily snapshots built from CVS are available from +Daily snapshots built from Git are available from Log outputs from building the daily snapshot on some systems are available from -Statistics based on CVS commit logs are available from -. +Statistics based on Git commit logs are available from +. * Copyright information: hooks/post-receive -- GNU Inetutils From MAILER-DAEMON Fri Aug 21 09:39:06 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MeUKg-0004HT-Nd for mharc-commit-inetutils@gnu.org; Fri, 21 Aug 2009 09:39:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me53i-0006bl-3N for commit-inetutils@gnu.org; Thu, 20 Aug 2009 06:39:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me53Z-0006WA-KT for commit-inetutils@gnu.org; Thu, 20 Aug 2009 06:39:46 -0400 Received: from [199.232.76.173] (port=33084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me53X-0006V1-42 for commit-inetutils@gnu.org; Thu, 20 Aug 2009 06:39:43 -0400 Received: from savannah.gnu.org ([199.232.41.3]:51478 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me53V-0002oi-2P for commit-inetutils@gnu.org; Thu, 20 Aug 2009 06:39:41 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Me53U-00088a-BT for commit-inetutils@gnu.org; Thu, 20 Aug 2009 10:39:40 +0000 Received: from gscrivano by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Me53T-000883-Ur for commit-inetutils@gnu.org; Thu, 20 Aug 2009 10:39:40 +0000 From: "Giuseppe Scrivano" To: commit-inetutils@gnu.org X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 X-Git-Newrev: 21e83ddbb7f518d80618f5af212137cb60fcaed2 Message-Id: Date: Thu, 20 Aug 2009 10:39:39 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 21 Aug 2009 09:39:05 -0400 Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-187-g21e83dd X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 10:39:58 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ". http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=21e83ddbb7f518d80618f5af212137cb60fcaed2 The branch, master has been updated via 21e83ddbb7f518d80618f5af212137cb60fcaed2 (commit) from 09cc6ce9657c85f9843c1c30279ec03ffbc6faf3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 21e83ddbb7f518d80618f5af212137cb60fcaed2 Author: Giuseppe Scrivano Date: Tue Jul 28 17:43:45 2009 +0200 rexec: new program ----------------------------------------------------------------------- Summary of changes: ChangeLog | 10 ++ Makefile.am | 2 +- configure.ac | 2 + doc/inetutils.texi | 38 +++++ {rexecd => rexec}/Makefile.am | 12 +- rexec/rexec.c | 323 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 380 insertions(+), 7 deletions(-) copy {rexecd => rexec}/Makefile.am (78%) create mode 100644 rexec/rexec.c diff --git a/ChangeLog b/ChangeLog index 0a01371..107bdd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-08-20 Giuseppe Scrivano + + rexec: new program. + + * configure.ac: Build rexec. + * Makefile.am: Ditto. + * doc/inetutils.texi: Document the new program. + * rexec/Makefile.am: New file. + * rexec/rexec.c: New file. + 2009-08-18 Sergey Poznyakoff Fix possible array overflow in ping. diff --git a/Makefile.am b/Makefile.am index 061af2b..7d2d1b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ EXTRA_DIST = README-alpha paths ChangeLog.0 SUBDIRS = lib headers libinetutils libtelnet \ hostname inetd telnetd libls ftpd rshd rlogind uucpd rexecd syslogd \ tftpd talkd telnet ftp rsh rcp rlogin tftp logger gwhois talk \ - libicmp ping doc ifconfig traceroute tests + libicmp ping doc ifconfig traceroute rexec tests DISTCLEANFILES = pathdefs.make paths.defs diff --git a/configure.ac b/configure.ac index fdff8d3..0b8ebb5 100644 --- a/configure.ac +++ b/configure.ac @@ -108,6 +108,7 @@ IU_ENABLE_CLIENT(hostname) IU_ENABLE_CLIENT(ping) IU_ENABLE_CLIENT(ping6) IU_ENABLE_CLIENT(rcp) +IU_ENABLE_CLIENT(rexec) IU_ENABLE_CLIENT(rlogin) IU_ENABLE_CLIENT(rsh) IU_ENABLE_CLIENT(logger) @@ -820,6 +821,7 @@ ftpd/Makefile hostname/Makefile inetd/Makefile rcp/Makefile +rexec/Makefile rexecd/Makefile rlogin/Makefile rlogind/Makefile diff --git a/doc/inetutils.texi b/doc/inetutils.texi index 86360fd..ec011ee 100644 --- a/doc/inetutils.texi +++ b/doc/inetutils.texi @@ -34,6 +34,7 @@ * logger: (inetutils)logger invocation. Send messages to the system log. * ping: (inetutils)ping invocation. Packets to network hosts. * rcp: (inetutils)rcp invocation. Remote copy +* rexec: (inetutils)rexec invocation. Remote execution client. * rexecd: (inetutils)rexecd invocation. Remote execution server. * rlogin: (inetutils)rlogin invocation. Remote login. * rlogind: (inetutils)rlogind invocation. Remote login server. @@ -107,6 +108,7 @@ Clients * tftp invocation:: TFTP client. * rsh invocation:: Remote shell. * rlogin invocation:: Remote login. +* rexec invocation:: Remote execution client. * rcp invocation:: Remote copy * talk invocation:: Talk client. * telnet invocation:: User interface to TELNET. @@ -1751,6 +1753,42 @@ The destination user and hostname may have to be specified as @samp{rhost.rname} when the destination machine is running the 4.2BSD version of @command{rcp}. +@node rexec invocation +@chapter @command{rexec}: a remote execution program +@cindex rexec + +@command{rexec} is a program that executes a program on another host. + +@example +rexec --user=@var{login} --password=@var{pass} --host=@var{host} \ + [OPTION] @var{command} +@end example + +The command line arguments are as follows: + +@table @var +@item --error +Specify the TCP port to use for stderr redirection, in case it is not +specified a random port will be used. + +@item --host +Specify the host where connect to. + +@item --noerr +If specified, an error stream will not be created. + +@item --password +Specify the password for logging-in. + +@item --port +Specify to which port connect to, if it is not specified by default +use 512. + +@item --user +Specify the user to log into the server. +@end table + + @node talk invocation @chapter @command{talk}: a communication program @cindex talk diff --git a/rexecd/Makefile.am b/rexec/Makefile.am similarity index 78% copy from rexecd/Makefile.am copy to rexec/Makefile.am index 6c0d033..74d9d74 100644 --- a/rexecd/Makefile.am +++ b/rexec/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (C) 2005, 2007 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc. # This file is part of GNU Inetutils. # # GNU Inetutils is free software; you can redistribute it and/or modify @@ -16,18 +16,18 @@ # to the Free Software Foundation, Inc., 51 Franklin Street, # Fifth Floor, Boston, MA 02110-1301 USA. -inetdaemondir = @inetdaemondir@ +bin_PROGRAMS = @rexec_BUILD@ -inetdaemon_PROGRAMS = @rexecd_BUILD@ +EXTRA_PROGRAMS = rexec -EXTRA_PROGRAMS = rexecd +rexec_SOURCES = rexec.c -rexecd_SOURCES = rexecd.c +noinst_HEADERS = @PATHDEFS_MAKE@ +INCLUDES = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/libinetutils AM_CPPFLAGS = $(PATHDEF_DEFPATH) $(PATHDEF_BSHELL) -INCLUDES=-I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/libinetutils LIBCRYPT = @LIBCRYPT@ diff --git a/rexec/rexec.c b/rexec/rexec.c new file mode 100644 index 0000000..9578ee8 --- /dev/null +++ b/rexec/rexec.c @@ -0,0 +1,323 @@ +/* + Copyright (C) 2009 Free Software Foundation, Inc. + + This file is part of GNU Inetutils. + + GNU Inetutils is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + GNU Inetutils is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +/* Written by Giuseppe Scrivano . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#ifdef HAVE_SYS_FILIO_H +# include +#endif +#include + +#include + +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_SYS_SELECT_H +# include +#endif + +#include +#include +#include +#include +#include "libinetutils.h" + +#define MAX3(a, b, c) (MAX (MAX (a, b), c)) + +const char doc[] = "remote execution client"; +static char args_doc[] = "COMMAND"; + +const char *program_authors[] = + { + "Giuseppe Scrivano", + NULL + }; + +static struct argp_option options[] = { + {"user", 'u', "user", 0, "Specify the user"}, + {"host", 'h', "host", 0, "Specify the host"}, + {"password", 'p', "password", 0, "Specify the password"}, + {"port", 'P', "port", 0, "Specify the port to connect to"}, + {"noerr", 'n', NULL, 0, "Disable the stderr stream"}, + {"error", 'e', "error", 0, "Specify a TCP port to use for stderr"}, + { 0 } +}; + +struct arguments +{ + const char *host; + const char *user; + const char *password; + const char *command; + int port; + int use_err; + int err_port; +}; + +static error_t +parse_opt (int key, char *arg, struct argp_state *state) +{ + struct arguments *arguments = state->input; + + switch (key) + { + case 'u': + arguments->user = arg; + break; + case 'p': + arguments->password = arg; + break; + case 'P': + arguments->port = atoi (arg); + break; + case 'e': + arguments->err_port = atoi (arg); + break; + case 'h': + arguments->host = arg; + break; + case 'n': + arguments->use_err = 0; + break; + case ARGP_KEY_ARG: + arguments->command = arg; + state->next = state->argc; + } + + return 0; +} + +static struct argp argp = {options, parse_opt, args_doc, doc}; + +static void do_rexec (struct arguments *arguments); + +int +main (int argc, char **argv) +{ + struct arguments arguments; + + set_program_name (argv[0]); + + iu_argp_init ("rexec", program_authors); + + arguments.user = NULL; + arguments.password = NULL; + arguments.host = NULL; + arguments.command = NULL; + arguments.err_port = 0; + arguments.use_err = 1; + arguments.port = 512; + + argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, &arguments); + + if (arguments.user == NULL) + error (EXIT_FAILURE, 0, "user not specified"); + + if (arguments.password == NULL) + error (EXIT_FAILURE, 0, "password not specified"); + + if (arguments.host == NULL) + error (EXIT_FAILURE, 0, "host not specified"); + + if (arguments.command == NULL) + error (EXIT_FAILURE, 0, "command not specified"); + + do_rexec (&arguments); + + exit (0); +} + +static void +safe_write (int socket, const char *str, size_t len) +{ + if (write (socket, str, len) < 0) + error (EXIT_FAILURE, errno, "error sending data"); +} + +void +do_rexec (struct arguments *arguments) +{ + int err; + char buffer[1024]; + int sock; + char port_str[6]; + struct sockaddr_in addr; + struct hostent *host; + int stdin = STDIN_FILENO; + int err_sock = -1; + + sock = socket (AF_INET, SOCK_STREAM, 0); + if (sock < 0) + error (EXIT_FAILURE, errno, "cannot open socket"); + + host = gethostbyname (arguments->host); + if (host == NULL) + error (EXIT_FAILURE, errno, "cannot find host %s", arguments->host); + + memset (&addr, 0, sizeof (addr)); + addr.sin_family = AF_INET; + memmove ((caddr_t) &addr.sin_addr, +#ifdef HAVE_STRUCT_HOSTENT_H_ADDR_LIST + host->h_addr_list[0], +#else + host->h_addr, +#endif + host->h_length); + + addr.sin_port = htons ((short)arguments->port); + + if (connect (sock, &addr, sizeof (addr)) < 0) + error (EXIT_FAILURE, errno, "cannot connect to the specified host"); + + if (!arguments->use_err) + { + port_str[0] = '0'; + port_str[1] = '\0'; + safe_write (sock, port_str, 2); + arguments->err_port = 0; + } + else + { + struct sockaddr_in serv_addr; + socklen_t len; + int serv_sock = socket (AF_INET, SOCK_STREAM, 0); + + if (serv_sock < 0) + error (EXIT_FAILURE, errno, "cannot open socket"); + + memset (&serv_addr, 0, sizeof (serv_addr)); + + serv_addr.sin_port = arguments->err_port; + if (bind (serv_sock, &serv_addr, sizeof (serv_addr)) < 0) + error (EXIT_FAILURE, errno, "cannot bind socket"); + + len = sizeof (serv_addr); + if (getsockname (serv_sock, &serv_addr, &len)) + error (EXIT_FAILURE, errno, "error reading socket port"); + + if (listen (serv_sock, 1)) + error (EXIT_FAILURE, errno, "error listening on socket"); + + arguments->err_port = ntohs (serv_addr.sin_port); + sprintf (port_str, "%i", arguments->err_port); + safe_write (sock, port_str, strlen (port_str) + 1); + + err_sock = accept (serv_sock, &serv_addr, &len); + if (err_sock < 0) + error (EXIT_FAILURE, errno, "error accepting connection"); + + shutdown (err_sock, SHUT_WR); + + close (serv_sock); + } + + safe_write (sock, arguments->user, strlen (arguments->user) + 1); + safe_write (sock, arguments->password, strlen (arguments->password) + 1); + safe_write (sock, arguments->command, strlen (arguments->command) + 1); + + while (1) + { + int ret; + fd_set rsocks; + + /* No other data to read. */ + if (sock < 0 && err_sock < 0) + break; + + FD_ZERO (&rsocks); + if (0 <= sock) + FD_SET (sock, &rsocks); + if (0 <= stdin) + FD_SET (stdin, &rsocks); + if (0 <= err_sock) + FD_SET (err_sock, &rsocks); + + ret = select (MAX3 (sock, stdin, err_sock) + 1, &rsocks, NULL, NULL, NULL); + if (ret == -1) + error (EXIT_FAILURE, errno, "error select"); + + if (0 <= stdin && FD_ISSET (stdin, &rsocks)) + { + err = read (stdin, buffer, 1024); + + if (err < 0) + error (EXIT_FAILURE, errno, "error reading stdin"); + + if (!err) + { + shutdown (sock, SHUT_WR); + close (stdin); + stdin = -1; + continue; + } + + if (write (STDOUT_FILENO, buffer, err) < 0) + error (EXIT_FAILURE, errno, "error writing"); + } + + if (0 <= sock && FD_ISSET (sock, &rsocks)) + { + err = read (sock, buffer, 1024); + + if (err < 0) + error (EXIT_FAILURE, errno, "error reading out stream"); + + if (!err) + { + close (sock); + sock = -1; + continue; + } + + if (write (STDOUT_FILENO, buffer, err) < 0) + error (EXIT_FAILURE, errno, "error writing"); + } + + if (0 <= err_sock && FD_ISSET (err_sock, &rsocks)) + { + err = read (err_sock, buffer, 1024); + + if (err < 0) + error (EXIT_FAILURE, errno, "error reading err stream"); + + if (!err) + { + close (err_sock); + err_sock = -1; + continue; + } + + if (write (STDERR_FILENO, buffer, err) < 0) + error (EXIT_FAILURE, errno, "error writing to stderr"); + } + } +} hooks/post-receive -- GNU Inetutils From MAILER-DAEMON Sat Aug 22 13:49:54 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Meuiw-0004vp-Mx for mharc-commit-inetutils@gnu.org; Sat, 22 Aug 2009 13:49:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeavU-00083M-Tp for commit-inetutils@gnu.org; Fri, 21 Aug 2009 16:41:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeavU-00082l-4d for commit-inetutils@gnu.org; Fri, 21 Aug 2009 16:41:32 -0400 Received: from [199.232.76.173] (port=36757 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeavU-00082i-0a for commit-inetutils@gnu.org; Fri, 21 Aug 2009 16:41:32 -0400 Received: from savannah.gnu.org ([199.232.41.3]:36443 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeavT-0006Ea-Ko for commit-inetutils@gnu.org; Fri, 21 Aug 2009 16:41:31 -0400 Received: from download.savannah.gnu.org ([199.232.41.75] helo=cvs.savannah.gnu.org) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1MeavS-0003Bf-Qv for commit-inetutils@gnu.org; Fri, 21 Aug 2009 20:41:30 +0000 Received: from gscrivano by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1MeavS-0003B2-7B for commit-inetutils@gnu.org; Fri, 21 Aug 2009 20:41:30 +0000 From: "Giuseppe Scrivano" To: commit-inetutils@gnu.org X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: fdf9b75e9ff6be696628770e26067e95bd1473c0 X-Git-Newrev: 21a1fdf766c6b2a77f471fe8e114a14e24d8eddf Message-Id: Date: Fri, 21 Aug 2009 20:41:30 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 22 Aug 2009 13:49:53 -0400 Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-189-g21a1fdf X-BeenThere: commit-inetutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit notices for the GNU Internet utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 20:41:33 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ". http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=21a1fdf766c6b2a77f471fe8e114a14e24d8eddf The branch, master has been updated via 21a1fdf766c6b2a77f471fe8e114a14e24d8eddf (commit) from fdf9b75e9ff6be696628770e26067e95bd1473c0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 21a1fdf766c6b2a77f471fe8e114a14e24d8eddf Author: Giuseppe Scrivano Date: Fri Aug 21 22:38:47 2009 +0200 rexec: show all missing arguments before exit. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 7 +++++++ rexec/rexec.c | 25 ++++++++++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 107bdd5..ac4ad13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-08-21 Giuseppe Scrivano + + rexec: show all missing arguments before exit. + + * rexec/rexec.c (main): Show all missing arguments before exit from the + process. + 2009-08-20 Giuseppe Scrivano rexec: new program. diff --git a/rexec/rexec.c b/rexec/rexec.c index 9578ee8..9ac9246 100644 --- a/rexec/rexec.c +++ b/rexec/rexec.c @@ -124,7 +124,7 @@ int main (int argc, char **argv) { struct arguments arguments; - + int failed = 0; set_program_name (argv[0]); iu_argp_init ("rexec", program_authors); @@ -140,16 +140,31 @@ main (int argc, char **argv) argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, &arguments); if (arguments.user == NULL) - error (EXIT_FAILURE, 0, "user not specified"); + { + error (0, 0, "user not specified"); + failed++; + } if (arguments.password == NULL) - error (EXIT_FAILURE, 0, "password not specified"); + { + error (0, 0, "password not specified"); + failed++; + } if (arguments.host == NULL) - error (EXIT_FAILURE, 0, "host not specified"); + { + error (0, 0, "host not specified"); + failed++; + } if (arguments.command == NULL) - error (EXIT_FAILURE, 0, "command not specified"); + { + error (0, 0, "command not specified"); + failed++; + } + + if (failed > 0) + exit (EXIT_FAILURE); do_rexec (&arguments); hooks/post-receive -- GNU Inetutils