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
ColorFile.h
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
Font.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Font.h
Help.c
Help.h
HelpCB.c
I18nEnv.c
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
I18nUtil.h
Keyboard.c dtstyle: fix bugs preventing SM save from working properly 2022-02-26 15:51:09 -07:00
Keyboard.h
Main.c
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
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
Protocol.h
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