Development

#3880 (opendir closed by fclose instead of closedir)

You must first sign up to be able to contribute.

Ticket #3880 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

opendir closed by fclose instead of closedir

Reported by: znagy_k2004 Assigned to: fabien
Priority: minor Milestone: 1.0.18
Component: configuration Version: 1.0.17
Keywords: Cc:
Qualification: Unreviewed

Description

sfConfigCache::loadConfigHandlers() opens a directory on line 290 and closes as a file on line 316.

Based on the php documentation that resource opened by opendir must be closed by closedir. Still the original php interpreter closes the resource anyway, but the Quercus interpreter halts the program with error.

This little bug exist in all symfony version.

Change History

07/02/08 07:37:54 changed by fabien

  • milestone set to 1.0.18.

07/02/08 07:38:45 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [10059]) fixed opendir closed by fclose instead of closedir (closes #3880)