Bug #34532

FAL: Storage::getCapabilities needs to use & for bit-wise AND, not &&, and then cast to boolean

Added by Oliver Klee about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2012-03-05
Priority:Should have Due date:
Assignee:Andreas Wolf % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Currently, the function returns TRUE if any capability is set (independent of the parameter as long as it's != 0).

History

Updated by Christian Jul Jensen about 2 years ago

  • Project changed from Core to File Abstraction Layer

Moved to the FAL tracker

Updated by Andreas Wolf about 2 years ago

  • Status changed from New to Accepted
  • Assignee set to Andreas Wolf

I thought to have fixed this some time ago... Anyways, we should also have unit tests for this then.

Updated by Andreas Wolf about 2 years ago

  • Status changed from Accepted to Resolved

This has been fixed with commit e4d6c2a632173326ab6d91aab2fc63224d6c3ddc in branch plain-fileabstraction

Also available in: Atom PDF