|
@@ -426,8 +426,8 @@ libc_hidden_def(vswscanf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
+
|
|
- * must immediately precede CONV_c. */
|
|
+ simply to their lowercase equivalents. */
|
|
|
|
|
|
enum {
|
|
enum {
|
|
CONV_n = 0,
|
|
CONV_n = 0,
|
|
@@ -918,7 +918,7 @@ int attribute_hidden __psfs_parse_spec(register psfs_t *psfs)
|
|
psfs->dataargtype = PA_FLAG_LONG;
|
|
psfs->dataargtype = PA_FLAG_LONG;
|
|
} else if ((p_m_spec_chars >= CONV_c)
|
|
} else if ((p_m_spec_chars >= CONV_c)
|
|
&& (psfs->dataargtype & PA_FLAG_LONG)) {
|
|
&& (psfs->dataargtype & PA_FLAG_LONG)) {
|
|
- p_m_spec_chars -= 3;
|
|
+ p_m_spec_chars -= CONV_c - CONV_C;
|
|
}
|
|
}
|
|
|
|
|
|
psfs->conv_num = p_m_spec_chars;
|
|
psfs->conv_num = p_m_spec_chars;
|