Opened 17 years ago
Closed 15 years ago
#1681 closed defect (fixed)
Add cast to (unsigned char) in all isspace() calls
Reported by: | Daniel Morissette | Owned by: | chaitanya |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.1 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | Mateusz Łoskot, warmerdam |
Description
Ticket #1678 pointed an issue with isspace() that requires casting of the char passed as argument to (unsigned char). The original issue has been fixed in the MITAB driver in ticket 1678, but there are 28 other places using isspace() in the current trunk version of GDAL that may need to be fixed as well (see attached list).
The issue is explained here: http://www.greenend.org.uk/rjk/2001/02/cfu.html#ctypechar
This ticket is to track this.
Attachments (1)
Change History (7)
by , 17 years ago
Attachment: | isspace.txt added |
---|
comment:2 by , 16 years ago
Milestone: | 1.5.0 → 1.6.0 |
---|
comment:3 by , 16 years ago
Cc: | added |
---|
comment:4 by , 15 years ago
This seems like a low intensity and low risk fix for 1.6.1 that just wasn't gotten to. If it can't be done for the 1.6.1 release, please kick it forward to 1.7 or future.
comment:5 by , 15 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Chaitanya,
Please take care of this in 1.6 branch and trunk.
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
List of calls to isspace() in GDAL trunk