lkml.org 
[lkml]   [2005]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace
    Hi!

    > > > New, simplified version of the sysfs whitespace strip patch...
    > >
    > > Could you tell me why you don't just fail the operation if malformed
    > > input is supplied?
    >
    > Leading/trailing white space should be allowed. For example echo
    > appends '\n' unless you know to use -n. It is easier to fix the kernel
    > than to teach everyone to use -n.

    Please, NO! echo -n is the right thing to do, and users will eventually learn.
    We are not going to add such workarounds all over the kernel...
    Pavel
    --
    64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-05 10:01    [W:0.019 / U:59.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site