Development

#850 ([pake] pakeFinder->searchIn() should check the type of readdir() result)

You must first sign up to be able to contribute.

Ticket #850 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[pake] pakeFinder->searchIn() should check the type of readdir() result

Reported by: indeyets Assigned to:
Priority: critical Milestone: 1.0.0
Component: Version: 0.7.X
Keywords: pake,patch Cc:
Qualification:

Description

It is impossible, currently, to find a dir named "0", it will just be cast to false, because of the non-typed check

line 374 is:

      while ($entryname = readdir($current_dir))

should be:

      while (($entryname = readdir($current_dir)) !== false)

Change History

08/29/06 14:24:33 changed by fabien

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

(In [1851]) fixed pakeFinder->searchIn() should check the type of readdir() result (closes #850)

08/29/06 15:49:55 changed by fabien

  • milestone set to 1.0.0.