Bug 14684

Summary: libXau, ansify functions under #ifdef K5AUTH
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: Lib/XauAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Ansify-2-remaining-K-R-prototype-functions.patch none

Description Paulo César Pereira de Andrade 2008-02-26 09:19:52 UTC
Created attachment 14586 [details] [review]
0001-Ansify-2-remaining-K-R-prototype-functions.patch

Just for coherence as all remaining libXau code is
already "ansified".
Comment 1 Alan Coopersmith 2008-02-26 09:35:21 UTC
Are these functions able to be compiled any more or are they as broken as
the ones recently removed from the server?   (i.e. do they use current
Kerberos5 API, or only the early 90's version?)
Comment 2 Paulo César Pereira de Andrade 2008-02-26 09:55:03 UTC
  I dont have experience with kerberos, but looking at
function calls, and definitions from the kerberos 5 devel
package in Mandriva, I notice that the calls in libXau
are incorrect, as all functions/macros receive a
krb5_context pointer as first argument.

  So maybe it should be aswell just removed if the
Server side has been already removed, otherwise, fixing
it would probably be better...

Comment 3 Paulo César Pereira de Andrade 2009-02-02 11:28:56 UTC
  Corrected in git master by removing the
old kerberos api implementation.

  Since support was already removed from the
X Server then, the logical step for libXau
is to also remove it, but the proper solution
should really be to update both X Server and
libXau to today's Kerberos 5 api.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.