summaryrefslogtreecommitdiff
path: root/src/htscoremain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscoremain.c')
-rw-r--r--src/htscoremain.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c
index bfaebaf..634bf86 100644
--- a/src/htscoremain.c
+++ b/src/htscoremain.c
@@ -1605,13 +1605,11 @@ HTSEXT_API int hts_main2(int argc, char **argv, httrackp *opt) {
return 0;
break;
case '~': /* internal lib test */
- //Disabled because choke on GCC 4.3 (toni from links2linux.de)
- //{
- // char thisIsATestYouShouldSeeAnError[12];
- // const char *const bufferOverflowTest = "0123456789012345678901234567890123456789";
- // strcpybuff(thisIsATestYouShouldSeeAnError, bufferOverflowTest);
- // return 0;
- //}
+ {
+ char thisIsATestYouShouldSeeAnError[12];
+ strcpybuff(thisIsATestYouShouldSeeAnError, "0123456789012345678901234567890123456789");
+ return 0;
+ }
break;
case 'f': opt->flush=1; break;
case 'h':