subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1695805 - /subversion/branches/patch-exec/subversion/libsvn_client/patch.c
Date Fri, 14 Aug 2015 00:32:46 GMT
Author: danielsh
Date: Fri Aug 14 00:32:46 2015
New Revision: 1695805

URL: http://svn.apache.org/r1695805
Log:
On the patch-exec branch: Fix another unreachable codepath.

* subversion/libsvn_client/patch.c
  (init_patch_target): Signal an error correctly.

Modified:
    subversion/branches/patch-exec/subversion/libsvn_client/patch.c

Modified: subversion/branches/patch-exec/subversion/libsvn_client/patch.c
URL: http://svn.apache.org/viewvc/subversion/branches/patch-exec/subversion/libsvn_client/patch.c?rev=1695805&r1=1695804&r2=1695805&view=diff
==============================================================================
--- subversion/branches/patch-exec/subversion/libsvn_client/patch.c (original)
+++ subversion/branches/patch-exec/subversion/libsvn_client/patch.c Fri Aug 14 00:32:46 2015
@@ -1301,7 +1301,7 @@ init_patch_target(patch_target_t **patch
 
                   default:
                     /* NOTREACHED */
-                    abort();
+                    SVN_ERR_MALFUNCTION();
                 }
 
               if (! nothing_to_do)



Mime
View raw message