Sebastian Bergmann wrote:
> Using strace I found out out that my build tries to open the php.ini
> file in an invalid directory:
>
>   662 2012 436 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243384,
>   "\??\C:\home\php\php4\Release_TS_Inline\C:\WINNT\php-cli.ini"},
>   1243404, 0, 128, 3, 1, 96, 0, 0, ... ) == STATUS_OBJECT_NAME_INVALID
>
>   664 2012 436 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243400,
>   "\??\C:\home\php\php4\Release_TS_Inline\C:\WINNT\php.ini"}, 1243420,
>   0, 128, 3, 1, 96, 0, 0, ... ) == STATUS_OBJECT_NAME_INVALID

  Forgot to post the strace output for the snapshot binary that works for
  me:

    662 260 1956 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243380, 
    "\??\c:\php-cli.ini"}, 1243400, 0, 128, 3, 1, 96, 0, 0, ... ) == 
    STATUS_OBJECT_NAME_NOT_FOUND

    664 260 1956 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243380, 
    "\??\C:\WINNT\php-cli.ini"}, 1243400, 0, 128, 3, 1, 96, 0, 0, ... )
    == STATUS_OBJECT_NAME_NOT_FOUND

    666 260 1956 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243396, 
    "\??\c:\php.ini"}, 1243416, 0, 128, 3, 1, 96, 0, 0, ... ) == 
    STATUS_OBJECT_NAME_NOT_FOUND

    668 260 1956 NtCreateFile (0x80100080, {24, 0, 0x42, 0, 1243396, 
    "\??\C:\WINNT\php.ini"}, 1243416, 0, 128, 3, 1, 96, 0, 0, ... 136, )
    == 0x0

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to