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

dm_handle_to_path



Dean,

I've found another one.

The dm_handle_to_path() call gives an EBADF any time you supply the same
directory handle for both the directory and target arguments.  I've looked
at the libdm code and the introductory comments indicate that this specific
situation was foreseen and specifically designed to work.

I'm making the call just after receiving a remove event.  I'm trying to
convert the file handle for the parent directory of the object into a
pathname.  I can then append the name of the file to the returned directory
path for use in a dm_path_to_handle() call to get the handle for the
object.

Thanks,

-James Goodwin
Software Engineer
IBM Global Services - Federal
jagoodwi@us.ibm.com
Phone: (281) 336 2578
Fax: (281) 335 4231
T/L 260-2578