aboutsummaryrefslogtreecommitdiff
path: root/bin/cp/utils.c
Commit message (Expand)AuthorAgeFilesLines
* cp: Add GNU-compatible long options.Dag-Erling Smørgrav2025-07-091-2/+2
* cp: Fix improper use of O_PATH.Dag-Erling Smørgrav2025-06-231-1/+1
* cp: Avoid prepending ./ in file-to-file case.Dag-Erling Smørgrav2025-05-151-25/+25
* cp: Partly restore symlink folllowing.Dag-Erling Smørgrav2025-05-061-149/+103
* cp: avoid a resource leakPierre Pronchery2024-05-231-0/+3
* cp: Additional sanity check.Dag-Erling Smørgrav2024-04-171-7/+20
* cp: Remove useless ssize_t castCollin Funk2024-03-211-1/+1
* cp: Further simplify the core logic.Dag-Erling Smørgrav2023-12-141-1/+2
* cp: Refactor the core logic.Dag-Erling Smørgrav2023-12-131-61/+60
* cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0Warner Losh2023-12-071-2/+11
* cp: Add -N flag, inspired by NetBSD's similar flagWarner Losh2023-12-071-1/+1
* bin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-3/+0
* bin: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* cp: Revert "If copy_file_range(2) fails with EXDEV, use fall-back."Mateusz Guzik2023-04-241-1/+1
* If copy_file_range(2) fails with EXDEV, use fall-back.Poul-Henning Kamp2023-04-041-1/+1
* cp: Minor code cleanup.Dag-Erling Smørgrav2023-02-031-3/+2
* cp: Simplify the common case.Dag-Erling Smørgrav2023-02-021-89/+33
* cp: Fix build without VM_AND_BUFFER_CACHE_SYNCHRONIZED.Alexander Motin2022-08-301-10/+9
* cp: fix indentationBaptiste Daroussin2021-01-271-1/+1
* cp(1): fix performance issue for large non-sparse file copiesRick Macklem2021-01-031-6/+5
* cp: fall back to read/write if copy_file_range failsAlan Somers2020-09-111-4/+35
* cp: use copy_file_range(2)Alan Somers2020-09-101-21/+10
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Cleanup some style(9) issues.Bryan Drewery2015-06-081-29/+38
* Implement '-s' to copy as symlink, similar to the current -l link(2) handling.Bryan Drewery2015-06-071-19/+27
* Cleanup some indentation issues.Bryan Drewery2015-06-071-9/+8
* cp,mv: Use futimens() instead of utimensat() if possible.Jilles Tjoelker2015-03-231-1/+1
* cp,mv,touch: Set timestamps with nanosecond precision.Jilles Tjoelker2015-01-241-5/+6
* Return with an error from copy_link(), copy_fifo() and copy_special() ifMark Johnston2013-01-271-0/+17
* Return "failure" as we do for 'cp -i' and a "n" answer.David E. O'Brien2013-01-231-1/+1
* Change all our own code to use st_*tim instead of st_*timespec.Ed Schouten2010-03-281-2/+2
* Implement an "-x" option to cp(1), for compatibility with Linux andGavin Atkinson2010-01-171-2/+2
* Add NFSv4 ACL support to cp(1) and fix a few memory leaks.Edward Tomasz Napierala2009-09-021-28/+91
* Preserve file flags on symlinks in cp -Rp.Jilles Tjoelker2009-05-301-1/+1
* Teach cat(1) and cp(1) to use a larger buffer if enough memory is presentIvan Voras2008-10-301-2/+29
* Add fallback when mmap fails on regular files. Some filesystems,Diomidis Spinellis2008-10-271-30/+28
* Remove redundant close(2).Edward Tomasz Napierala2008-09-091-1/+0
* Fix ACL preservation, apparently broken in 1.47.Edward Tomasz Napierala2008-08-071-1/+3
* Add an '-a' option which is identical to specifying '-RpP' forJohn Baldwin2008-03-101-2/+2
* o Style(9).Maxim Konovalov2006-10-071-9/+7
* o Avoid division by zero.Maxim Konovalov2006-10-071-3/+8
* o Hold copied bytes counter in off_t. This prevents statisticsMaxim Konovalov2006-10-061-1/+1
* - Fix options order.Ruslan Ermilov2006-08-251-2/+2
* Remove a stray -a option that probably sneaked in from julian'sRuslan Ermilov2006-08-251-2/+2
* Add an option to allow copying of a hierarchy while linking he regular files.Julian Elischer2006-08-241-77/+92
* Attempt to complete the userspace integration of POSIX.1e extended ACLs.Christian S.J. Peron2005-09-051-0/+80
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-2/+3
* Plug file descriptor leak in implementation of -n option.Tim J. Robbins2004-06-051-0/+1