php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35648 ext\date\lib\parse_date.c uses strncasecmp
Submitted: 2005-12-12 20:35 UTC Modified: 2005-12-12 20:45 UTC
From: kernoel at chello dot at Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2005-12-12 (CVS) OS: Win32
Private report: No CVE-ID: None
 [2005-12-12 20:35 UTC] kernoel at chello dot at
Description:
------------
because ext\date\lib\parse_date.c uses strncasecmp also on windows platforms, i get unresolved external symbols. a simple #ifdef in front of the function solves the problem for the moment. there is only one line where strncasecmp is used, so this should be easy to find ;o)

Reproduce code:
---------------
----

Expected result:
----------------
----

Actual result:
--------------
parse_date.obj : error LNK2019: unresolved external symbol _strncasecmp referenced in function _timelib_skip_day_suffix
Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-12 20:39 UTC] kernoel at chello dot at
This also applies to cvs of version 6...
 [2005-12-12 20:45 UTC] sniper@php.net
This bug has been fixed in CVS.

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/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 01 13:00:01 2025 UTC