Fix a crash bug when modperl was loaded on some arches
Fix a crash bug when modperl was loaded on some arches

PERL_SYS_INIT3 was added to modperl in r1155-1158 to fix modperl on arches like
hppa. This added an invalid cast which caused a segfault.

If you have:
  const char *pArgv[];
Then pArgv will point to the same memory location as &pArgv. This pointer was
then casted to (char ***) which is one level of pointers too much for this
pointer.

Thanks to an anonymous reporter who pointed out the crash.
Thanks to pippijin for helping me understand the C++ magic.


git-svn-id: 3ad904ec35b89a071badd9cb0113dfe58093e920@1237 726aef4b-f618-498e-8847-2d620e286838

anthonyryan1/znc,Adam-/znc,elyscape/znc,markusj/znc,KielBNC/znc,Mkaysi/znc,reedloden/znc,kashike/znc,Phansa/znc,aarondunlap/znc,trisk/znc,wolfy1339/znc,ollie27/znc,KiNgMaR/znc,withinsoft/znc,Hasimir/znc,reedloden/znc,Mikaela/znc,jpnurmi/znc,znc/znc,znc/znc,kashike/znc,anthonyryan1/znc,evilnet/znc,Mkaysi/znc,Hasimir/znc,TuffLuck/znc,ollie27/znc,dgw/znc,wolfy1339/znc,Kriechi/nobnc,Hasimir/znc,psychon/znc,reedloden/znc,psychon/znc,psychon/znc,withinsoft/znc,jantman/znc,Adam-/znc,znc/znc,aarondunlap/znc,anthonyryan1/znc,Mkaysi/znc,psychon/znc,znc/znc,BtbN/znc,dgw/znc,aarondunlap/znc,Adam-/znc,Hasimir/znc,aarondunlap/znc,kashike/znc,Kriechi/znc,dgw/znc,GLolol/znc,Mkaysi/znc,ollie27/znc,GLolol/znc,wolfy1339/znc,znc/znc,Mikaela/znc,Mkaysi/znc,jpnurmi/znc,Adam-/znc,TuffLuck/znc,Kriechi/nobnc,TuffLuck/znc,withinsoft/znc,reedloden/znc,BtbN/znc,jpnurmi/znc,jantman/znc,Mkaysi/znc,Zarthus/znc,dgw/znc,dgw/znc,YourBNC/znc,Kriechi/znc,anthonyryan1/znc,KielBNC/znc,Zarthus/znc,anthonyryan1/znc,DarthGandalf/znc,markusj/znc,withinsoft/znc,elyscape/znc,aarondunlap/znc,Zarthus/znc,Mikaela/znc,Phansa/znc,badloop/znc,wolfy1339/znc,YourBNC/znc,anthonyryan1/znc,TingPing/znc,Hasimir/znc,jantman/znc,Mkaysi/znc,Adam-/znc,BtbN/znc,Phansa/znc,KielBNC/znc,BtbN/znc,Mikaela/znc,YourBNC/znc,KiNgMaR/znc,KiNgMaR/znc,psychon/znc,withinsoft/znc,ollie27/znc,TuffLuck/znc,Phansa/znc,Zarthus/znc,dgw/znc,evilnet/znc,trisk/znc,Kriechi/znc,jpnurmi/znc,markusj/znc,elyscape/znc,ollie27/znc,kashike/znc,YourBNC/znc,elyscape/znc,evilnet/znc,elyscape/znc,KielBNC/znc,BtbN/znc,jreese/znc,GLolol/znc,jreese/znc,YourBNC/znc,evilnet/znc,TuffLuck/znc,Adam-/znc,TuffLuck/znc,Kriechi/znc,GLolol/znc,jantman/znc,DarthGandalf/znc,DarthGandalf/znc,TuffLuck/znc,BtbN/znc,trisk/znc,ollie27/znc,GLolol/znc,KielBNC/znc,aarondunlap/znc,DarthGandalf/znc,badloop/znc,DarthGandalf/znc,TingPing/znc,TingPing/znc,anthonyryan1/znc,badloop/znc,elyscape/znc,Kriechi/znc,KiNgMaR/znc,wolfy1339/znc,trisk/znc,Phansa/znc,markusj/znc,badloop/znc,Zarthus/znc,DarthGandalf/znc,Zarthus/znc,wolfy1339/znc,evilnet/znc,jpnurmi/znc,Mikaela/znc,kashike/znc,jreese/znc,TingPing/znc,Kriechi/znc,aarondunlap/znc,evilnet/znc,KiNgMaR/znc,GLolol/znc,jantman/znc,KielBNC/znc,jpnurmi/znc,Hasimir/znc,Mikaela/znc,badloop/znc,Kriechi/nobnc,trisk/znc,znc/znc,reedloden/znc,Mikaela/znc,trisk/znc,withinsoft/znc,kashike/znc,psychon/znc,markusj/znc,jreese/znc,Adam-/znc,jreese/znc,jpnurmi/znc,markusj/znc,KiNgMaR/znc,YourBNC/znc,badloop/znc,Hasimir/znc,jreese/znc,TingPing/znc,Phansa/znc,TingPing/znc,badloop/znc,jantman/znc,reedloden/znc