Difference in the XLib API between manpage specs and source header

Bug #408337 reported by Ricardo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I detect the next difference in the XLib API between the manpages specifications and the source header on /usr/include/X11:

### man 3 XCopyGC ###
int XCopyGC(Display *display, GC src, GC dest, unsigned long valuemask);
### END ###

### /usr/include/X11/Xlib.h ###
extern int XCopyGC(
    Display* /* display */,
    GC /* src */,
    unsigned long /* valuemask */, <----------+--------------- Different order of arguments!
    GC /* dest */ <--------------------/
);
### END ###

[lspci]
00:00.0 RAM memory [0500]: nVidia Corporation MCP55 Memory Controller [10de:0369] (rev a2)
     Subsystem: Sun Microsystems Computer Corp. Unknown device [108e:534d]
02:00.0 VGA compatible controller [0300]: nVidia Corporation G73GL [Quadro FX 560] [10de:039e] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: nVidia Corporation Unknown device [10de:034a]
07:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown device [10de:0641] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: Unknown device [1acc:0914]

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi jimenezrick,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in libx11 (Ubuntu):
status: New → Incomplete
Revision history for this message
Ricardo (jimenezrick) wrote :

Adding `lspci -vvnn`.

Revision history for this message
Ricardo (jimenezrick) wrote :

Adding /var/log/Xorg.0.log.

Revision history for this message
Ricardo (jimenezrick) wrote :

Up.

Bryce Harrington (bryce)
Changed in libx11 (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
description: updated
Revision history for this message
Julien Cristau (jcristau) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libx11 - 2:1.3.3-3ubuntu1

---------------
libx11 (2:1.3.3-3ubuntu1) maverick; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Add Latin locale.
    - Add Klingon locale.

libx11 (2:1.3.3-3) unstable; urgency=low

  [ Julien Cristau ]
  * Drop manpage from libx11-6-udeb.
  * Don't install X11 locale data in the udeb. The installer uses only gtk
    apps so this is useless (and big).

  [ Cyril Brulebois ]
  * Cherry-pick patch from upstream to run user's synchandlers as well as
    any internal synchandlers: 75ea8c3793. This fixes xnee issues when
    RECORD extension is enabled (Closes: #536491; LP: #378648).
  * Merge xsfbs/debian-unstable to fix double autoreconf runs.

libx11 (2:1.3.3-2) unstable; urgency=low

  [ Julien Cristau ]
  * Update debian/copyright from upstream COPYING.
  * Remove myself from Uploaders

  [ Brice Goglin ]
  * Remove Jamey Sharp and Josh Triplett from Uploaders, closes: #568274.

  [ Cyril Brulebois ]
  * Add udeb needed for the graphical installer: libx11-6-udeb.
  * Bump the B-D on libxcb1-dev to ensure libx11-6-udeb gets a dependency
    on libxcb1-udeb.
  * Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
  * Add myself to Uploaders.

libx11 (2:1.3.3-1) unstable; urgency=low

  * xtrans has been fixed to not make us export a weak in6addr_any. Adjust
    libx11-6.symbols accordingly (closes: #560648).
  * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
    good reason. Thanks, Colin Watson!
  * Update symbols file for sparc64 (closes: #560400). Thanks, Aurélien
    Jarno!
  * New upstream release
    + fix XCopyGC argument order in manpage (LP: #408337)
  * Bump xutils-dev build-dep for new util-macros.
  * Install the Compose man page in libx11-data.
  * Rediff patches 003_recognize_glibc_2.3.2_locale_names.diff,
    007_iso8859-15_Compose_fix.diff, 008_remove_ko_Compose.diff,
    009_remove_th_Compose.diff, 015_russian_locale_alias.diff.
  * libx11-6.symbols: add xlocaledir, made non-static in 1.3.3.
 -- Colin Watson <email address hidden> Thu, 13 May 2010 14:10:02 +0200

Changed in libx11 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.