From: "kevin seguin" <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 10:23 AM


> in the following code snippet, i'm trying to get the full path for a
> given file name (in argv[1]) using apr_file_get_info() and apr_stat(). 
> in looking at apr_file_info.h, it appears that apr_finfo_t.fname should
> contain the full path for the file after calling these functions, but it
> does not.  am i missing something, or is this just not working (i've
> observed this behavior on both windows and redhat linux 7)?

We don't fill out a full apr_finfo_t.fname because the resulting memory 
consumption would be unacceptable, and it adds cpu clicks when many
applications _don't_ need the full path of the files when they are 
apr_dir_read()ing.


Reply via email to