1 --- cups-1.2.8/backend/usb-unix.c.direct-usb 2007-02-05 20:25:50.000000000 +0000
2 +++ cups-1.2.8/backend/usb-unix.c 2007-02-14 17:44:40.000000000 +0000
4 strcasecmp(hostname, "Canon") &&
5 strncasecmp(hostname, "Konica", 6) &&
6 strncasecmp(hostname, "Minolta", 7);
7 + if (use_bc && !strncmp(uri, "usb:/dev/", 9))
9 #endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */
11 if ((device_fd = open_device(uri, &use_bc)) == -1)
13 if (!strncmp(uri, "usb:/dev/", 9))
17 - * Do not allow direct devices anymore...
22 + return (open(uri + 4, O_RDWR | O_EXCL));
24 else if (!strncmp(uri, "usb://", 6))