[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CYGWIN tar extract hangs when filename matches MSDOS port
From: |
Jonathan Engdahl |
Subject: |
CYGWIN tar extract hangs when filename matches MSDOS port |
Date: |
Thu, 21 Nov 2002 00:40:58 -0500 |
Under Cygwin (updated just today), tar-1.13.25-1 hangs whenever a filename
matches an MSDOS port name, such as COM or AUX. The PDP-11 2.11BSD UNIX
distribution file, file8.tar, from the PUPS archive, contains several
examples of such names.
http://www.tuhs.org/Archive/PDP-11/Distributions/ucb/2.11BSD/file8.tar.gz
Try: "tar xf file8.tar" from inside a Cygwin console. OS is Windows XP Pro
SP1.
The attached file is a hacked up extract.c that tries to fix the problem by
skipping offending files. I'm sure it can be done more elegantly, but for
the immediate need, it gets me by so I can go on to other stuff. It might
skip more files that it really has to. I'm not sure that I need to check
directory names or just path names. I didn't take the time to check into
that. Also I might not know all the potential MSDOS port names, or
combinations thereof.
Tar creation might need to be fixed also. I haven't run into a problem there
yet.
---
Jonathan Engdahl Rockwell Automation
Principal Research Engineer 1 Allen-Bradley Drive
Advanced Technology Mayfield Heights, OH 44124
http://users.safeaccess.com/engdahl address@hidden
"The things which are seen are temporary,
but the things which are not seen are eternal." II Cor. 4:18
extract.c
Description: Binary data
- CYGWIN tar extract hangs when filename matches MSDOS port,
Jonathan Engdahl <=