Bug 78190 - [PATCH] [TRIVIAL] misparses command line badly.
Summary: [PATCH] [TRIVIAL] misparses command line badly.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-xfree86
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-19 21:59 UTC by Crutcher Dunnavant
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-11-19 21:59:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Crutcher Dunnavant 2002-11-19 21:59:39 UTC
Description of Problem:
There is a brown-paper-bag bug in /usr/share/redhat-config-xfree86/xconf.py,
which completely fubars its parsing of --set-card and --set-resolution.

A comma is missing.

Version-Release number of selected component (if applicable):
redhat-config-xfree86-0.6.7-1

--- xconf.py.oops       2002-11-19 16:01:24.000000000 -0600
+++ xconf.py    2002-11-19 16:01:35.000000000 -0600
@@ -1534,7 +1534,7 @@
                                ["help", "reconfig", "noui", "verbose",
                                 "forceui", "output=",
                                 "set-hsync=", "set-vsync=",
-                                "set-videoram=", "set-driver=", "set-card="
+                                "set-videoram=", "set-driver=", "set-card=",
                                 "set-resolution=", "set-depth="])
 except (getopt.GetoptError), e:
     print e

Comment 1 Alexander Larsson 2002-11-20 10:56:11 UTC
Yes. That was a bit embarrasing. But it is fixed in CVS, and i believe the fix
has now propagated to rawhide.



Note You need to log in before you can comment on or make changes to this bug.