Still present in Ubuntu 12.04.2 LTS

cat > breaktar.sh
#!/bin/bash
# Script: breaktar.sh
rm -f t1 t2 t3.tar
cat <<EOF >t1
some stuff
EOF
cat <<EOF >t2
more stuff
EOF
printf "%s\0%s\0" t1 t2 |
/bin/tar -cf - -T - --null --no-recursion >t3.tar

# hit CTRL-D here

chmod +x breaktar.sh
./breaktar.sh 
/bin/tar: -: file name read contains nul character

tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/72937

Title:
  tar error when running make -f debian/rules binary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tar/+bug/72937/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to