#63551 indent: indentation bugs in indent & docs

Package:
indent
Source:
indent
Description:
C language source code formatting program
Submitter:
Tuomas Heino
Date:
2005-07-18 03:38:32 UTC
Severity:
normal
#63551#5
Date:
2000-05-04 08:52:26 UTC
From:
To:
Three bugs this time: indent seems to be unable to handle function
pointers properly, comments after (goto) labels are off-by-one and
the info page has a tab...

#63551#10
Date:
2000-05-05 16:00:13 UTC
From:
To:
Current indent in woody is 2.2.4-1, could you please try it and tell me
whether this bug reproduces or not?

Thanks.

#63551#15
Date:
2000-05-05 20:53:42 UTC
From:
To:
Yes the off-by-one for comments after (non-case) labels reproduces,
the documentation thingie seems to be fixed and the rather inconsistent
indentation of

int binpuu_fd_delete (
  void (*p_del_f)(void *),
  int (*p_ver_f)(const void *, const void *),
  const void *p_d_os,
  binpuu_fd *p_puu_os)

to

int binpuu_fd_delete(
                     void (*p_del_f) (void *),
                     int (*p_ver_f) (const void *, const void *),
const void *p_d_os, binpuu_fd * p_puu_os)

is still there... retitle s/ & docs //1 ? ;)

#63551#18
Date:
2000-06-05 11:59:08 UTC
From:
To:
Hello.

I've received this from the Bug system. [ Save the tab in the info
page which has been fixed, everything reproduces in indent 2.2.4 ].

[ Please keep the Cc: lines when replying ].

Thanks.

Package: indent
Version: 2.1.1-1
Severity: normal

Three bugs this time: indent seems to be unable to handle function
pointers properly, comments after (goto) labels are off-by-one and
the info page has a tab...

#63551#19
Date:
2001-12-29 17:13:52 UTC
From:
To:
Hello.

In Debian Bug #63551 (please keep the Cc: lines if possible),
Tuomas Heino <iheino@cc.hut.fi> reported (among many other things),
that when using -t and -ts there are off-by-one errors:

As an example, consider this sample.c

label:                                  /* Comment */

indent -c 15 -ts100 sample.c gives:

label:       /* Comment */

but the comment starts at column 14, not 15.

I can still reproduce this using indent-2.2.7.

Thanks.

#63551#20
Date:
2001-12-29 19:25:04 UTC
From:
To:
...

Hi, please note that 2.2.7 was a maintainer-switch release;
it hardly contains bug fixes.  However, the reported bugs
have been past on to the new maintainer.

The old maintainer,