libxtrans: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 26 21:29:37 UTC 2022


 Xtransint.h  |   12 ++++--------
 Xtranssock.c |   14 ++++++++++++++
 Xtransutil.c |   14 --------------
 3 files changed, 18 insertions(+), 22 deletions(-)

New commits:
commit c761c6505d49e8381a3eae94f2e5e118cbdf6487
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Jan 29 12:54:26 2014 -0800

    Use font server ErrorF/VErrorF instead of private versions
    
    XTrans creates custom ErrorF/VErrorF functions when the including
    project doesn't provide them, however the test for that is weak and xtrans
    ends up using the private versions for the font server as well.
    
    This means that all xtrans error messages will not be included in the
    font server log. It also causes redefinition warnings when building
    the font server (which is how this problem was identified).
    
    However, the font server doesn't currently provide a VErrorF function,
    so instead of just always relying on the font server to provide these
    functions, this patch uses a new TRANS_HAS_ERRORF define to select
    whether the project-provided or internal versions will be used. A
    patch to the font server that adds VErrorF and defines
    TRANS_HAS_ERRORF will be required to fix this bug.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>

commit 8c0f5228e75aa949963aa8d27dcfa2648db2e197
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Jan 29 12:54:25 2014 -0800

    move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPEN
    
    Don't define this function unless it is actually going to be used.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>



More information about the xorg-commit mailing list