Pages

Wednesday, February 24, 2010

BSDTar I/O redirection bug with Mac OS X Snow Leopard

Hi!

Mac OS X Snow Leopard changed the version of the "tar" utility. Instead of using GNU tar (http://www.gnu.org/software/tar/), they start to use BSDTar which have a bug. BSDTar doesn't send the standard output to the STDOUT but it sends the STDOUT output to the STDERR channel.

Snow Leopard is using BSDTar because it is faster than GNUTar see http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069860.html

If you have scripts or programs that looks at STDERR, you must pay attention to this!

No comments:

Post a Comment