Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 43091
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Karl Trygve Kalleberg (RETIRED) <karltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Luca Santarelli <hrk@users.sourceforge.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fix.diff Patch for command line parsing error. patch Luca Santarelli 2004-02-27 05:37 0000 5.69 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 43091 depends on: Show dependency tree
Bug 43091 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-27 05:36 0000
Hi,

astyle has a bug in its command line parameters parsing routine which affects the --force-indent=tab=# and --indent=tab=# options.

I have fixed it and contacted the author to his SourceForge.net email address, but I still haven't received an answer. I am attaching a diff file (-Naur, as somebody asked me :-)) for the file astyle_main.cpp

Reproducible: Always
Steps to Reproduce:
1. astyle --force-indent=tab=4
2.
3.

Actual Results:  
The program refuses the option (but it's documented in the --help output!)

Expected Results:  
It should not refuse the option (and should use it!)

------- Comment #1 From Luca Santarelli 2004-02-27 05:37:00 0000 -------
Created an attachment (id=26467) [details]
Patch for command line parsing error.

------- Comment #2 From Karl Trygve Kalleberg (RETIRED) 2004-03-28 10:17:15 0000 -------
Fixed. Available as dev-util/astyle-1.15.3-r1.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug