bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

null character problem with cvs


From: Alberto Gobbi
Subject: null character problem with cvs
Date: Fri, 18 May 2001 12:43:25 -0700

Hi everibody,
I am expieriencing a problem where null characters \0 are appearing in some
of my file after checkout.
The setup is as follows:

Server: linux cvs 1.11.1p1
Client: Windows 2000 (CVS) 1.11 (client)

I have seen several other people posting similiar problems from time to time
but no solution however I found some more interassting facts on this problem
cf. below.

==============================================================
Problem description:
P:\AGobbi\Programing\Java\cvs checkout moletest
   will yield a file:
   MFP.java where the characters at position 0x1000, 0x2000 and 0x3000 are
replaced by \0 (file length below 0x4000).
Other files are are not affected.

P:\AGobbi\Programing\Java\cvs checkout -kb moletest
  will yield a file which is intact!

cvs checkout on linux will yield a file which is ok.

setting CVS_CLIENT_LOG=P:\AGobbi\Programing\Java\cvslog
   will show that the data is transfered fine from the server to the client
(no \0 in the logfile)
   also the problem occures with rsh and pserver.

checkout with jcvs will yield a file which is OK.

Before I had similar problems where I did have \0 characters after upload.

It also has something to do with where i do the export. The Error occures on
my p: but not if I check out on (x: or d:
p: and x: are shared drives on the same nt-2000 file server, d: is a local
drive). Priviously somebody said this kind of problems might be related to a
problem with NFS but i am not using NFS.

===============================================================

Conclusions:
In my opinon this problem is somehow related to the conversion from newline
to crlf for text files
other people expieriencing this problem had different settings and
configurations but the client was always windows.

Does naybody have an idea where I could look for the solution?
Is anybody around who has expierience with the newline crlf conversion?

Thanks a lot,
Alberto



reply via email to

[Prev in Thread] Current Thread [Next in Thread]