bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Cvs-cvs] ccvs/windows-NT ChangeLog netdb.h


From: Conrad T. Pino
Subject: RE: [Cvs-cvs] ccvs/windows-NT ChangeLog netdb.h
Date: Thu, 22 Sep 2005 16:27:52 -0700

> From: Derek Price
>
> That's a good question.  This is how I always roll the releases and no
> one has ever complained, including you, so I imagine that either WinZip
> is doing the translation or your other tools don't care as much about
> line endings as you think they do.

Yes, WinZip has a feature called: TAR file smart CR/LF conversion

The WinZip help text follows:

When selected, this option determines if “smart” CR/LF conversion should be
performed when extracting from TAR files.  CR/LF is short for Carriage
Return/Line Feed, the standard end of line indicator.  This option can be
useful when a TAR file contains text files created on a Unix or Macintosh
machine.  Unix text files usually contain lines ending in Line Feed characters
only, and Macintosh text files usually contain lines ending in a Carriage Return
character.  The standard Windows Notepad program and many other Windows programs
require a Carriage Return and Line Feed at the end of each line.  When the TAR
File smart CR/LF conversion option is in effect, WinZip determines whether to
perform CR/LF conversion for each file inside a TAR file by looking at the first
80 characters in each file.  If the file is a text file then single LF and CR
characters are converted to CR/LF pairs so the file can be viewed by Notepad and
other Windows viewers.  Files are considered text when the first 80 bytes 
contain
only characters with ASCII values between 0x20 and 0x7f, carriage returns, line
feeds, form feeds, tabs, and other alphanumeric characters (as determined by the
Windows IsCharAlphaNumeric API).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]