Date: Sat, 1 May 2010 14:33:26 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/ln ln.c Message-ID: <201005011433.o41EXglp025709@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-05-01 14:33:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) bin/ln ln.c Log: SVN rev 207465 on 2010-05-01 14:33:26Z by jilles MFC r207021: ln: Allow a trailing slash when creating a link to a directory. In the 'ln source... directory' synopsis, the basename of each source determines the name of the created link. Determine this using basename(3) instead of strrchr(..., '/') which is incorrect if the pathname ends in a slash. PR: 121568 Revision Changes Path 1.39.2.3 +13 -14 src/bin/ln/ln.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005011433.o41EXglp025709>