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: Nils Nordman (ninocvs.openbsd.org)
Date: Sun May 04 2003 - 07:44:17 CDT


CVSROOT: /cvs
Module name: src
Changes by: ninocvs.openbsd.org 2003/05/04 06:44:17

Modified files:
        bin/ln : ln.c

Log message:
The custom logic used for determining the basename of source file
was flawed in that it did not account for trailing slashes. Use
basename(3) instead. Fixes invocations where target is a directory
and source has a trailing slash (e.g. ln -s /tmp/ .).

Ok millert.