Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 245436 - authd.c contains illegal identifier $_LONGOPT
Summary: authd.c contains illegal identifier $_LONGOPT
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: authd
Version: rawhide
Hardware: arm9
OS: Linux
low
low
Target Milestone: ---
Assignee: Ondrej Dvoracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2007-06-23 07:10 UTC by Lennert Buytenhek
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-19 10:28:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Suggested patch. (493 bytes, patch)
2007-06-23 07:10 UTC, Lennert Buytenhek
no flags Details | Diff

Description Lennert Buytenhek 2007-06-23 07:10:15 UTC
authd.c 1.4.3 has:

    enum { $_LONGOPT = UCHAR_MAX,       // no short opt value overlap

where $_LONGOPT is not a legal identifier.  This causes the build to
bomb out on ARM.  (I wonder why it doesn't bomb out on other archs.)

Attached patch (which changes $_LONGOPT to PRE_FIRST_LONGOPT) seems
to work for me.  I tried finding out whether there is a mailing list
for authd where to submit this patch, but there doesn't seem to be such
a thing, which is why I'm submitting it directly to bugzilla.  Maybe
you can help.

Thanks for your time.

Comment 1 Lennert Buytenhek 2007-06-23 07:10:15 UTC
Created attachment 157676 [details]
Suggested patch.


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