summaryrefslogtreecommitdiff
path: root/popt/popt.c
AgeCommit message (Collapse)AuthorFilesLines
1999-11-18From: Dick Porter <dick@acm.org> --jbj1-1/+60
Here is a patch for popt to implement selective argument stripping from argv. With this patch I can use popt in ORBit (the CORBA spec requires ORBs to remove all ORB options from argv), which allows me to export a popt option table to the rest of Gnome. There is also a bug fix included where a string was realloc()d into a space too small to hold the trailing NULL. CVS patchset: 3428 CVS date: 1999/11/18 17:10:15
1999-11-18fix: realloc didn't include space for trailing NUL.jbj1-1/+1
CVS patchset: 3427 CVS date: 1999/11/18 16:57:45
1999-11-01fix: expandNextArg() can't permit '\\' escapes.jbj1-0/+2
CVS patchset: 3413 CVS date: 1999/11/01 23:23:09
1999-10-29check for memory leaks (almost all leaks are plugged).jbj1-3/+8
CVS patchset: 3403 CVS date: 1999/10/29 16:06:01
1999-10-27use compressed filenames on install side.jbj1-6/+6
start unifying FD types, CFD_t now gone. CVS patchset: 3402 CVS date: 1999/10/27 23:18:10
1999-10-25Add poptDupArgv() and const's to popt.3 man page.jbj1-1/+1
CVS patchset: 3401 CVS date: 1999/10/25 20:10:00
1999-10-25lclint annotations.jbj1-3/+7
CVS patchset: 3400 CVS date: 1999/10/25 19:07:14
1999-10-25Lazy allocation of deleted arg bit map.jbj1-4/+4
CVS patchset: 3399 CVS date: 1999/10/25 18:24:38
1999-10-25Add !#:+ token parsing to retrieve (and delete) next argument from list.jbj1-41/+127
CVS patchset: 3398 CVS date: 1999/10/25 18:22:19
1999-10-22fix: long options like "--long=val" needed longArg reset to NULL at top ofjbj1-44/+52
poptGetNextOpt() while loop. Variables in poptGetNextOpt() are also locally scoped. CVS patchset: 3396 CVS date: 1999/10/22 18:10:51
1999-10-21lclint annotations and compiler cruft.jbj1-5/+5
CVS patchset: 3394 CVS date: 1999/10/21 20:36:16
1999-10-21lclint annotations.jbj1-24/+29
CVS patchset: 3391 CVS date: 1999/10/21 18:20:12
1999-07-27popt: heavy dose of const.jbj1-41/+45
CVS patchset: 3206 CVS date: 1999/07/27 22:05:43
1999-04-07we weren't quite careful enough about testing for a single -ewt1-1/+1
CVS patchset: 2964 CVS date: 1999/04/07 06:20:13
1999-03-31Typo.jbj1-0/+1
CVS patchset: 2930 CVS date: 1999/03/31 16:23:34
1999-03-31I was told by Timur Bakeyev <mc@bat.ru> that on BSD systemsjbj1-0/+10
setuid should be prefered over setreuid. On Unixware 2.1 linking the Midnight Commander against libucb broke the binary horrible (readdir returned garbage). I haven't looked deeper into this because I don't have such a system. Instead I applied a similar patch like the one attached to this message (I made this patch against popt from CVS). from Norbert Warmuth <nwarmuth@privat.circular.de> CVS patchset: 2929 CVS date: 1999/03/31 15:08:40
1999-03-22fix: don't add header if signature generation failed (Carlo Wood).jbj1-1/+1
CVS patchset: 2909 CVS date: 1999/03/22 17:31:53
1999-03-10autogen.sh: Fix builddir != srcdir.sopwith1-2/+2
*.c: Fix compilation with -ansi -pedantic-errors. CVS patchset: 2870 CVS date: 1999/03/10 02:55:24
1999-03-05plugged some minor memory leaksewt1-0/+7
CVS patchset: 2848 CVS date: 1999/03/05 01:16:42
1999-02-25allow single dash arguments (to represent stdin)ewt1-1/+5
CVS patchset: 2838 CVS date: 1999/02/25 20:16:43
1998-12-01POPT_ARG_VAL appears to work, now that I have a finished test case...johnsonm1-7/+6
CVS patchset: 2569 CVS date: 1998/12/01 19:05:36
1998-11-19Improved man page a bit, install by default.johnsonm1-1/+5
Added POPT_ARG_VAL CVS patchset: 2545 CVS date: 1998/11/19 20:56:15
1998-11-16bug in alias handling (showed up w/ --triggers)ewt1-1/+2
CVS patchset: 2538 CVS date: 1998/11/16 21:00:43
1998-10-27implemented POPT_ARGINFO_INC_DATAewt1-4/+9
CVS patchset: 2501 CVS date: 1998/10/27 05:38:37
1998-10-22added i18n supportewt1-10/+9
CVS patchset: 2477 CVS date: 1998/10/22 18:32:50
1998-10-21implemented POPT_ARGFLAG_DOC_HIDDEN, POPT_CBFLAG_PRE, POPT_CBFLAG_POSTewt1-1/+23
CVS patchset: 2473 CVS date: 1998/10/21 21:44:18
1998-10-21added poptGetInvocationName()ewt1-0/+4
CVS patchset: 2472 CVS date: 1998/10/21 20:34:05
1998-10-21added POPT_ARGFLAG_ONEDASHewt1-8/+19
CVS patchset: 2471 CVS date: 1998/10/21 20:31:23
1998-10-16added proper licensing infoewt1-0/+4
CVS patchset: 2464 CVS date: 1998/10/16 19:05:12
1998-10-13use POPT_ARG_MASKewt1-8/+8
CVS patchset: 2454 CVS date: 1998/10/13 14:47:38
1998-10-08automake linux fiddles.jbj1-0/+4
CVS patchset: 2421 CVS date: 1998/10/08 11:19:57
1998-09-27add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)jbj1-1/+3
gettextify rpmMessage/rpmError/fprintf messages. CVS patchset: 2366 CVS date: 1998/09/27 20:17:31
1998-09-27changed popt callbacks t get a pointer into the option tableewt1-1/+1
CVS patchset: 2360 CVS date: 1998/09/27 15:54:20
1998-09-27by default, allow exec's across absolute pathsewt1-0/+1
CVS patchset: 2358 CVS date: 1998/09/27 15:02:53
1998-09-271) added included tablesewt1-258/+53
2) added option callbacks 3) added automatic help/usage messages CVS patchset: 2357 CVS date: 1998/09/27 14:57:03
1998-09-24hpux does setreuid differently (Hermann Lauer)jbj1-1/+5
CVS patchset: 2342 CVS date: 1998/09/24 16:57:38
1998-07-30don't strcmp() a NULL longNameewt1-1/+1
CVS patchset: 2212 CVS date: 1998/07/30 14:53:29
1998-07-30fixed stupif strdup() mistakeewt1-1/+1
CVS patchset: 2209 CVS date: 1998/07/30 14:18:58
1998-07-29added poptSetExecPath()ewt1-1/+19
CVS patchset: 2206 CVS date: 1998/07/29 16:02:54
1998-07-271) pass the name of the current exectuable to exec'd scriptsewt1-62/+18
2) removed support for setting up popt alises through enviornment variables CVS patchset: 2196 CVS date: 1998/07/27 18:55:56
1998-07-271) moved duplicated alias handling code into handleAlias()ewt1-85/+199
2) added support for exec options CVS patchset: 2186 CVS date: 1998/07/27 15:53:36
1998-07-27don't use mmap anymore -- it's not worth the troubleewt1-3/+2
CVS patchset: 2184 CVS date: 1998/07/27 12:55:49
1998-03-23don't read ~/.popt in setuid appsewt1-0/+2
CVS patchset: 2045 CVS date: 1998/03/23 20:28:01
1998-03-04include alloca.h if presentewt1-1/+6
CVS patchset: 2022 CVS date: 1998/03/04 16:51:54
1998-02-171) added autoconf for popt directory to make archiveewt1-3/+15
2) version 2.4.103 CVS patchset: 2006 CVS date: 1998/02/17 16:46:13
1997-11-02Added POPT_KEEP_FIRST to cause popt to *not* ignore first arg.marc1-1/+7
CVS patchset: 1889 CVS date: 1997/11/02 22:49:50
1997-11-02added error strings for BADNUMBER and OVERFLOW errorsewt1-0/+4
CVS patchset: 1888 CVS date: 1997/11/02 16:45:17
1997-11-02implmented POPT_ARG_INT and POPT_ARG_LONGewt1-0/+21
CVS patchset: 1887 CVS date: 1997/11/02 16:12:55
1997-07-071) changed popt's ternary operator to work properlyewt1-1/+2
2) popt doesn't take \ at the end of a line as a newline 3) fixed --scripts in rpmpopt to take advantage of #1 CVS patchset: 1732 CVS date: 1997/07/07 22:22:44
1997-05-20Moved includes of miscfn.h to the top.ewt1-1/+0
CVS patchset: 1648 CVS date: 1997/05/20 15:57:39