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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 10 22:01:32 2024 UTC