COMP: Fix CMake dashboard warnings related to previous revisions.
This commit is contained in:
parent
c081c7ef99
commit
a5d2c59c39
@ -149,7 +149,7 @@ tar_extract_file(TAR *t, char *realname)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
linkname_t *lnp;
|
linkname_t *lnp;
|
||||||
char *pathname = 0;
|
char *pathname;
|
||||||
|
|
||||||
if (t->options & TAR_NOOVERWRITE)
|
if (t->options & TAR_NOOVERWRITE)
|
||||||
{
|
{
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
#include <libtarint/internal.h>
|
#include <libtarint/internal.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||||
# include <pwd.h>
|
# include <pwd.h>
|
||||||
@ -76,7 +77,7 @@ th_print_long_ls(TAR *t)
|
|||||||
char groupname[_POSIX_LOGIN_NAME_MAX];
|
char groupname[_POSIX_LOGIN_NAME_MAX];
|
||||||
time_t mtime;
|
time_t mtime;
|
||||||
struct tm *mtm;
|
struct tm *mtm;
|
||||||
char *pathname = 0;
|
char *pathname;
|
||||||
|
|
||||||
#ifdef HAVE_STRFTIME
|
#ifdef HAVE_STRFTIME
|
||||||
char timebuf[18];
|
char timebuf[18];
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
#include <libtarint/internal.h>
|
#include <libtarint/internal.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <libtar/compat.h>
|
#include <libtar/compat.h>
|
||||||
#if defined(HAVE_SYS_PARAM_H)
|
#if defined(HAVE_SYS_PARAM_H)
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -39,7 +41,7 @@ tar_extract_glob(TAR *t, char *globname, char *prefix)
|
|||||||
char *filename;
|
char *filename;
|
||||||
char buf[TAR_MAXPATHLEN];
|
char buf[TAR_MAXPATHLEN];
|
||||||
int i;
|
int i;
|
||||||
char *pathname = 0;
|
char *pathname;
|
||||||
|
|
||||||
while ((i = th_read(t)) == 0)
|
while ((i = th_read(t)) == 0)
|
||||||
{
|
{
|
||||||
@ -94,7 +96,7 @@ tar_extract_all(TAR *t, char *prefix)
|
|||||||
char *filename;
|
char *filename;
|
||||||
char buf[TAR_MAXPATHLEN];
|
char buf[TAR_MAXPATHLEN];
|
||||||
int i;
|
int i;
|
||||||
char *pathname = 0;
|
char *pathname;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("==> tar_extract_all(TAR *t, \"%s\")\n",
|
printf("==> tar_extract_all(TAR *t, \"%s\")\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user