Re: [PARPORT] Spaces in the ASCII model name.

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Jan 15 2001 - 09:35:48 EST

  • Next message: Tim Waugh: "Re: [PARPORT] PATCH: parport_device_id support, "version 2.0""

    Actually, try this patch instead:

    --- linux/drivers/parport/probe.c.strip Mon Jan 15 14:32:02 2001
    +++ linux/drivers/parport/probe.c Mon Jan 15 14:33:55 2001
    @@ -75,8 +75,7 @@
                             char *u;
                             *(sep++) = 0;
                             /* Get rid of trailing blanks */
    - u = strchr (sep, ' ');
    - if (u) *u = '\0';
    + while (*q == ' ') *q-- = '\0';
                             u = p;
                             while (*u) {
                                     *u = toupper(*u);

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 09:38:03 EST