Date: Wed, 31 Dec 2003 05:54:20 -0800 (PST) From: Chris Vance <cvance@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 44587 for review Message-ID: <200312311354.hBVDsKuD094554@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=44587 Change 44587 by cvance@cvance_sony on 2003/12/31 05:53:40 It's possible that the user default_contexts file isn't readable, (EPERM, no ENOENT). This isn't a critical failure. Affected files ... .. //depot/projects/trustedbsd/sebsd/lib/libsebsd/get_ordered_context_list.c#3 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/lib/libsebsd/get_ordered_context_list.c#3 (text+ko) ==== @@ -246,12 +246,12 @@ error = move_matching_contexts(path, user, my_context, context_list, kernel_context_list, ncontexts); free(path); - if (error == -1 && errno != ENOENT) + if (error == -1 && errno == EINVAL) goto out; } error = move_matching_contexts(_DEFCONTEXT_PATH, user, my_context, context_list, kernel_context_list, ncontexts); - if (error == -1 && errno != ENOENT) + if (error == -1 && errno == EINVAL) goto out; error = 0; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312311354.hBVDsKuD094554>