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

cvs commit: src/usr.bin/ftp complete.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Aug 2005 09:43:33 -0700 (PDT)

joerg       2005/08/08 09:43:33 PDT

DragonFly src repository

  Modified files:
    usr.bin/ftp          complete.c 
  Log:
  Both file and dp->d_name are NUL-terminated, so it pointless to first
  run strlen, compare the size and do a strncmp afterwards -- just strcmp.
  
  Revision  Changes    Path
  1.4       +1 -3      src/usr.bin/ftp/complete.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/ftp/complete.c.diff?r1=1.3&r2=1.4&f=u



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