[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/tests-common svn_test_editor.c

From: Jonathan S. Shapiro <shap_at_eros-os.org>
Date: 2000-10-17 20:46:09 CEST

Pure trivia:

Historically, "long" was a modifier indicating how big an "int" you want, so
actually "long int" is correct usage and perfectly sensible. The 'char'
didn't become a properly reconciled integer type until ANSI C. I don't
recall that it was ever considered a modifier.

However, "long int" is anacronistic and adds no value, so I agree that it be
replaced by the simpler "long".

----- Original Message -----
From: "Greg Hudson" <ghudson@MIT.EDU>
To: <dev@subversion.tigris.org>
Sent: Tuesday, October 17, 2000 2:36 PM
Subject: Re: CVS update: subversion/subversion/tests-common
svn_test_editor.c

> > - window->ops[i].length, str->data);
> > + (long int) window->ops[i].length, str->data);
>
> If I'm not mistaken about C, "long int" doesn't actually make any more
> conceptual sense than "char int". (Although compilers will accept one
> and not the other.) I think you just want "long" here.
>
Received on Sat Oct 21 14:36:11 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.