cperciva    2008-05-19 18:38:01 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          bsdtar.c 
  Log:
  Detect if argv[1] is "" and avoid calling malloc(0).  Prior to this commit,
  running 'tar ""' would print 'No memory' instead of the correct error
  message, 'Must specify one of -c, -r, -t, -u, -x' if malloc is set to
  System V mode (malloc(0) == NULL).
  
  Revision  Changes    Path
  1.90      +2 -2      src/usr.bin/tar/bsdtar.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to