Commit Graph

9 Commits

Author SHA1 Message Date
Jon Trulson 383b5e4b59 dtstyle: fix bugs preventing SM save from working properly
All of the dtstyle session save routines used sprintf/snprintf whereby
the destination buffer was also a source buffer, like so:

snprintf(bufr, sizeof(style.tmpBigStr), "%s*Fonts.x: %d\n", bufr, x);
         ^^^^                            ^^                 ^^^^

That results in undefined behavior, which mainly meant missing or
currupted XRM resources being saved in the session file for dtstyle.
2022-02-26 15:51:09 -07:00
Peter Howkins bf266ee14b dtstyle: Resolve format-overflow issues 2021-12-24 10:50:28 -07:00
Jon Trulson d470302354 Fix several pointer-bool-conversion warnings that could cause cores 2021-12-11 17:39:35 -07:00
Jon Trulson 6f553130a3 dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Peter Howkins 466b8d0df5 dtstyle: resolve 30 compiler warnings. 2015-01-05 16:07:49 +00:00
Peter Howkins dcdd21df34 dtstyle: Resolve 28 compiler warnings. 2012-09-17 14:56:06 +01:00
Peter Howkins c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins 83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00