| 1 |
/** $MirOS: src/bin/pax/gen_subs.c,v 1.7 2007/02/17 04:52:40 tg Exp $ */ |
/* $OpenBSD: gen_subs.c,v 1.19 2007/04/04 21:55:10 millert Exp $ */ |
|
/* $OpenBSD: gen_subs.c,v 1.18 2005/04/28 06:58:07 otto Exp $ */ |
|
| 2 |
/* $NetBSD: gen_subs.c,v 1.5 1995/03/21 09:07:26 cgd Exp $ */ |
/* $NetBSD: gen_subs.c,v 1.5 1995/03/21 09:07:26 cgd Exp $ */ |
| 3 |
|
|
| 4 |
/*- |
/*- |
| 38 |
#include <sys/time.h> |
#include <sys/time.h> |
| 39 |
#include <sys/stat.h> |
#include <sys/stat.h> |
| 40 |
#include <stdio.h> |
#include <stdio.h> |
|
#include <tzfile.h> |
|
| 41 |
#ifdef __INTERIX |
#ifdef __INTERIX |
| 42 |
#include <utmpx.h> |
#include <utmpx.h> |
| 43 |
#else |
#else |
| 53 |
#include "extern.h" |
#include "extern.h" |
| 54 |
|
|
| 55 |
__SCCSID("@(#)gen_subs.c 8.1 (Berkeley) 5/31/93"); |
__SCCSID("@(#)gen_subs.c 8.1 (Berkeley) 5/31/93"); |
| 56 |
__RCSID("$MirOS: src/bin/pax/gen_subs.c,v 1.7 2007/02/17 04:52:40 tg Exp $"); |
__RCSID("$MirOS: src/bin/pax/gen_subs.c,v 1.9 2008/03/14 15:55:21 tg Exp $"); |
| 57 |
|
|
| 58 |
#ifdef __GLIBC__ |
#ifdef __GLIBC__ |
| 59 |
void strmode(mode_t, char *); |
void strmode(mode_t, char *); |
| 154 |
fputs(" == ", fp); |
fputs(" == ", fp); |
| 155 |
safe_print(arcn->ln_name, fp); |
safe_print(arcn->ln_name, fp); |
| 156 |
} else if (arcn->type == PAX_SLK) { |
} else if (arcn->type == PAX_SLK) { |
| 157 |
fputs(" => ", fp); |
fputs(" -> ", fp); |
| 158 |
safe_print(arcn->ln_name, fp); |
safe_print(arcn->ln_name, fp); |
| 159 |
} |
} |
| 160 |
(void)putc(term, fp); |
(void)putc(term, fp); |