Tom wrote:
> Is there anyway to get Sharity to apply dos2unix like conversions on files
> mounted from a CIFS server.  I swear I remember this option in an IBM nfs
> client at one time.  I've got source files on my file server that I would
> like to compile on my Solaris and IRIX servers.  Currently, the files are
> ftp'ed with ascii option which removes the cr so I don't see ^M at the end
> of each line in the file.

Sorry, but this can't be done with reasonable efficiency. Let me explain
this with an example:

Converting CR+LF to LF changes the total size of most files. So, if you do
an 'ls -l' on Unix, Sharity would have to perform the conversion for all
files in the directory just to report the correct size. We would have to
pull them all over the wire. That would be no fun in an image library...

For your particular situation please check whether the compiler really
complains about the superfluous CR. I think gcc does not. And if it does,
pipe the files through a filter before they are compiled.

Regards, Christian.

--
Dipl.-Ing. Christian Starkjohann
Objective Development
mailto:[EMAIL PROTECTED] | http://www.obdev.at/


_______________________________________________
Sharity-talk mailing list
[EMAIL PROTECTED]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk

Reply via email to