[PATCH] regex: avoid new dead-code warning with gcc-4.6.0

2010-06-06 Thread Jim Meyering
FYI, Without the patch below, I'd get this warning when building coreutils with gcc-4.6.0: regex_internal.c: In function 're_string_reconstruct': regex_internal.c:740:20: warning: variable 'buf' set but not used [-Werror=unused-but-set-variable] >From 7873eb96d23bb7d369a0ac6cd5f8e811b0147b

Re: check-news target fails if NEWS file starts with a copyright header

2010-06-06 Thread Peter Simons
Karl Berry writes: > However, I also see no harm in looking at the first 20 lines instead > of the first 10 lines to match the version. yes, I agree with Karl here. The current implementation enforces a policy that feels rather odd. A NEWS file that features the release heading in line 10 is co