Opened 12 years ago
Closed 9 years ago
#4728 closed defect (fixed)
[Shapelib - PATCH] Distinguish error case from empty intersection case in SHPSearchDiskTreeEx() and SBNSearchDiskTreeInteger()
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | shapelib |
Cc: |
Description
Currently, SHPSearchDiskTreeEx() and SBNSearchDiskTreeInteger() return a NULL pointer, if there was an error during the search or if the intersection is empty. Those are 2 different situations. The fix returns a non NULL pointer when the intersection is empty (with a count still at 0 of course).
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | shapelib_ticket4728.patch added |
---|
comment:1 by , 12 years ago
Note:
See TracTickets
for help on using tickets.
r24638 /trunk/ (4 files in 2 dirs): Shape: distinguish error case from empty intersection case in SHPSearchDiskTreeEx() and SBNSearchDiskTreeInteger() (#4728)