summaryrefslogtreecommitdiff
path: root/src/TextPop.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-10TextPop: do arithmetic before casting to pointer, not afterAlan Coopersmith1-2/+2
Clears warning from clang 13.0.1: TextPop.c:679:64: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdLeft + R_OFFSET); ~~~~~~~~~~~~~~~~~~~ ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/merge_requests/38>
2023-03-28Set close-on-exec when opening filesAlan Coopersmith1-1/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07Fix spelling/wording issuesAlan Coopersmith1-8/+8
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-11-26compiler-warning fixes for const-mismatches, no object-changeThomas E. Dickey1-9/+9
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-07-06use _X_UNUSED to quiet unused-parameter warningsThomas E. Dickey1-12/+12
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-07-04fix some type/comparison compiler warnings (no object change)Thomas E. Dickey1-20/+21
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-07-04add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey1-27/+27
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2014-11-07Use SEEK_* names instead of raw numbers for fseek whence argumentAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-02Convert XmuSnprintf calls to just plain snprintfAlan Coopersmith1-13/+12
All supported platforms have native snprintf Remove #include <X11/Xmu/SysUtil.h> since it only defines XmuSnprintf and the unused XmuGethostname Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-12Removing trailing white spacesRoberto Branciforti1-49/+49
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06Purge cvs tags.Jesse Adkins1-4/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2005-05-23Conditionally include config.h in xc/lib/Xaw/*.cXORG-6_8_99_9XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10Søren Sandmann Pedersen1-0/+3
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_901xf86-4_3_99_16Kaleb Keithley1-4/+4
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley1-1110/+1206
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley1-0/+1455