summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* compat/getopt: Allow non-digit parameter embedded in short optionJean Delvare2018-10-091-9/+4
| | | | | | | | | | | | | | | | | | | 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>
* compat/getopt: Handle a second separatorJean Delvare2018-10-091-3/+10
| | | | | | | | | | | | | | | | | | 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>
* Tree-wide white-space cleanupsJean Delvare2014-01-201-1/+0
| | | | | | | * 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.
* compat/getopt.in: Add support of options with optional parametersJean Delvare2011-03-151-3/+17
| | | | | Both short and long options are supported. This is required to pass the test suite, if nothing else.
* compat/getopt.in: Fix quoting and spacingJean Delvare2011-03-151-8/+15
| | | | | | This way the output matches exactly the output of getopt from util-linux, and spaces and other special characters in filenames are properly supported.
* compat/mktemp.in: Properly support white space in file names.Jean Delvare2011-03-021-3/+3
|
* Implement -r / --reference option in compat/date (patch from Olivier Mehani ↵Andreas Gruenbacher2009-11-021-0/+1
| | | | <shtrom-savanah@ssji.net>)
* Convert to git repository formatv0.48Andreas Gruenbacher2009-01-291-10/+0
|
* - aclocal.m4: New helper for optional binaries.Jean Delvare2006-10-102-12/+0
| | | | | | - configure.ac: Use the new helper for diffstat and rpmbuild. - compat/diffstat.in: Delete. - compat/rpmbuild.in: Delete.
* Add rpmbuild.Jean Delvare2006-06-011-0/+1
|
* - compat/rpmbuild.in: Add a version that tries to execute aAndreas Gruenbacher2006-06-012-2/+10
| | | | | | | | 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.
* - compat/getopt.in: Ignore option -q, rather than failing on it.Jean Delvare2006-04-191-1/+2
| | | | | This prevents the test suite from failing on patch-wrapper when --without-getopt is used. Reported by Markus Oberhumer.
* - compat/getopt.in: Remove duplicate test.Jean Delvare2006-04-151-1/+0
|
* Add sed, reorder date.Jean Delvare2006-03-201-1/+2
|
* - Add "testcase" for -p0 patches that are applied in differentAndreas Gruenbacher2006-02-011-0/+1
| | | | | directories. We occasionally have this condition in spec files, and it would be really great if quilt setup could cope better.
* - compat/date.in: Fix GetOptions problem with options startingAndreas Gruenbacher2006-02-011-3/+1
| | | | | | | 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.
* - configure.ac: Remove uniq -D test; we no longer use it.Andreas Gruenbacher2006-02-011-0/+60
| | | | | | | - 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.
* - Properly handle spaces in arguments to getopt.Andreas Gruenbacher2006-01-301-8/+24
|
* Add bash.Jean Delvare2006-01-281-0/+1
|
* Add awk.Jean Delvare2006-01-261-0/+1
|
* Hide generated scripts from CVS commands.Jean Delvare2005-09-211-0/+5
|
* - Use compatibility m4 for diffstat. Correctly diagnose olderAndreas Gruenbacher2005-09-191-0/+4
| | | | | | 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>).
* - Rename MTA program to SENDMAIL, and improve configure.acAndreas Gruenbacher2005-09-191-0/+0
| | | | | | | (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).
* - Add missing file.Andreas Gruenbacher2005-09-181-0/+4
|
* - Forgot to add new files to the repository.Andreas Gruenbacher2005-09-183-0/+128