Wayne Davison
25082d1ef6
Reject passing an arg to an option that doesn't take one (bug 6915).
...
Based on a patch by Matt, but further tweaked to deal with -q=foo.
Ultimately this should be upstreamed, but for now lets get this
functionality into rsync.
2010-04-24 10:00:38 -07:00
Wayne Davison
894e6299c1
Some popt improvements:
...
- Fixed a bug in short-opt parsing when an abutting arg has an '='.
- Allow a short-opt to be separated from its arg by an '='.
- Avoid an IBM-checker warning about an impossible case in a switch
and a warning about a potential NULL-pointer dereference.
- Fixed a memory leak.
2008-03-08 11:02:40 -08:00
Wayne Davison
37a4386d2c
Fix a unused-variable compiler warning.
2006-11-23 03:28:58 +00:00
Wayne Davison
65e83e097c
Don't set an "rc" var that we aren't going to use.
2006-11-21 08:37:28 +00:00
Wayne Davison
1acb2e15b4
Changed _ABS to be defined as MY_ABS.
2006-11-09 01:55:17 +00:00
Wayne Davison
684576ff45
Moved definition of DBL_EPSILON.
2006-11-09 01:51:57 +00:00
Wayne Davison
bc93ee842f
- Upgraded popt to version 1.10.2.
...
- Modified all sprintf() and strcpy() calls to use snprintf()
and strlcpy().
2006-11-09 00:57:55 +00:00
Wayne Davison
4fd4b3d667
Dropped a useless "const" from the definition of poptStrerror.
2005-02-20 17:21:13 +00:00
Wayne Davison
73042aae5b
Restore UNUSED() macro (the prior problems that prompted me to remove
...
it appear to have been a build-farm bug).
2004-06-09 21:41:21 +00:00
Wayne Davison
a43e21e05c
Let's just remove all the UNUSED() macros for now.
2004-05-08 22:49:58 +00:00
Wayne Davison
534407b1f4
One more attempt to get HP-UX's cc to build popt successfully.
2004-05-08 19:50:22 +00:00
Wayne Davison
37101856a6
Silenced some compiler warnings.
2004-01-27 16:27:05 +00:00
Wayne Davison
75fb17b891
Define DBL_EPSILON if it doesn't exist.
2003-01-18 19:00:07 +00:00
David Dykstra
451b5fc969
Cast the return of alloca to remove a fatal error on Cray UNICOS.
2003-01-11 14:39:41 +00:00
Wayne Davison
cc248aae9b
Updated to version 1.6.4.
2002-07-27 18:32:25 +00:00
Andrew Tridgell
6afe7f23b0
got rid of dependency on alloca in popt
2001-03-23 03:44:50 +00:00
Martin Pool
b348deae3d
Upgrade from popt 1.2 to a cut-down 1.5
2001-02-24 01:32:22 +00:00