diff options
Diffstat (limited to 'security/beid/files/patch-dialogs')
-rw-r--r-- | security/beid/files/patch-dialogs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/security/beid/files/patch-dialogs b/security/beid/files/patch-dialogs deleted file mode 100644 index 9175b66c8185..000000000000 --- a/security/beid/files/patch-dialogs +++ /dev/null @@ -1,22 +0,0 @@ ---- cardcomm/pkcs11/src/dialogs/dialogsgtk/beid-badpin.c.orig 2017-10-27 12:42:43 UTC -+++ cardcomm/pkcs11/src/dialogs/dialogsgtk/beid-badpin.c -@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { - // create new message dialog with CANCEL button in standard places, in center of user's screen - /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -- char* msg; -+ char const *msg; - int attempts; - - if ((argc == 2) && (argv[1] != NULL) && (strlen(argv[1]) == 1) ---- cardcomm/pkcs11/src/dialogs/dialogsgtk/parent.c.orig 2017-10-27 12:42:43 UTC -+++ cardcomm/pkcs11/src/dialogs/dialogsgtk/parent.c -@@ -12,7 +12,7 @@ ssize_t get_parent_path(char *exec_path, size_t exec_p - ssize_t exec_path_len = -1; - pid_t ppid = getppid(); - -- snprintf(proc_path, sizeof(proc_path) - 1, "/proc/%d/exe", ppid); -+ snprintf(proc_path, sizeof(proc_path) - 1, "/proc/%d/file", ppid); - if ((exec_path_len = readlink(proc_path, exec_path, exec_path_size - 1)) != -1) { - exec_path[exec_path_len] = '\0'; - } else { |