Skip to content

Commit

Permalink
Force line ending of '.in' files in jemalloc to LF
Browse files Browse the repository at this point in the history
This fixes issue rust-lang#8731 . On Windows, if the git option core.autocrlf is true (github recommends users to turn on this flag - see https://help.github.com/articles/dealing-with-line-endings), the headers generated from the .in files will have syntatic errors, causing compilation to fail.
  • Loading branch information
mukilan committed Aug 24, 2013
1 parent c643f1d commit dad2ccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ src/rt/msvc/* -whitespace
src/rt/vg/* -whitespace
src/rt/linenoise/* -whitespace
src/rt/jemalloc/**/* -whitespace
src/rt/jemalloc/include/jemalloc/jemalloc.h.in text eol=lf
src/rt/jemalloc/include/jemalloc/jemalloc_defs.h.in text eol=lf
src/rt/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in text eol=lf

0 comments on commit dad2ccc

Please sign in to comment.