Bug#281630: When a gzipped file is a symlink, vim removes the .gz from the symlink filename and removes compression
Pierre THIERRY
Pierre THIERRY <nowhere.man@levallois.eu.org>, 281630@bugs.debian.org
Wed, 17 Nov 2004 01:19:19 +0100
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: vim
Version: 1:6.3-031+2
Severity: normal
I have the following file (ls -l)=A0:
lrwxrwxrwx 1 pierre pierre 36 2004-11-17 01:12 noel.mbox.gz -> /home/pie=
rre/2004/11/17/noel.mbox.gz
After editing and saving the file, Vim tells me file doesn't exist anymore,=
and here is the symlink=A0:
lrwxrwxrwx 1 pierre pierre 36 2004-11-17 01:12 noel.mbox -> /home/pierre=
/2004/11/17/noel.mbox.gz
And the file /home/pierre/2004/11/17/noel.mbox.gz is no longer
compressed (so editing the file from its real place or with another
symlink that Vim has not changed triggers an error).
I can't reproduce this bug when file is a regular one.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro (charmap=3DISO-8859-15)
Versions of packages vim depends on:
ii dpkg 1.10.25 Package maintenance system for=
Deb
ii libc6 2.3.2.ds1-18 GNU C Library: Shared librarie=
s an
ii libgpmg1 1.19.6-19 General Purpose Mouse - shared=
lib
ii libncurses5 5.4-4 Shared libraries for terminal =
hand
ii vim-common 1:6.3-031+2 Vi IMproved - Common files
-- no debconf information
--=20
nowhere.man@levallois.eu.org
OpenPGP 0xD9D50D8A
--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBmpkGxe13INnVDYoRAgeSAJwJpDhFXUAdMX5H9pLGF/D/g0bdfACg240o
iMxNbP4qmYlc3Ea+yGqnbWw=
=SVUe
-----END PGP SIGNATURE-----
--a8Wt8u1KmwUX3Y2C--