diff options
author | root <root@rshg054.dnsready.net> | 2013-05-12 01:16:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-12 01:16:13 -0700 |
commit | 5b9e0d821dd428792bd51ed03af2b800924ce69d (patch) | |
tree | e789152a7a0fd6ae4eb0a7d0e572d392f81beca4 /extra/libimobiledevice/HOME-segfault.patch | |
parent | 207b7c7b0d7bc0db898a2386a665bdb20495fb19 (diff) |
Sun May 12 01:15:39 PDT 2013
Diffstat (limited to 'extra/libimobiledevice/HOME-segfault.patch')
-rw-r--r-- | extra/libimobiledevice/HOME-segfault.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/extra/libimobiledevice/HOME-segfault.patch b/extra/libimobiledevice/HOME-segfault.patch deleted file mode 100644 index e48e6cb42..000000000 --- a/extra/libimobiledevice/HOME-segfault.patch +++ /dev/null @@ -1,14 +0,0 @@ -The patch fixes segfault when both $XDG_CONFIG_HOME and $HOME are unset -Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> ---- src/userpref.c.orig 2012-06-04 17:04:57.387303630 +0300 -+++ src/userpref.c 2012-06-04 17:06:05.741301627 +0300 -@@ -125,6 +125,9 @@ - const char *cdir = getenv("XDG_CONFIG_HOME"); - if (!cdir) { - cdir = getenv("HOME"); -+ if (!cdir) { -+ cdir="/root"; -+ } - strcpy(__config_dir, cdir); - strcat(__config_dir, DIR_SEP_S); - strcat(__config_dir, ".config"); |