diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-30 20:09:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-30 20:09:24 +0000 |
commit | 06fc3fc8339bb439aa805f2c4935c590ac5464bc (patch) | |
tree | ed50d19463d989cd739a591dff37baf80935f321 /src/mknod.c | |
parent | bb682cff5e71cabc75a7bd0bc7c09fba10a249a3 (diff) | |
download | coreutils-06fc3fc8339bb439aa805f2c4935c590ac5464bc.tar.xz |
Work around HPUX /bin/cc compiler bug.
(card_of_complement): Use cleaner `sizeof in_set'
rather than `N_CHARS * sizeof(in_set[0])'. Using HPUX's /bin/cc
(aC++/ANSI C B3910B A.05.55 [Dec 04 2003]) on an ia64-hp-hpux11.22
system, those two expressions are not the same (256 vs. 1024).
The effect of this problem was that `tr -c x y' would fail:
tr: when not truncating set1, string2 must be non-empty
Diffstat (limited to 'src/mknod.c')
0 files changed, 0 insertions, 0 deletions