Hi All,
I just compiled tar on OS/2 using Innotek GCC.

It builds fine and works fine, except that it chokes on archives with drive letters.

eg:
[M:\]tar -xvf e:\file.tar
tar: e\:\\file.tar: Cannot open: I/O error
tar: Error is not recoverable: exiting now

I looked at config.h, and changed:
/* Define on systems for which file names may have a so-called `drive letter'
prefix, define this to compute the length of that prefix, including the
colon. */
#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0

to

#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 2

But this made no difference.

Any other ideas? It looks like tar is designed to cope with drive letters on msdos and windows..

Cheers,

Paul.


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to