+
Skip to content

Conversation

cakebaker
Copy link
Contributor

This PR makes the following work:

$ mkdir x
$ touch x/foo
$ cp -r x/. y # directory y is created with file foo

Fixes #7871

Copy link

github-actions bot commented May 2, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit cd3c921 into uutils:main May 4, 2025
69 checks passed
@cakebaker cakebaker deleted the cp_fix_7871 branch May 4, 2025 08:14
nickorlow pushed a commit to nickorlow/coreutils that referenced this pull request Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cp: doesn't copy directory when first path ends in dot

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载