| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The compatibility getopt script allows only digit parameters to be
embedded in short options. Util-linux's getopt implementation does
not have such a restriction and allows any parameter to be embedded
in short options. As a consequence, using the compatibility getopt
script would choke for example on "-pab", which is a legal option
of the "quilt refresh" command.
Remove the limitation on digits so that the compatibility getopt
script allows what util-linux allows. This fixes the second half
of bug #54772:
https://savannah.nongnu.org/bugs/index.php?54772
As a side note, this feature of the compatibility script was broken
anyway, as it would output the digits in reverse order.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getopt can be passed 2 '--' separators. The first one tells that
getopt options are over and target program options start. The second
one tells that the target program's options are over and following
arguments should be treated as non-options even if they look like
options.
This second separator was not handled, causing the compatibility
getopt script to treat the following arguments as options, eventually
failing one way or another.
Properly detect and handle the second separator. This fixes the first
half of bug #54772:
https://savannah.nongnu.org/bugs/index.php?54772
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
| |
* Delete blank lines at end of files.
* Delete white space at end of lines.
* Delete spaces before tab.
* Replace 8 spaces by a tab where it makes sense.
|
|
|
|
|
| |
Both short and long options are supported. This is required to pass
the test suite, if nothing else.
|
|
|
|
|
|
| |
This way the output matches exactly the output of getopt from
util-linux, and spaces and other special characters in filenames are
properly supported.
|
| |
|
|
|
|
| |
<shtrom-savanah@ssji.net>)
|
| |
|
|
|
|
|
|
| |
- configure.ac: Use the new helper for diffstat and rpmbuild.
- compat/diffstat.in: Delete.
- compat/rpmbuild.in: Delete.
|
| |
|
|
|
|
|
|
|
|
| |
rpmbuild that may have been installed after building quilt.
- compat/diffstat.in: Same as for compat/rpmbuild.in, try to
execute rpmbuild even though none was there at quilt build
time.
- aclocal.m4: Fix a quoting error.
|
|
|
|
|
| |
This prevents the test suite from failing on patch-wrapper
when --without-getopt is used. Reported by Markus Oberhumer.
|
| |
|
| |
|
|
|
|
|
| |
directories. We occasionally have this condition in spec files,
and it would be really great if quilt setup could cope better.
|
|
|
|
|
|
|
| |
with `+'.
- test/run: Adjust $ENV{PWD} in cd command; add FIXME comment in
export command: in commands like `export foo=$var/bar', $var is
not evaluated.
|
|
|
|
|
|
|
| |
- compat/date.in: Compatibility wrapper that emulates the GNU
date features that quilt depends on (with minor cleanups from
Andreas Gruenbacher).
- configure.ac: Add test for date --rfc-822.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
diffstat on OS X 10.3, which outputs '1.2 (patch 5)'. Update
configure warning message to reflect reality that quilt diff
does not accept --diffstat (John Vandenberg <jayvdb@gmail.com>).
|
|
|
|
|
|
|
| |
(from John Vandenberg again, as several other recent things --
thanks!)
- Must build the compatibility programs before creating the
command reference (which extracts the help texts).
|
| |
|
|
|