Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2952038
By: petea

OK.  The file open mode in tar is defaulting to binary, so the CRLF line endings
are not being converted to LF.  When tar reads the exclude-from file it gets
the CR characters in the pattern, and so the patterns don't match.

The fix lies in the function add_exclude_file() in exclude.c.  At the call to
fopen(), set the mode  parameter to "rt" rather than "r".

Alternatively, create the exclude-from file with an editor that supports *nix
line endings.

Regards,
Pete A.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to