kientzle    2006-01-17 04:49:04 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read.c archive_read_open_fd.c 
  Log:
  If the attempt to open the archive fails (either the client open
  routine fails or the first read fails), invoke the client close
  routine immediately so the client can clean up.  Also, don't store the
  client pointers in this case, so that the client close routine can't
  accidentally get called more than once.
  
  A minor style fix to archive_read_open_fd.c while I'm here.
  
  PR: 86453
  Thanks to: Andrew Turner for reporting this and suggesting a fix.
  
  Revision  Changes    Path
  1.20      +36 -13    src/lib/libarchive/archive_read.c
  1.5       +2 -1      src/lib/libarchive/archive_read_open_fd.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