Subject: Re: /bin/cp broken
To: Adam <adam@albedo.art.pl>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 11/16/2005 14:18:52
Hi,

Looks like this is fallout from the change to src/lib/libc/gen/fts.c.  
Reverting to version 1.25 makes cp behave normally.

Sverre

On Monday 14 November 2005 10:58, Adam wrote:
> 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