Making DO_POSIX_CP configurable

Denys Vlasenko vda.linux at googlemail.com
Wed Sep 12 15:35:18 UTC 2007


On Wednesday 12 September 2007 13:40, Alexander Kriegisch wrote:
> I know, but it is not default behaviour, i.e. without manually changing
> the POSIX switch in the source code it will still unlink devices and
> recreate them as files.

We seem to have a communication problem here.

It *is* default behaviour. Completely unmodified current svn does this:

$ cp Makefile.help /dev/tty
# ==========================================================================
# Build system
# ==========================================================================

help:
...

See? It didn't unlink /dev/tty. It opened it and wrote Makefile.help's
contents to it.

This patch will be in 1.7.1:

http://busybox.net/downloads/fixes-1.7.0/busybox-1.7.0-cp.patch

As I understand it, the change you requested is already done.

If I misunderstand you, please clarify.

Thanks,
--
vda



More information about the busybox mailing list