Subject: /bin/cp broken
To: NetBSD-current <current-users@netbsd.org>
From: Adam <adam@albedo.art.pl>
List: current-users
Date: 11/14/2005 18:58:03
Greetings,

After today's build of NetBSD-current, I noticed that /bin/cp is broken.
When I try to copy a directory, and its path ends with '/', all its  
contents are copied with the last characted of a filename truncated,  
and containing the data of the directory.
For exmaple:

cp -R /usr/distfiles/samba-3.0.20b/ .

The following files are created:
bug3201_wbinfo.patc
print_lprm.patc
quota.patc
samba-3.0.20b.tar.g

512 bytes in size

Please, fix. :)

Kind regards,
Adam