diff options
Diffstat (limited to 'lxde-base/lxsession/files/lxsession-0.5.2-fix-invalid-memcpy.patch')
-rw-r--r-- | lxde-base/lxsession/files/lxsession-0.5.2-fix-invalid-memcpy.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lxde-base/lxsession/files/lxsession-0.5.2-fix-invalid-memcpy.patch b/lxde-base/lxsession/files/lxsession-0.5.2-fix-invalid-memcpy.patch deleted file mode 100644 index 672889997688..000000000000 --- a/lxde-base/lxsession/files/lxsession-0.5.2-fix-invalid-memcpy.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- lxsession-0.5.2/lxsession-edit/lxsession-edit-common.c.memmove 2014-10-05 08:49:49.000000000 +0900 -+++ lxsession-0.5.2/lxsession-edit/lxsession-edit-common.c 2016-02-15 19:21:23.780783021 +0900 -@@ -216,7 +216,7 @@ void update_enable_state(GKeyFile* kf, g - if( strcmp(list[i], session_name) == 0 ) - { - g_free(list[i]); -- memcpy( list + i, list + i + 1, (n-i) * sizeof(char*) ); -+ memmove( list + i, list + i + 1, (n-i) * sizeof(char*) ); - --n; - break; - } -@@ -259,7 +259,7 @@ void update_enable_state(GKeyFile* kf, g - if( strcmp(list[i], session_name) == 0 ) - { - g_free(list[i]); -- memcpy( list + i, list + i + 1, (n-i) * sizeof(char*) ); -+ memmove( list + i, list + i + 1, (n-i) * sizeof(char*) ); - --n; - break; - } |