Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files
Thien-Thi Nguyen <[email protected]> Wed, 06 Aug 2014 09:46:22 +0200
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
What is the purpose of this part of the patch?
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
a.diff
(text/x-diff, 724 B)
diff --git a/tests/btdt.c b/tests/btdt.c
index 05c59a8..7152a86 100644
--- a/tests/btdt.c
+++ b/tests/btdt.c
@@ -164,6 +164,7 @@ main (int argc, char *argv[ARSZ_FN_PARM (argc)])
if (2 > argc || STR_SAME ("--help", argv[1]))
{
+ HELP:
printf ("Usage: %s COMPONENT [ARG...]\n", me);
for (size_t i = 0; i < NYEAH; i++)
printf ("- %-10s %s\n", yeah[i].component, yeah[i].usage);
@@ -178,7 +179,7 @@ main (int argc, char *argv[ARSZ_FN_PARM (argc)])
printf ("License GPLv3+; GNU GPL version 3 or later"
" <http://gnu.org/licenses/gpl.html>\n\n");
argv[1] = "--help";
- return main (argc, argv);
+ goto HELP;
}
for (size_t i = 0; i < NYEAH; i++)
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlPh3VEACgkQZwMiJEyAdQIG7wCfdtD2wgwsT5OwBKRtKiO2TwSc GGsAn3/h/yfkv0FAuIN8fNrsC8haFYXa =ORQE -----END PGP SIGNATURE-----