Stefan Dirsch
12a0495e4f
Split xauth out of xorg-x11; no change to the content OBS-URL: https://build.opensuse.org/request/show/113485 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xauth?expand=0&rev=1
18 lines
563 B
Diff
18 lines
563 B
Diff
Index: process.c
|
|
===================================================================
|
|
--- process.c.orig
|
|
+++ process.c
|
|
@@ -1296,8 +1296,11 @@ remove_entry(char *inputfilename, int li
|
|
/*
|
|
* unlink the auth we were asked to
|
|
*/
|
|
- while (!eq_auth((list = *listp)->auth, auth))
|
|
+ while (!eq_auth((list = *listp)->auth, auth)) {
|
|
listp = &list->next;
|
|
+ if (!*listp)
|
|
+ return 0;
|
|
+ }
|
|
*listp = list->next;
|
|
XauDisposeAuth (list->auth); /* free the auth */
|
|
free (list); /* free the link */
|