Opened 16 years ago

Closed 16 years ago

#235 closed defect (fixed)

Multidot filename association

Reported by: komh Owned by:
Priority: minor Milestone: Release_3.11
Component: fm/2 base Version: 3.11
Keywords: Cc:

Description

Hi/2.

Currently, FM/2 does not process the association of multidot filename correctly.

KO Myung-Hun

Attachments (2)

wildcard.diff (3.4 KB) - added by komh 16 years ago.
Multidot filename assocition patch
literal_wildcard.c (2.5 KB) - added by komh 16 years ago.
multidot filename association fix

Download all attachments as: .zip

Change History (6)

comment:1 in reply to:  description ; Changed 16 years ago by komh

Hi/2.

I've fixed this problem. But I have a question. Why should we consider '/' and '
' when fNotFileSpec is FALSE ?

Does FM/2 sometimes pass a full path to wildcard() ? If not, we could simplify wildcard() better than now.

KO Myung-Hun

Replying to komh:

Hi/2.

Currently, FM/2 does not process the association of multidot filename correctly.

KO Myung-Hun

Changed 16 years ago by komh

Attachment: wildcard.diff added

Multidot filename assocition patch

comment:2 in reply to:  1 Changed 16 years ago by komh

Hi/2.

I'm sorry. Attached wildcard.diff is the diff from 3.06 tags. So I attach whole wildcard() in literal.c again.

KO Myung-Hun

Replying to komh:

Hi/2.

I've fixed this problem. But I have a question. Why should we consider '/' and '
' when fNotFileSpec is FALSE ?

Does FM/2 sometimes pass a full path to wildcard() ? If not, we could simplify wildcard() better than now.

KO Myung-Hun

Replying to komh:

Hi/2.

Currently, FM/2 does not process the association of multidot filename correctly.

KO Myung-Hun

Changed 16 years ago by komh

Attachment: literal_wildcard.c added

multidot filename association fix

comment:3 Changed 16 years ago by Gregg Young

Hi

Thank you for providing this fix. We do pass full path names to wildcard. I have added your code. The only changes I made were reformatting to match the FM/2 code style. I committed the change in CS 999.

Gregg

comment:4 Changed 16 years ago by Gregg Young

Milestone: Release_3.11
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.