bug-rcs
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]