[c2man] remove hardcoded extension (try#2)

Vijay Kiran Kamuju infyquest at gmail.com
Wed Sep 20 14:14:49 CDT 2006


well some spec files are like wnaspi32.spec, when we parse the names of those.
We need to hard code them to dll.
There is no other way unless you change the spec file names.

On 9/20/06, Alexandre Julliard <julliard at winehq.org> wrote:
> "Vijay Kiran Kamuju" <infyquest at gmail.com> writes:
>
> >    my $uc_dll_name  = uc $dll_name;
> > +
> > +  if (($dll_ext ne 'ds') && ($dll_ext ne 'acm') && ($dll_ext ne 'drv')
> > +      ($dll_ext ne 'exe') && ($dll_ext ne 'ocx') && ($dll_ext ne 'vxd'))
> > +  {
> > +    $dll_ext='dll';
> > +  }
>
> You are still hardcoding things, there's really no reason to do that.
>
> --
> Alexandre Julliard
> julliard at winehq.org
>



More information about the wine-devel mailing list