Opened 9 years ago

Closed 9 years ago

#5743 closed defect (invalid)

CSLFetchBoolean broken

Reported by: Lucian Plesea Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

CSLFetchBoolean should do what the description says it does. Currently it returns true if the key exists, regardless of the value.

Change History (2)

comment:1 by Even Rouault, 9 years ago

I think the function does what that documentation says. If the list contains strings like "key_without_value" and "key_with_value=value", CSLFetchBoolean(, "key_without_value") will return TRUE and CSLFetchBoolean(, "key_with_value=value") will return TRUE if value is considered as TRUE. Unless I missed something ?

comment:2 by Lucian Plesea, 9 years ago

Resolution: invalid
Status: newclosed

Agree, sorry, I was using it wrong.

Note: See TracTickets for help on using tickets.