Ticket #27 (closed bug: fixed)

Opened 1 year ago

Last modified 5 months ago

strcmp() and strncmp() break on non-ASCII-7 strings

Reported by: solar Assigned to: solar
Milestone: v0.5 Version: 0.4.1
Keywords: Cc:

Description

The <string.h> functions strcmp() and strncmp() do not interpret the differing characters as unsigned char, as required by 7.21.4 (1).

This results in incorrect behaviour for strings containing characters outside the 0-127 range.

Change History

09/01/09 08:47:50 changed by solar

  • status changed from new to closed.

Fixed in changeset [330].