Stephen Rasku writes [quoting me]:
>
> >Don't do that.  Working directories are not designed to be shared
> >between systems with incompatible file formats (e.g., DOS and Unix). 
> >Put the repository on a shared file system if you must (and even then
> >it's better to use client/server CVS instead), but *NEVER* try to 
> share
> >working directories.
> 
> This seems like a bug to me.  We want to do cross-platform development 
> and we would like to compile the same source on all platforms without 
> having to check it in first.  We have the following structure for the 
> each package in our system:
[...]
> This allows the same source to be compiled from the same location for 
> multiple platforms.

Only because either your Windows or Unix compilers are willing to
compile defective text files.  (I'm guessing that it's the Windows
compiler since it's fairly natural to ignore missing <CR>s, it's not
nearly as natural to ignore extra ones.  In fact, I wouldn't be
surprised if the Solaris compilers refused to compile DOS-format files.)

If you want to depend on that, that's fine, just don't try to check the
files out on one platforms and then check them in on a different one. 
It's simply not feasible to expect CVS to know intimate details of file
formats on all the different platforms it might be expected to work on
-- the best it can do is to count on the C library to know the details
of the specific platform it's running on.

-Larry Jones

Is it too much to ask for an occasional token gesture of appreciation?!
-- Calvin

Reply via email to