[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question on adding code to perl.c



According to Darren/Torin/Who Ever...:
>     if (!archpath)
>     {
>         len = sizeof(ARCHNAME) + sizeof("/usr/lib/perl5//5.004");
>         New(23, archpath, len, char);
>         sprintf(archpath, "/usr/lib/perl5/%s/5.004", ARCHNAME);
>     }
>     incpush(archpath, FALSE);

I think for Debian you can assume GCC, thus ANSI, thus:

    incpush("/usr/lib/perl5/" ARCHNAME "/5.004", FALSE);

-- 
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."


Reply to: