cdesktopenv/cde/programs/dtstyle
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
..
Audio.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Audio.h
Backdrop.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Backdrop.h
Backdrops.src
ColorEdit.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
ColorEdit.h
ColorFile.c dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
ColorFile.h dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
ColorMain.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
ColorMain.h
ColorPalette.c
ColorPalette.h
Dtstyle.src
Dtwm.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Dtwm.h dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Font.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Font.h
Help.c dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Help.h dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
HelpCB.c
I18nEnv.c dtstyle: make it build 2019-11-19 18:17:34 -07:00
I18nEnv.h
I18nMain.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
I18nMain.h
I18nUtil.c dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
I18nUtil.h dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Keyboard.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Keyboard.h
Main.c dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Main.h dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
MainWin.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
MainWin.h
Makefile.am configure/Makefiles: add checks for Xmu, Xext, and Xdmcp 2021-12-21 16:42:22 -07:00
Mouse.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Mouse.h
OWsync.c
OWsync.h
Palettes.src
Protocol.c dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Protocol.h dtstyle: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Resource.c
Resource.h
SaveRestore.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
SaveRestore.h
Screen.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Screen.h
Startup.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Startup.h
dtstyle.man
dtstyle.msg
nlsMsgChk.txt
nlsREADME.txt