off_t exp.
This commit is contained in:
parent
19601b5460
commit
d85e4acf72
|
@ -36,7 +36,7 @@
|
|||
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "from: @(#)print.c 5.37 (Berkeley) 7/20/92";*/
|
||||
static char rcsid[] = "$Id: print.c,v 1.8 1994/01/25 20:45:08 cgd Exp $";
|
||||
static char rcsid[] = "$Id: print.c,v 1.9 1994/03/27 09:29:04 cgd Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -113,18 +113,10 @@ printlong(dp)
|
|||
(void)printf("%3d, %3d ",
|
||||
major(sp->st_rdev), minor(sp->st_rdev));
|
||||
else if (dp->bcfile)
|
||||
#ifdef notyet
|
||||
(void)printf("%*s%*qd ",
|
||||
#else
|
||||
(void)printf("%*s%*ld ",
|
||||
#endif
|
||||
8 - dp->s_size, "", dp->s_size, sp->st_size);
|
||||
else
|
||||
#ifdef notyet
|
||||
(void)printf("%*qd ", dp->s_size, sp->st_size);
|
||||
#else
|
||||
(void)printf("%*ld ", dp->s_size, sp->st_size);
|
||||
#endif
|
||||
if (f_accesstime)
|
||||
printtime(sp->st_atime);
|
||||
else if (f_statustime)
|
||||
|
|
|
@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
|
|||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: create.c,v 1.5 1993/08/07 07:42:50 cgd Exp $";
|
||||
static char rcsid[] = "$Id: create.c,v 1.6 1994/03/27 09:26:59 cgd Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
@ -578,7 +578,7 @@ dump_file (p, curdev, toplevel)
|
|||
if (count < 0)
|
||||
{
|
||||
msg_perror ("read error at byte %ld, reading\
|
||||
%d bytes, in file %s", hstat.st_size - sizeleft, bufsize, p);
|
||||
%qd bytes, in file %s", hstat.st_size - sizeleft, bufsize, p);
|
||||
goto padit;
|
||||
}
|
||||
sizeleft -= count;
|
||||
|
|
|
@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
|
|||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: gnu.c,v 1.3 1993/08/02 17:48:50 mycroft Exp $";
|
||||
static char rcsid[] = "$Id: gnu.c,v 1.4 1994/03/27 09:27:25 cgd Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -585,7 +585,7 @@ gnu_restore (skipcrud)
|
|||
archive_dir = (char *) ck_malloc (hstat.st_size);
|
||||
if (archive_dir == 0)
|
||||
{
|
||||
msg ("Can't allocate %d bytes for restore", hstat.st_size);
|
||||
msg ("Can't allocate %qd bytes for restore", hstat.st_size);
|
||||
skip_file ((long) hstat.st_size);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
|
|||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: update.c,v 1.3 1993/08/02 17:49:08 mycroft Exp $";
|
||||
static char rcsid[] = "$Id: update.c,v 1.4 1994/03/27 09:27:38 cgd Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/* JF implement the 'r' 'u' and 'A' options for tar. */
|
||||
|
@ -229,7 +229,7 @@ append_file (p)
|
|||
count = read (fd, start->charptr, bufsiz);
|
||||
if (count < 0)
|
||||
{
|
||||
msg_perror ("read error at byte %ld reading %d bytes in file %s", statbuf.st_size - bytes_left, bufsiz, p);
|
||||
msg_perror ("read error at byte %qd reading %d bytes in file %s", statbuf.st_size - bytes_left, bufsiz, p);
|
||||
exit (EX_ARGSBAD); /* FOO */
|
||||
}
|
||||
bytes_left -= count;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)archive.h 5.8 (Berkeley) 4/12/91
|
||||
* $Id: archive.h,v 1.2 1993/08/01 18:18:41 mycroft Exp $
|
||||
* $Id: archive.h,v 1.3 1994/03/27 09:33:54 cgd Exp $
|
||||
*/
|
||||
|
||||
/* Ar(1) options. */
|
||||
|
@ -87,11 +87,11 @@ typedef struct {
|
|||
} CHDR;
|
||||
|
||||
/* Header format strings. */
|
||||
#define HDR1 "%s%-13d%-12ld%-6u%-6u%-8o%-10ld%2s"
|
||||
#define HDR2 "%-16.16s%-12ld%-6u%-6u%-8o%-10ld%2s"
|
||||
#define HDR1 "%s%-13d%-12ld%-6u%-6u%-8o%-10qd%2s"
|
||||
#define HDR2 "%-16.16s%-12ld%-6u%-6u%-8o%-10qd%2s"
|
||||
|
||||
#define OLDARMAXNAME 15
|
||||
#define HDR3 "%-16.15s%-12ld%-6u%-6u%-8o%-10ld%2s"
|
||||
#define HDR3 "%-16.15s%-12ld%-6u%-6u%-8o%-10qd%2s"
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
|
Loading…
Reference in New Issue