[Mono-list] silly samba/nt4/cygwin problem

Daniel Stodden stodden@in.tum.de
08 May 2002 22:38:31 +0200


this might be somewhat offtopic for mono-list, but since the nt4 box
under my desk is mostly there for running csc -- maybe someone around
here can help me out.

bitch is running samba-2.2.3a on linux 2.4.18.
ballmer NT4sp6a with cygwin.
xemacs on X for coding, secure shell into bash on ballmer for builds.
$HOME shared to ballmer via smb.

the strange behavior is this: 
1. save a .cs file on the linux box
2. switch to the NT terminal
3. run csc
4. parse error: ';' missing in line y (or similar).
5. investigate. but no typos at all..

i've originally thought csc has troubles with unix line endings. it has

6. ballmer: "csc x.cs"
7. parser error again.
8. cat x.cs
9. csc x.cs
10. compilation successful. wow.

the share does _never_ really mess up the contents. what it does is
producing very small typos like repeating just one or two ascii
characters, e.g. a comma or so, leading to small syntax errors.
doing a simple 'cat' on that file always seems to fix the problem.

anyone with similar phenomenons or a tip which screw to turn?