GerHobbelt / pthread-win32

clone of pthread-win32 (a.k.a. pthreads4w) + local tweaks (including MSVC2008 - MSVC2022 project files)
Other
350 stars 166 forks source link

Modified files by default #10

Closed erikbasargin closed 6 years ago

erikbasargin commented 6 years ago

Hey. I'm cloning a branch master. Immediately check the status and get a list of modifications. Checked on Windows 10 and Arch Linux. On Linux, only 3 files from the tests folder. What could be the problem?

modified: manual/cpu_set.html modified: manual/index.html modified: manual/pthread_create.html modified: manual/pthread_join.html modified: manual/sched_setaffinity.html modified: pthread_setaffinity.c modified: pthread_timedjoin_np.c modified: pthread_tryjoin_np.c modified: sched_setaffinity.c modified: tests/affinity1.c modified: tests/affinity2.c modified: tests/affinity3.c modified: tests/affinity4.c modified: tests/affinity5.c modified: tests/context2.c modified: tests/exception3_0.c modified: tests/join4.c

erikbasargin commented 6 years ago

Found the reason. The files in the list have CRLF. All other LF. It's probably worth fixing these files :)

erikbasargin commented 6 years ago

Correction added in pull request #11