From: Xiaofan C. <xia...@gm...> - 2010-12-06 06:52:51
|
On Mon, Dec 6, 2010 at 2:40 PM, Orin Eman <ori...@gm...> wrote: > As for the .ds?, .vcproj and .sln files, these are _opaque_ files that you > shouldn't be poking around in. Sure, we happen to know that some are text > with <CR><LF> line endings. IMO, whatever the OS, this SHOULD NOT be > changed. You SHOULD NOT be editing them with a tool that does not preserve > the <CR><LF>. They should be treated as binary files, That is exactly what I mean. They should be treated as binary files and binmode is the preferred way to deal with them. > but since we know > they are text with <CR><LF> line endings, I don't see a problem with > treating them as text files that always have <CR><LF> line endings _as an > optimization_. > I know sometimes people edit the files as a quick hack (say to use VS2005 on VS2008 projects) but in the case of libusb repo, I think they should be treated as binary files. -- Xiaofan |