[igt-dev] [PATCH i-g-t] runner: Chomp away trailing spaces from cmdline

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 24 09:43:24 UTC 2019


Quoting Petri Latvala (2019-09-24 10:39:48)
> On Tue, Sep 24, 2019 at 10:19:43AM +0100, Chris Wilson wrote:
> > A minor refinement to remove the trailing spaces after converting the
> > NUL-terminators to spaces.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Petri Latvala <petri.latvala at intel.com>
> 
> Reviewed-by: Petri Latvala <petri.latvala at intel.com>
> 
> I suppose it's impossible that cmdline is entirely spaces...

Ok, technically you can have a filename that is entirely spaces!
-Chris


More information about the igt-dev mailing list