updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bcron / bcron-ucspi-ipc.patch
blob9acade7371cb6eb59d9afe70a9b8ac9674254018
1 diff -u bcron-0.09-orig/bcron-spool.c bcron-0.09/bcron-spool.c
2 --- bcron-0.09-orig/bcron-spool.c 2006-09-20 12:57:27.000000000 -0300
3 +++ bcron-0.09/bcron-spool.c 2006-09-20 12:57:59.000000000 -0300
4 @@ -169,7 +169,7 @@
5 fixup_argv = argv + 1;
7 if ((s = ucspi_protocol()) == 0
8 - || (strcmp(s, "UNIX") != 0 && strcmp(s, "LOCAL") != 0)
9 + || (strcmp(s, "UNIX") != 0 && strcmp(s, "LOCAL") != 0 && strcmp(s, "IPC") != 0)
10 || (s = ucspi_getenv("REMOTEEUID")) == 0
11 || (euid = strtoul(s, (char**)&s, 0)) == (unsigned)-1
12 || *s != 0)