[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO fo
From: |
Thien-Thi Nguyen |
Subject: |
Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files |
Date: |
Wed, 06 Aug 2014 09:46:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
What is the purpose of this part of the patch?
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++)
--
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
signature.asc
Description: PGP signature
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/03
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files,
Thien-Thi Nguyen <=
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/06
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Thien-Thi Nguyen, 2014/08/07
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/07
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Thien-Thi Nguyen, 2014/08/08
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/10
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Thien-Thi Nguyen, 2014/08/11
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/10
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Thien-Thi Nguyen, 2014/08/27
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Thien-Thi Nguyen, 2014/08/27
- Re: bug #41707: RCS 5.8 file corruption when using file descriptor IO for large files, Achim Gratz, 2014/08/27