php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60094 C++ comment fails in c89
Submitted: 2011-10-19 13:18 UTC Modified: 2011-10-19 15:10 UTC
From: jojo at hp dot com Assigned: laruence (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.3.8 OS: HP NonStop
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 37 = ?
Subscribe to this entry?

 
 [2011-10-19 13:18 UTC] jojo at hp dot com
Description:
------------
C++ comment fails in c89, the file .../ext/fileinfo/libmagic/cdf_time.c uses a C++ comment ("//") in one place, in line 120.
Simply change it to a C-style comment and al will be well ;-)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-19 15:06 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2011-10-19 15:08 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=318222
Log: Fixed bug #60094 (C++ comment fails in c89)
 [2011-10-19 15:10 UTC] laruence@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-10-19 15:10 UTC] laruence@php.net
-Status: Assigned +Status: Closed
 [2012-04-18 09:48 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b873f0ebf023e6918d17217bb69e56f5195526ed
Log: Fixed bug #60094 (C++ comment fails in c89)
 [2012-07-24 23:39 UTC] rasmus@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b873f0ebf023e6918d17217bb69e56f5195526ed
Log: Fixed bug #60094 (C++ comment fails in c89)
 [2013-11-17 09:35 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b873f0ebf023e6918d17217bb69e56f5195526ed
Log: Fixed bug #60094 (C++ comment fails in c89)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC