By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2110
Collapse All | Expand All

(-)tdm/backend/auth.c.orig (+23 lines)
Lines 41-46 Link Here
41
#include <sys/stat.h>
41
#include <sys/stat.h>
42
#include <fcntl.h>
42
#include <fcntl.h>
43
#include <stdlib.h>
43
#include <stdlib.h>
44
#ifdef __OpenBSD__
45
#include <pwd.h>
46
#endif
44
47
45
#include <sys/ioctl.h>
48
#include <sys/ioctl.h>
46
49
Lines 290-295 Link Here
290
			return FALSE;
293
			return FALSE;
291
		}
294
		}
292
	}
295
	}
296
#ifdef __OpenBSD__
297
    {
298
       struct passwd *x11;
299
       uid_t uid;
300
       gid_t gid;
301
       /* Give read capability to group _x11 */
302
       x11 = getpwnam("_x11");
303
       if (x11 == NULL) {
304
           LogError("Can't find _x11 user\n");
305
           uid = getuid();
306
           gid = getgid();
307
       } else {
308
           uid = x11->pw_uid;
309
           gid = x11->pw_gid;
310
       }
311
312
       fchown(fileno(auth_file), uid, gid);
313
    }
314
#endif
315
293
	Debug( "file: %s  auth: %p\n", d->authFile, auths );
316
	Debug( "file: %s  auth: %p\n", d->authFile, auths );
294
	for (i = 0; i < count; i++) {
317
	for (i = 0; i < count; i++) {
295
		/*
318
		/*

Return to bug 2110