[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DMAPI remove event
>From: "James A Goodwin" <jagoodwi@us.ibm.com>
>When receiving a 'remove' event using the DMAPI the mode is always returned
>as 0 (actually it's the ne_mode field of the dm_namesp_event_t extracted
>from the event). This makes it impossible to determine if the event refers
>to a file, directory, symlink, etc.
>
>I don't know if this is a problem with other types of DMAPI events as well,
>but it is serious.
Serious? I'm not sure you've ever come up with a minor problem for me :)
>Is this an easy fix?
I see that the mode comes in the POSTREMOVE event, and that we'll have to
rearrange some code to get it into the REMOVE event. I'll play with it a bit.
Dean