summaryrefslogtreecommitdiff
path: root/info.c
AgeCommit message (Collapse)Author
2021-11-30Increase size of number buffer to fit all possible valuesAlan Coopersmith
Clears gcc warning of: info.c: In function ‘DisplayProps’: info.c:214:44: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf (number, sizeof(number), "%d", propnum); ^ info.c:214:7: note: ‘snprintf’ output between 2 and 11 bytes into a destination of size 10 snprintf (number, sizeof(number), "%d", propnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-11-30Use _CONST_X_STRING to make libXt declare String as const char *Alan Coopersmith
Clears 5 -Wincompatible-pointer-types warnings and 18 -Wdiscarded-qualifiers warnings from gcc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-19Fix some gcc -Wwrite-strings warningsAlan Coopersmith
Many are unfixable at the moment due to the libXt API Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-20Convert a couple last sprintf calls to snprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-20Convert XtMalloc + sprintf to XtAsprintfAlan Coopersmith
Depends on libXt > 1.0.99 to ensure XtAsprintf is available. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-01-26Correct make distcheck and gcc/sparse warnings.Paulo Cesar Pereira de Andrade
2008-10-22Use realloc to resize buffer, not malloc+strcpy+freeAlan Coopersmith
2007-11-26Use snprintf, strdup & remove instead of sprintf, malloc/strcpy & unlinkAlan Coopersmith
2004-04-23Merging XORG-CURRENT into trunksco_port_update-baserel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1XACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley