Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-31 | Fix libXpm build with NO_ZPIPE | Claudio Bley | |
When NO_ZPIPE is defined, fcntl.h is not included in WrFFrI.c although OpenWriteFile uses open, O_WRONLY, O_CREAT and O_TRUNC. * src/WrFFrI.c: unconditionally include fcntl.h regardless of NO_ZPIPE being defined or not. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2013-05-31 | Added 'const' attribute to all filename arguments in the API | Christophe CURIS | |
The filename is always a read-only argument, so it is a good idea to let the caller now about it. This patch does not change active code; the place where the attribute is added will not break source-level compatibility because it adds no restriction on caller side, just adds information; because the lib code behaved the same way it will not break the binary interface either. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2013-05-31 | Added 'const' qualifier to the filename argument to internal functions | Christophe CURIS | |
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2013-04-23 | Close fd if fdopen() or xpmPipeThrough() fails in OpenWriteFile() | Alan Coopersmith | |
Fixes leak found by parfait 1.1 bug checking tool: File Descriptor Leak: Leaked File Descriptor fd at line 350 of lib/libXpm/src/WrFFrI.c in function 'OpenWriteFile'. fd initialized at line 332 with open fd leaks when strcmp(".Z", (filename + (len - 2))) != 0 at line 337 and strcmp(".gz", (filename + (len - 3))) != 0 at line 340. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> | |||
2011-11-18 | closeness_cmp: maintain constness when casting pointers | Alan Coopersmith | |
create.c: In function 'closeness_cmp': create.c:224:5: warning: cast discards qualifiers from pointer target type create.c:224:5: warning: cast discards qualifiers from pointer target type Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-11-11 | Include missing headers | Jeremy Huddleston | |
This fixes implicit declarations for strdup and strcasecmp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> | |||
2011-11-10 | Fix gcc -Wwrite-strings warnings that don't require public API changes | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-11-10 | Assume C89 and just use const, not local Const macro | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-09-16 | Strip trailing whitespace | Alan Coopersmith | |
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2010-10-24 | config: provide a Makefile for the include directory | Gaetan Nadon | |
Reduce some complexity in the src makefile as it should not handle sibling directories. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> | |||
2010-10-24 | libXpm make: remove redundant -I. | Gaetan Nadon | |
It is always included by Automake Signed-off-by: Gaetan Nadon <memsize@videotron.ca> | |||
2010-10-07 | Missing end comment in libXpm/src/parse.c | Colin Harrison | |
CVS tag removal chopped too much out in this case... Signed-off-by: Julien Cristau <jcristau@debian.org> | |||
2010-10-06 | Purge cvs tags. | Jesse Adkins | |
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2009-10-08 | Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2009-01-30 | Janitor: ansification, make distcheck, .gitignore | Paulo Cesar Pereira de Andrade | |
The ansification code is minor edit of the patch (by me) at https://bugs.freedesktop.org/show_bug.cgi?id=14727 as it would not apply cleanly anymore. | |||
2007-08-22 | Replace strcpy with strncpy to match previous code block | Alan Coopersmith | |
2007-08-06 | Replace index/rindex with C89 standard strchr/strrchr | Alan Coopersmith | |
2007-08-06 | X.Org Bug #11863: Build libXpm on MS Windows (with MinGW) | Jason Rumney | |
* src/XpmI.h [FOR_MSW]: Include simx.h instead of real X headers. * src/simx.h (_XFUNCPROTOBEGIN, _XFUNCPROTOEND, NO_ZPIPE): Define. (XAllocColor): Fix arg list in prototype. (bzero, close, fdopen, index, rindex, open, strdup, O_RDONLY): Map to W32 equivalents. * src/RdFToI.c [FOR_MSW]: Include fcntl.h. | |||
2007-06-27 | Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros | Alan Coopersmith | |
Clears some warnings from automake-1.10 | |||
2006-07-13 | renamed: .cvsignore -> .gitignore | Alan Coopersmith | |
2006-06-03 | Always initialize atomTable to NULL, so xpmHashTableFree() doesn't try to | Alan Coopersmith | |
free a random value from the stack if xpmHashTableInit returns an error. | |||
2006-06-02 | Coverity #1432: Returned without freeing storage "hints_cmt" (in error case | Alan Coopersmith | |
when xpmHashTableInit failed) | |||
2006-06-02 | Coverity #1415: Returned without freeing storage "hints_cmt" (in error case | Alan Coopersmith | |
when xpmHashTableInit failed) | |||
2006-03-18 | doublecheck that a pointer is not NULL before dereferencing it. (CoverityXORG-7_0_99_901 | Matthieu Herrb | |
CID 121). | |||
2005-10-05 | Add missing files to EXTRA_DIST | Kevin E Martin | |
Fix man page installation | |||
2005-10-03 | Last argument of variable parameter list needs to be casted to a pointerXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901 | Matthieu Herrb | |
type. | |||
2005-07-16 | Accept autoconf HAVE_STRLCPY as alias for HAS_STRLCATXORG-6_8_99_900XORG-6_8_99_16 | Alan Coopersmith | |
2005-07-16 | Set soversion to 4.11.0 with -version-number. | Daniel Stone | |
2005-07-09 | Add .cvsignore files | Keith Packard | |
2005-05-19 | - Add build system for lib/XpmXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10 | Søren Sandmann Pedersen | |
- Add Xpm to symlink.sh - Conditionally include config.h in xc/extras/Xpm | |||
2005-02-21 | Avoid inifite loops. From Chris Gilbert in bug #1920.sco_port_update-baseXORG-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_1sco_port_update | Matthieu Herrb | |
2004-12-11 | Fix incomplete merge.xprint_packagertest_20041217_basexprint_packagertest_20041217 | Matthieu Herrb | |
2004-12-11 | more s_open() cleanup. | Matthieu Herrb | |
2004-12-11 | Replace s_popen() by a more specific function that allows only one command | Matthieu Herrb | |
in the pipe. Remove extraneous tests on file names that broke some applications. From Alex Reisen in Bugzilla #1920. | |||
2004-11-25 | Fixes for CAN-2004-0914 (Thomas Biege).xprint_packagertest_20041125_basexprint_packagertest_20041125 | Matthieu Herrb | |
2004-09-21 | Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and | Egbert Eich | |
Alan Coopersmith from release 6.8.1. Fail during initialization with error if font/fontset is not set for widget. This prevents a sig11 later when the non-existent font/fontset structs are referenced. Check if xf86Info.kbdProc pointer is really set before calling it on abort as this pointer won't be set if the new modular keyboard driver is used (Matthias Hopf). Added new libs to the bindist control files. Removed inclusion of unnecessary kernel header on Linux. This may fail in an -ansi environment. | |||
2004-04-23 | Merging XORG-CURRENT into trunkrel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-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-MERGElg3d-eventlg3d-dev-0-6-latestlg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3dCOMPOSITEWRAP | Egbert Eich | |
2004-03-14 | Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1 | Egbert Eich | |
2004-03-03 | Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENT | Egbert Eich | |
2004-02-26 | readding XFree86's cvs IDsxf86-4_3_99_903 | Egbert Eich | |
2004-02-26 | Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 | Egbert Eich | |
2003-11-25 | XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330 | Kaleb Keithley | |
2003-11-14 | Initial revisionXORG-STABLE | Kaleb Keithley | |