cp.c and rm.c embedded in mv(1)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cp.c and rm.c embedded in mv(1)

Jan Stary
mv code contains copies of cp.c and rm.c
- is that so that mv can avoid the fork+exec
(and call the relevant cp/rm code itself)?

If so, is it so that mv can be pledged? It isn't.
There must be something worth the duplication ...

        Jan