OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Federico G. Schwindt (fgschcvs.openbsd.org)
Date: Thu Dec 09 2004 - 21:10:42 CST


CVSROOT: /cvs
Module name: src
Changes by: fgschcvs.openbsd.org 2004/12/09 20:10:42

Modified files:
        usr.bin/ssh : sftp.c

Log message:
- fix globbed ls for paths the same lenght as the globbed path when
we have a unique matching.
- fix globbed ls in case of a directory when we have a unique matching.
- as a side effect, if the path does not exist error (used to silently ignore).
- don't do extra do_lstat() if we only have one matching file.

djm ok