[GRASS5] PATCH: asprintf.c
Markus Neteler
neteler at itc.it
Thu Jun 9 07:33:13 EDT 2005
On Thu, Jun 09, 2005 at 12:24:13PM +0100, Paul Kelly wrote:
> On Thu, 9 Jun 2005, Markus Neteler wrote:
>
> >On Thu, Jun 09, 2005 at 01:52:37AM +0100, Paul Kelly wrote:
> >...
> >>It would be nice also to use indent according to the spec in the
> >>SUBMITTING document to format the file nicely, as I left it in a total
> >>mess when originally submitting it.
> >
> >I don't remember which one is official, could it be:
> >
> > indent -i4 -npsl -di0 -br -nce -d0 -cli0 -npcs -nfc1 file.c
>
> Ah I thought it had been put into SUBMITTING but looks like it hadn't.
> Here is what Glynn suggested in that discussion:
> http://grass.itc.it/pipermail/grass5/2003-July/008196.html
Thanks for the (lost) reference.
A good test case is
grass5/src/libes/image3/*.c
which is full of comments, debug etc and IMHO partially unreadable.
Markus
More information about the grass-dev
mailing list