|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56309 Missing quotation marks in php_pdo_firebird_int.h
Submitted: 2005-02-19 18:17 UTC Modified: 2005-02-26 19:37 UTC
From: adamg at pld-linux dot org Assigned: wez (profile)
Status: Closed Package: PDO_FIREBIRD (PECL)
PHP Version: Irrelevant OS: 64 bit Linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: adamg at pld-linux dot org
New email:
PHP Version: OS:


 [2005-02-19 18:17 UTC] adamg at pld-linux dot org
In php_pdo_firebird_int.h there is a block of #ifdefs that defines LL_MASK and LL_LIT constants. However, in the first part it lacks quotation marks around value, causing compile to fail (shows up on 64 bit systems). It does not affect 32 bit systems though. 

Reproduce code:
Add quotation marks in '#define LL_MASK l'
--- php_pdo_firebird_int.h      23 Jun 2004 13:26:08 -0000      1.8
+++ php_pdo_firebird_int.h      19 Feb 2005 23:13:06 -0000
@@ -34,7 +34,7 @@
 #define SHORT_MAX (1 << (8*sizeof(short)-1))
 #if SIZEOF_LONG == 8
-# define LL_MASK l
+# define LL_MASK "l"
 # define LL_LIT(lit) lit ## L
 # ifdef PHP_WIN32


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-26 19:37 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 03:01:27 2023 UTC