]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
IFC
authorTim Kientzle <kientzle@gmail.com>
Thu, 22 May 2008 21:51:18 +0000 (17:51 -0400)
committerTim Kientzle <kientzle@gmail.com>
Thu, 22 May 2008 21:51:18 +0000 (17:51 -0400)
SVN-Revision: 88

tar/bsdtar.h
tar/siginfo.c

index bc696e0f68add8490135df6615100f1c8e45aacc..9d4733c5045acfa0011950d29b05fdac610809b9 100644 (file)
@@ -22,7 +22,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.31 2008/05/18 06:24:47 cperciva Exp $
+ * $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.32 2008/05/22 21:08:36 cperciva Exp $
  */
 
 #include "bsdtar_platform.h"
@@ -97,7 +97,7 @@ struct bsdtar {
        struct matching         *matching;      /* for matching.c */
        struct security         *security;      /* for read.c */
        struct name_cache       *uname_cache;   /* for write.c */
-       struct bsdtar_siginfo   *siginfo;       /* for siginfo.c */
+       struct siginfo_data     *siginfo;       /* for siginfo.c */
        struct substitution     *substitution;  /* for subst.c */
 };
 
index b5fe3a66fc5c86f2e79734335f0edbb5f1faf92f..249ee34a9337a5edfb7d841f9999639f15e2947b 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "bsdtar_platform.h"
-__FBSDID("$FreeBSD: src/usr.bin/tar/siginfo.c,v 1.1 2008/05/18 06:24:47 cperciva Exp $");
+__FBSDID("$FreeBSD: src/usr.bin/tar/siginfo.c,v 1.2 2008/05/22 21:08:36 cperciva Exp $");
 
 #include <errno.h>
 #include <signal.h>
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/siginfo.c,v 1.1 2008/05/18 06:24:47 cperciva
 /* Is there a pending SIGINFO or SIGUSR1? */
 static volatile sig_atomic_t siginfo_received = 0;
 
-struct bsdtar_siginfo {
+struct siginfo_data {
        /* What sort of operation are we doing? */
        char * oper;
 
@@ -72,7 +72,7 @@ siginfo_init(struct bsdtar *bsdtar)
 {
 
        /* Allocate space for internal structure. */
-       if ((bsdtar->siginfo = malloc(sizeof(struct bsdtar_siginfo))) == NULL)
+       if ((bsdtar->siginfo = malloc(sizeof(struct siginfo_data))) == NULL)
                bsdtar_errc(bsdtar, 1, errno, "malloc failed");
 
        /* Set the strings to NULL so that free() is safe. */