Okay.  Could you provide the source for the entire virtual_file_ex()
function from tsrm_virtual_cwd.c file?

-- Dossy

On 2001.11.27, Sean Redmond <[EMAIL PROTECTED]> wrote:
> (gdb) up
> #1  0x40291659 in virtual_file_ex (state=0x403ac164,
>     path=0x833a694 "../src/load_prefs.php", verify_path=0)
>     at tsrm_virtual_cwd.c:299
> 299                     if (realpath(tmp, resolved_path)) {
> (gdb) list
> 294                     ptr += state->cwd_length;
> 295                     *ptr++ = DEFAULT_SLASH;
> 296                     memcpy(ptr, path, path_length);
> 297                     ptr += path_length;
> 298                     *ptr = '\0';
> 299                     if (realpath(tmp, resolved_path)) {
> 300                             path = resolved_path;
> 301                             path_length = strlen(path);
> 302                     }
> 303                     free(tmp);
>
>
> At 02:10 PM 11/27/2001 -0500, Dossy wrote:
> >Against your AOLserver 3.0 and RH7 setup, could you re-run gdb
> >and produce the crash, then type "up" then "list" as commands
> >to gdb once it segfaults?
> >
> >Send that output.  It may help us.
> >
> >-- Dossy
>
> Sean Redmond
> Brooklyn Museum of Art

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)

Reply via email to