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

cvs commit: src/sbin/hammer cmd_pseudofs.c


From: Michael Neumann <mneumann@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Aug 2008 03:35:18 -0700 (PDT)

mneumann    2008/08/17 03:35:18 PDT

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_pseudofs.c 
  Log:
  Fix function getpfs for pseudo-filesystems specified as absolute path
  located in the root directory.
  
  Finding the path portion of e.g. "/tmp.pfs" failed, as it produced an
  empty string "" for which open(2) naturally fails. Instead we now detect
  this situation (empty string) and use "/".
  
  Fixes Issue: 1122
  
  Revision  Changes    Path
  1.9       +4 -0      src/sbin/hammer/cmd_pseudofs.c


http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_pseudofs.c.diff?r1=1.8&r2=1.9&f=u



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