[aarch64-port-dev ] Fix whitespace
Edward Nevill
edward.nevill at linaro.org
Fri Nov 14 10:54:25 UTC 2014
On Thu, 2014-11-13 at 15:41 +0000, Andrew Dinn wrote:
> On 13/11/14 14:37, Andrew Haley wrote:
> > I really hate to do this, but...
> >
> > We're merging to the staging repo, and that uses jcheck, so we really
> > have to follow jcheck rules for whitespace. That means I'm going to
> > have to clean up the source files in HotSpot. All of them. So it'll
> > make an awful mess of the diffs. I think there's no choice, though.
> >
> > Opinions?
>
> What is there to have an opinion on? As far as I can see we just have to
> do it.
We have to do it for the staging repo, but I think the question is what to we do with the existing jdk8/jdk9 repos.
My feeling is that we should do it to the existing repos so that we can continue using the existing repos for experiments and make the task of merging upstream easier.
We should have done this from day 1.
The following may help:-)
Regards,
Ed.
#include <stdio.h>
int main(void)
{
int i = 0;
int c;
while ((c = getchar()) != EOF) {
if (c == '\t') {
do putchar(' '); while (++i & 7);
} else {
++i;
if (c == '\n') i = 0;
putchar(c);
}
}
}
More information about the aarch64-port-dev
mailing list