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

missing error checking in svn_config__parse_file

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-04-04 10:09:40 CEST

This is against trunk

Regards

Phil

[[[

* subversion/libsvn_subr/config_file.c
  (svn_config__parse_file): Check the error code possibly
      returned

]]]

=== subversion/libsvn_subr/config_file.c
==================================================================
--- subversion/libsvn_subr/config_file.c (revision 404)
+++ subversion/libsvn_subr/config_file.c (local)
@@ -491,6 +491,9 @@
             err = parse_option (&ch, &ctx);
           break;
         }
+
+ if (err != SVN_NO_ERROR)
+ return err;
     }
   while (ch != EOF);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 4 10:10:58 2005

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.