Report record size only if the archive refers to a device.

* Makefile.am (INCLUDES): Add ../lib, for rmt-command.h
* src/buffer.c (short_read): Report the actual record size
only if the archive descriptor refers to a device.
* tests/pipe.at, tests/shortrec.at,
tests/sparsemvp.at: Reflect the above change.
* NEWS, configure.ac: Version 1.22.90
This commit is contained in:
Sergey Poznyakoff
2009-05-25 10:18:36 +03:00
parent 8f390db92f
commit be34933b63
8 changed files with 42 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
# Process this file with autom4te to create testsuite. -*- Autotest -*-
# Test suite for GNU tar.
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -56,7 +56,5 @@ Test archive
sparsefile
Compare archive
],
[tar: Record size = 12 blocks
tar: Record size = 12 blocks
],[],[],[pax])])
[],[],[],[pax])])