Commit graph

13 commits

Author SHA1 Message Date
Hank Leininger
db9025bf86
Worked around APR_PATH_MAX errors on some Linuxes when SVN is enabled.
On Gentoo Linux (and possibly others?) with Subversion 1.12.0,
compilation of hydra-svn.c fails with:

In file included from /usr/include/subversion-1/svn_client.h:34,
                 from hydra-svn.c:9:
/usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
 #error no decision has been made on APR_PATH_MAX for your platform
  ^~~~~

This happens when PATH_MAX is not defined.

PATH_MAX is defined by /usr/include/linux/limits.h, but rather than
include'ing that directly and possibly breaking other platforms,
include sys/param.h (which will include linux/limits.h indirectly)
iff PATH_MAX is not defined and sys/param.h exists.

I based the approach on how math.h is handled.
2019-05-18 15:56:08 -06:00
David Maciejak
91825f0fef Fix svn module memory leaks 2019-03-07 08:12:04 +08:00
van Hauser
1a72fe023e cleanup 2017-07-07 11:21:46 +02:00
van Hauser
4ab31cd18e ipv6 pretty print 2017-07-06 22:34:55 +02:00
van Hauser
f124c26fc6 big int to stdint switch 2017-07-05 08:48:00 +02:00
van Hauser
51d881353b moved help to modules 2017-06-23 19:15:18 +02:00
van Hauser
4ee7bc3c38 fix for current libsvn 2016-11-04 17:53:07 +01:00
van Hauser
5a1a66d2a3 fix 2016-11-04 10:31:57 +01:00
van Hauser
2b02aa091b optimized oracle module and user not existing messages 2016-11-03 12:41:44 +01:00
van Hauser
f42f7626ac sleep -> usleep fix 2016-09-01 17:38:33 +02:00
van Hauser
1579369097 SSL SNI support; important http-*:// fix; also http-post support added 2016-06-15 19:53:36 +02:00
Jack Reacher
554d66c768 Switched usleep to nanosleep for posix complience 2016-02-06 02:16:01 -05:00
U-marc-win4\marc
6a94f708e8 initial commit 2014-04-24 16:49:18 +02:00