subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1729677 - /subversion/trunk/subversion/svnbench/svnbench.c
Date Wed, 10 Feb 2016 17:57:54 GMT
Author: philip
Date: Wed Feb 10 17:57:53 2016
New Revision: 1729677

URL: http://svn.apache.org/viewvc?rev=1729677&view=rev
Log:
* subversion/svnbench/svnbench.c
  (): Remove now unsed header files.
  (sub_main): Remove some signal code that is now in the library.

Modified:
    subversion/trunk/subversion/svnbench/svnbench.c

Modified: subversion/trunk/subversion/svnbench/svnbench.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnbench/svnbench.c?rev=1729677&r1=1729676&r2=1729677&view=diff
==============================================================================
--- subversion/trunk/subversion/svnbench/svnbench.c (original)
+++ subversion/trunk/subversion/svnbench/svnbench.c Wed Feb 10 17:57:53 2016
@@ -31,12 +31,9 @@
 #include <assert.h>
 
 #ifndef WIN32
-#include <signal.h>
 #include <unistd.h>
 #endif
 
-#include <apr_signal.h>
-
 #include "svn_cmdline.h"
 #include "svn_dirent_uri.h"
 #include "svn_pools.h"
@@ -896,18 +893,6 @@ sub_main(int *exit_code, int argc, const
   svn_cl__check_cancel = svn_cmdline__setup_cancellation_handler();
   ctx->cancel_func = svn_cl__check_cancel;
 
-#ifdef SIGPIPE
-  /* Disable SIGPIPE generation for the platforms that have it. */
-  apr_signal(SIGPIPE, SIG_IGN);
-#endif
-
-#ifdef SIGXFSZ
-  /* Disable SIGXFSZ generation for the platforms that have it, otherwise
-   * working with large files when compiled against an APR that doesn't have
-   * large file support will crash the program, which is uncool. */
-  apr_signal(SIGXFSZ, SIG_IGN);
-#endif
-
   /* Set up Authentication stuff. */
   SVN_ERR(svn_cmdline_create_auth_baton2(
             &ab,



Mime
View raw message