fvwm2/fvwm-2.5.26-gcc-warnings.patch
Pavol Rusnak 9382fb97e4 Accepting request 103010 from home:WernerFink:branches:X11:windowmanagers
- update to 2.6.4
  new features:
  - FvwmIconMan no longer allows for itself to be transient
  - New command InfoStore -- to store key/value pairs of information
    to relieve the burden of the SetEnv command.
  - Speed-up improvements for fvwm-menu-desktop when generating XDG
    menus by removing unnecessary stat(2) calls.
  - BusyCursor and CursorStyle have been set to make the cursor look
    like a dot during Read/PipeRead commands, by default.
  Bug fixes:
  - FvwmRearrange now understands the "ewmhiwa" option when placing
    windows.
  - Client gravity for subwindows is honoured for reparenting
    windows, such as with XEmbed, when changing the parent's
    geometry.
  - Conditional command processing of !Layer n
    has now been fixed.
  - Fixed handling of swallowed windows for transient FvwmButtons'.
  - fvwm-menu-desktop now looks in /usr/share/applications for KDE
    legacy mode.
  - fvwm-config no longer accepts "--is-stable", "--is-released",
        "--is-final".

OBS-URL: https://build.opensuse.org/request/show/103010
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=21
2012-02-14 11:40:19 +00:00

23 lines
557 B
Diff

--- libs/Flocale.c
+++ libs/Flocale.c
@@ -427,7 +427,7 @@
{
char *str1, *str2, *str3;
int len1;
- int len2;
+ int len2 = 0;
int i;
Bool do_iconv = True;
const char *bidi_charset;
--- fvwm/infostore.c
+++ fvwm/infostore.c 2012-02-07 09:40:19.454433548 +0000
@@ -58,7 +58,7 @@ MetaInfo *new_metainfo(void)
{
/* Initialise the main store. */
mi_store = (MetaInfo *)safemalloc(sizeof(MetaInfo));
- memset(&mi_store, '\0', sizeof(MetaInfo));
+ memset(mi_store, '\0', sizeof(MetaInfo));
}
mi = (MetaInfo *)safemalloc(sizeof(MetaInfo));