On 07/24/11 10:25, Bruno Haible wrote: > I thought about this as well, but it has the drawback that "grep '(long)'" > wouldn't find this occurrence.
That's a minor disadvantage. Such a grep is doomed to failure, as gnulib must have hundreds of conversion to 'long' that the 'grep' will miss. Avoiding the error-proneness of the cast is more important than using the cast to highlight this particular conversion. That being said, it may be that you prefer highlighting this particular conversion because it may narrow the value. If that's the case, how about this idea instead? It has a "(long)" that can be grepped for, and it avoids the cast. if (LONG_MIN <= offset && offset <= LONG_MAX) return /* (long) */ offset; Personally I don't like this kind of decoration, as I think it's unnecessary clutter, but it's better than what we have now because it avoids the cast. > when you rebased your proposed commits, the ChangeLog entries did not go > in at the top. Are you using the 'git-merge-changelog' driver? No, I used "git rebase -i", generated a revised patch, and then applied it with "git am".