[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] remove apr getopt workaround in svn client

From: David Waite <mass_at_akuma.org>
Date: 2002-08-04 06:24:06 CEST

There was a workaround in main.c for an issue in the APR getopt code
which caused a long name to be required. A patch has been committed to
apr cvs to fix this issue, so here is a patch to remove the workaround

-David Waite

Index: subversion/clients/cmdline/main.c
===================================================================
--- subversion/clients/cmdline/main.c
+++ subversion/clients/cmdline/main.c 2002-08-03 22:27:38.000000000 -0600
@@ -51,8 +51,7 @@
   {
     {"force", svn_cl__force_opt, 0, "force operation to run"},
     {"help", 'h', 0, "show help on a subcommand"},
- /* ### APR is broken. we can't pass NULL for the name, as the doc says */
- {"--eek--", '?', 0, "show help on a subcommand"},
+ {NULL, '?', 0, "show help on a subcommand"},
     {"message", 'm', 1, "specify commit message \"ARG\""},
     {"quiet", 'q', 0, "print as little as possible"},
     {"recursive", 'R', 0, "descend recursively"},

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 4 06:24:51 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.