Bug 245436 - authd.c contains illegal identifier $_LONGOPT
Summary: authd.c contains illegal identifier $_LONGOPT
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:
Keywords:
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)

(edit)
Clone Of:
(edit)
Last Closed: 2007-09-19 10:28:57 UTC


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.