DragonFly BSD
DragonFly commits List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sbin/mount

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Sep 2004 18:19:07 -0700 (PDT)

dillon      2004/09/05 18:19:07 PDT

DragonFly src repository

  Modified files:
    sbin/mount           getmntopts.c 
  The mount options matching code was incorrectly testing for string
  termination or '=' of m->option[len], where len = strlen(m->option).  Also,
  at that particular point in the code the opt[] string has already been
  stripped of any '='.  The original code must have been intended to check
  an unstripped opt[] string but with opt[] stripped it really just needs to
  do a case case-insensitive match.
  Noticed-by: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
  Revision  Changes    Path
  1.4       +2 -6      src/sbin/mount/getmntopts.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]