characters.
(collate_output): Correct various problems with alignment in the
output file.
+ * locale/weight.h: Adjust for last change in ld-collate.c of adding
+ alignment padding.
* stdlib/strfmon.c: Don't report an error if final NUL is at the
end of the buffer. Set errno correctly if floating-point number
/* Up to the next entry. */
cp += nhere;
+ if ((1 + nhere) % __alignof__ (int32_t) != 0)
+ cp += __alignof__ (int32_t) - (1 + nhere) % __alignof__ (int32_t);
}
else
{
{
/* Cannot be in this range. */
cp += 2 * nhere;
+ if ((1 + 2 * nhere) % __alignof__ (int32_t) != 0)
+ cp += (__alignof__ (int32_t)
+ - (1 + 2 * nhere) % __alignof__ (int32_t));
continue;
}
{
/* Cannot be in this range. */
cp += 2 * nhere;
+ if ((1 + 2 * nhere) % __alignof__ (int32_t) != 0)
+ cp += (__alignof__ (int32_t)
+ - (1 + 2 * nhere) % __alignof__ (int32_t));
continue;
}