diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-07 17:17:11 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-07 17:17:11 +0000 |
commit | e9c1fd002b5b9b41f9048032bb08e39247ee99bf (patch) | |
tree | 08627de5a1e6ce580cc175ac621621381c3810c6 /usr.bin/tar/bsdtar.c | |
parent | 7d65aa86ff279fea6ab04a43e609284eaf4689e0 (diff) | |
download | FreeBSD-src-e9c1fd002b5b9b41f9048032bb08e39247ee99bf.zip FreeBSD-src-e9c1fd002b5b9b41f9048032bb08e39247ee99bf.tar.gz |
Linux port corrections:
* Add a more reasonable default device for linux
* Add an autoconf check for the FNM_LEADING_DIR extension
(which isn't yet obeyed in the code)
Diffstat (limited to 'usr.bin/tar/bsdtar.c')
-rw-r--r-- | usr.bin/tar/bsdtar.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index aa9fc95..535a8aa 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -65,11 +65,14 @@ struct option { #include "bsdtar.h" +#ifdef linux +#define _PATH_DEFTAPE "/dev/st0" +#endif + #ifndef _PATH_DEFTAPE #define _PATH_DEFTAPE "/dev/tape" #endif - static int bsdtar_getopt(struct bsdtar *, const char *optstring, const struct option **poption); static void long_help(struct bsdtar *); |