[c2man] remove hardcoded extension (try#2)

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


Well then will this do good, if the file extension is 'spec', then we
will take the default value as 'dll'.
As the logic i am using to parse the filenames is, I am checking using
the first part of the extension.
Can you tell me a better method other than this?
I will cahnge to that.

On 9/20/06, Alexandre Julliard <julliard at winehq.org> wrote:
> "Vijay Kiran Kamuju" <infyquest at gmail.com> writes:
>
> > 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.
>
> That doesn't mean you need to hardcode a list of extensions, any
> extension is allowed, and the code should cope with that.
>
> --
> Alexandre Julliard
> julliard at winehq.org
>



More information about the wine-devel mailing list