Hi James,

James Carlson píše v čt 28. 08. 2008 v 15:46 -0400:
> Milan Jurik writes:
> > Hi,
> > 
> > I (or hg nits) have problem with this code:
> > 
> > 409                 (void) fprintf(stderr, gettext(
> > 410                     "usage: %s [-acm] [-r ref_file] file...\n"
> > 411                     "       %s [-acm] [MMDDhhmm[yy]] file...\n"
> > 412                     "       %s [-acm] [-t [[CC]YY]MMDDhhmm[.SS]] 
> > file...\n"),
> > 413                     myname, myname, myname);
> > 
> > C style check:
> > usr/src/cmd/touch/touch.c: 413: continuation line improperly indented
> > 
> > I think such code was OK for wx, as the result of one point of view on 
> > chapter 13. in C style doc. Where am I doing the mistake? How should it 
> > look like? I tried to move lines 410-412, I tried several formats of line 
> > 413, no success.
> 
> Can you provide a binary copy of that file (something that preserves
> all characters, unlike most email clients)?
> 
> Have you tried running cstyle on it?
> 
> My guess would be that line 413 has extra spaces hidden amongst the
> tabs.
> 

/net/tb3.uk/tank/u/mj162486/1-23980484/onnv-hg-clone-eu/usr/src/cmd/touch/touch.c

and btw. lines 191, 192, 194 has the same problem.

Best regards,

Milan



_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to