php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #132 S_ISREG not defined in fopen-wrappers.c (3.0b6)
Submitted: 1998-03-02 20:59 UTC Modified: 1998-03-03 01:36 UTC
From: jfreeman at wwa dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: other OS: WIN32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jfreeman at wwa dot com
New email:
PHP Version: OS:

 

 [1998-03-02 20:59 UTC] jfreeman at wwa dot com
When compiling PHP project with VC++ 5.0, S_ISREG() in fopen-wrappers.c is not defined.  There are defines for S_ISREG (and S_ISDIR and S_ISLNK) in filestat.c but it would seem they should be moved to a header file that is included in fopen-wrappers.c and filestat.c.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-03 01:36 UTC] jaakko
I fixed it the easy way, just adding the same define as in filestat.c,
as it is the smallest cleanest way. It's not a big deal, and an extra include
for a small define that is merely a shorthand makes it only complicated.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 17:01:32 2024 UTC