bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Binary zeroes are written at teh end of buffer


From: Shankar Unni
Subject: Re: Binary zeroes are written at teh end of buffer
Date: Sat, 22 Dec 2001 23:49:40 GMT
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

That's a highly unlikely explanation. Does this happen only with Emacs, with vc.el loaded? I would in fact suspect some misconfiguration of Samba. You seem to have a strange collection of technologies (Clearcase on Unix with volumes mounted by Samba - so you're going over SMBFS through an NFS-like VFS layer to clearcase to the file system - I'm not surprised something goes wrong in the combination).

Why don't you use plain old ClearCase attache or some such native NT frontend to ClearCase, and cut out the odd mishmash of technologies in between?

Konstantin Malakhanov wrote:

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (i386-msvc-nt4.0.1381)
 of 2001-10-22 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

We have a following situation here: our source code is stored at UNIX
server under Rational ClearCase (source control program). UNIX volumes
are mounted via Samba at Windows NT clients. We use clearcase.el of
esler@rational.com to perform ClearCase actions at files (check-in,
-out, compare versions etc). Now the problem is that saving a modified
file under ClearCase in Emacs 21 adds a random number of binary zeroes
(^@) at the end of file. They are not shown immediately in the buffer,
but physically are present in the file. If one looks at it with other
editor or revert the buffer, they are there then. It looks like the
saving routine of Emacs writes binary zeros at the end of file. It
happens not every time, but often enough. The number of bzeroes is
varying, but they are always at the end of file. It happens in Emacs
whether it is compiled with cygwin or Microsoft VC.

This is very annoying as we cannot merge such files because of binary
garbage.  And it simply prevents us of using Emacs 21 at all.

We have no such problem in the environment but with Emacs 20.7.
It couldn't be Samba itself, as it doesn't happen with other editors.

I understand that this is probably not so easy to resolve problem.
I am willingly ready to help to debug it - building Emacs with some
patches is OK (cygwin or Microsoft VC)


Recent input:
<next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> C-x 1 <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <next> <prior> <prior> <prior> <prior> <prior> <prior> <prior> <prior> <prior> <prior> C-x k <return> <menu-bar> <help-menu> <report-emacs-bu
g>

Recent messages:

nnimap: Checking mailboxes...done
Checking new news...done
call-interactively: Quit
Type C-h for help, h for commands, q to quit.
Loading c:/emacs-21.1/lisp/emacs-lisp/pp.elc...done
Loading c:/emacs-21.1/bin/fns-21.1.1.el (source)...done
Type M-x switch-to-buffer-other-window RET to restore the other window.  C-M-v 
to scroll the help.
sw-half-scroll-up: End of buffer [4 times]
Loading c:/emacs-21.1/lisp/mail/emacsbug.elc...done





reply via email to

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