rpm/popt
jbj a36acaf3b8 - fix: segfault on headerFree given malicious data.
- fix: don't verify hash page nelem.
- better error messages for verification failures.
- include directory /usr/lib/rpm in rpm package.

CVS patchset: 5013
CVS date: 2001/08/13 16:39:14
2001-08-13 16:39:14 +00:00
..
intl Update included gettext routines to 0.10.38. 2001-06-29 22:38:13 +00:00
po - fix: segfault on headerFree given malicious data. 2001-08-13 16:39:14 +00:00
.cvsignore Preliminary support for doxygen generated API doco. 2000-01-19 20:54:53 +00:00
.lclintrc - enough lclint annotations and fiddles already. 2001-05-05 19:28:32 +00:00
CHANGES - fix: uniqify dependency problems when printing (#14034). 2000-07-31 15:04:20 +00:00
COPYING added proper licensing info 1998-10-16 19:05:12 +00:00
Doxyfile.in Preliminary support for doxygen generated API doco. 2000-01-19 20:54:53 +00:00
Makefile.am - still more boring lclint annotations and fiddles. 2001-05-03 21:00:18 +00:00
README *** empty log message *** 1998-03-23 20:52:17 +00:00
acconfig.h Sync with rpm-4_0 branch. 2000-12-19 23:22:00 +00:00
autogen.sh Add intl so popt no longer requires gettext. 1999-09-29 21:12:45 +00:00
configure.in - popthelp.c: don't use stpcpy to avoid portability grief (#47500). 2001-07-07 19:15:17 +00:00
findme.c - enough lclint annotations and fiddles already. 2001-05-05 19:28:32 +00:00
findme.h - fix typos in linux.{req,prov}. 2001-06-05 19:26:22 +00:00
install-sh *** empty log message *** 1998-03-23 20:26:36 +00:00
missing add required files to popt. 1998-10-08 14:23:53 +00:00
mkinstalldirs add required files to popt. 1998-10-08 14:23:53 +00:00
popt.3 - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558). 2001-06-17 00:36:01 +00:00
popt.c - popthelp.c: don't use stpcpy to avoid portability grief (#47500). 2001-07-07 19:15:17 +00:00
popt.h - popthelp.c: don't use stpcpy to avoid portability grief (#47500). 2001-07-07 19:15:17 +00:00
popt.ps *** empty log message *** 1998-03-23 20:26:36 +00:00
popt.spec Bump version to 4.1. 2001-03-15 17:54:55 +00:00
poptconfig.c - fix: _smp_flags macro broken. 2001-07-17 03:03:14 +00:00
popthelp.c - popthelp.c: don't use stpcpy to avoid portability grief (#47500). 2001-07-07 19:15:17 +00:00
poptint.h - popthelp.c: don't use stpcpy to avoid portability grief (#47500). 2001-07-07 19:15:17 +00:00
poptparse.c - enough lclint annotations and fiddles already. 2001-05-05 19:28:32 +00:00
system.h lclint fiddles. 2001-06-04 13:55:58 +00:00
test-poptrc Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
test1.c - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558). 2001-06-17 00:36:01 +00:00
test2.c - enough lclint annotations and fiddles already. 2001-05-05 19:28:32 +00:00
testit.sh - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558). 2001-06-17 00:36:01 +00:00

README

This is the popt command line option parsing library. While it is similiar
to getopt(3), it contains a number of enhancements, including:

	1) popt is fully reentrant
	2) popt can parse arbitrary argv[] style arrays while 
	   getopt(2) makes this quite difficult
	3) popt allows users to alias command line arguments
	4) popt provides convience functions for parsting strings
	   into argv[] style arrays

popt is used by rpm, the Red Hat install program, and many other Red Hat
utilities, all of which provide excellent examples of how to use popt. 
Complete documentation on popt is available in popt.ps (included in this
tarball), which is excerpted with permission from the book "Linux
Application Development" by Michael K. Johnson and Erik Troan (availble
from Addison Wesley in May, 1998).

Comments on popt should be addressed to ewt@redhat.com.