Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
--- ehc_loop.c.old 2009-03-28 10:37:21.000000000 +0100 +++ ehc_loop.c 2009-04-12 02:08:25.000000000 +0200 @@ -247,7 +247,11 @@ ums_mode = message->fd; // if (verbose) debug_printf("ehc:use disc %s\n",ioctlv_voidp(vec[0])); - d = wbfs_init_with_partition(ioctlv_voidp(vec[0])); + d = wbfs_init_with_partition(ioctlv_voidp(vec[0])); + if(!d) + result = -1; + else + result = 0; break; case USB_IOCTL_WBFS_READ_DISC: if (verbose)
This paste will be private.
From the Design Piracy series on my blog: