Browse code

bb11733: applying patch provided courtesy of A. Wilcox that resolves stack size issues on non-glibc Linux machines. May apply to bb11979 as well.

Micah Snyder authored on 2018/01/18 00:01:38
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- *  Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
2
+ *  Copyright (C) 2015, 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
3 3
  *  Copyright (C) 2007-2009 Sourcefire, Inc.
4 4
  *
5 5
  *  Authors: Trog, Török Edvin
... ...
@@ -44,7 +44,7 @@
44 44
 #endif
45 45
 
46 46
 /* BSD and HP-UX need a bigger stacksize than the system default */
47
-#if defined (C_BSD) || defined (C_HPUX) || defined(C_AIX)
47
+#if defined (C_BSD) || defined (C_HPUX) || defined(C_AIX) || (defined(C_LINUX) && !defined(__GLIBC__))
48 48
 #define C_BIGSTACK 1
49 49
 #endif
50 50