[LLVMdev] Small patch for visual studio project files

Vikram S. Adve vadve at cs.uiuc.edu
Mon Nov 8 07:53:31 PST 2004


Getting rid of keyword expansion globally seems excessive to solve the 
line-feed problem for one platform. Keywords can be useful sometimes.

--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.cs.uiuc.edu/

On Nov 8, 2004, at 9:46 AM, Reid Spencer wrote:

> We could also do the "cvs admin -kb" thing on all the project files so
> that cvs won't do keyword expansion or line ending conversion.
>
> Thoughts?
>
> Reid.
>
> On Mon, 2004-11-08 at 07:36, Jeff Cohen wrote:
>> You have to use a version of CVS that's specifically built for 
>> Windows.
>> You can find prebuilt Windows binaries at cvshome.org.  The cygwin
>> supplied CVS no doubt thinks it's running on Unix, so naturally it 
>> won't
>> convert line endings.
>>
>>
>> On Mon, 08 Nov 2004 16:23:30 +0100
>> Morten Ofstad <morten at hue.no> wrote:
>>
>>> Jeff Cohen wrote:
>>>
>>>> Are you sure your CVS is configured correctly?  On Windows, CVS
>>>> automatically converts between LF and CR/LF line endings.  I sent a
>>>> patch to remove all CRs from the repository because when I checked 
>>>> out
>>>> the files on Windows, every line had two CRs and a single LF.  When 
>>>> VS
>>>> saved a modified project file, the extra CR went away, causing every
>>>> line to diff.
>>>
>>> I'm using the cygwin cvs which doesn't add any CR when checking 
>>> out.. so
>>> I'm getting the version with only LF and when VS saves a modified
>>> project file every line diffs... I don't see any option to cvs to 
>>> tell
>>> it how to handle line endings, so I don't know how to fix this.
>>>
>>> m.
>>>
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list