
Hello, Numerous files of boost::thread has CR+CR+LF as line ending. I noticed it happens regularly, maybe there's a way to prevent this? Also, there's a typo in try_lock member of scoped_timed_lock<TimedMutex> class: is: return (m_locked = lock_ops<TryMutex>::trylock(m_mutex)); should be:? return (m_locked = lock_ops<TimedMutex>::trylock(m_mutex)); Regards, Janusz

Janusz Piwowarski wrote:
Hello,
Numerous files of boost::thread has CR+CR+LF as line ending. I noticed it happens regularly, maybe there's a way to prevent this?
Must be the VC++ 7.1 editor I'm using. I'm not sure what to do about it, though; ideas?
Also, there's a typo in try_lock member of scoped_timed_lock<TimedMutex> class:
is: return (m_locked = lock_ops<TryMutex>::trylock(m_mutex));
should be:? return (m_locked = lock_ops<TimedMutex>::trylock(m_mutex));
Yes, you're right. I already fixed one of these, but this one slipped by; I'll fix it. Mike

Michael Glassford wrote:
Numerous files of boost::thread has CR+CR+LF as line ending. I noticed it happens regularly, maybe there's a way to prevent this?
Must be the VC++ 7.1 editor I'm using. I'm not sure what to do about it, though; ideas?
What line ending these files have before you edit them? Janusz
participants (2)
-
Janusz Piwowarski
-
Michael Glassford