Subject: Re: Vi still can't remove its own vi-recover files from NFS /var/tmp
To: NetBSD-current Discussion List <current-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 01/24/2004 20:56:37
--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Greg A. Woods wrote:
> Remember this was an ordinary file (/etc/nsswitch.conf, to be exact):
=20
> http://mail-index.netbsd.org/current-users/2002/01/22/0008.html
Can you still reproduce this? How was vi invoked? I don't see how this
would happen with file descriptor 6 with the current sources of vi.
vi uses isatty() only with STDIN_FILENO and STDOUT_FILENO. Thus, you
would only see something if you invoked it with `-se' but not for
file descriptor 6.
--=20
Christian
--pf9I7BMVVzbSWLtt
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAEs310KQix3oyIMcRAjtTAKC50GBAxExuGcTnJXZf9DJjg2hUpQCglWrO
O1/2q7xLDdi/C7RAq+tzfMA=
=SKQl
-----END PGP SIGNATURE-----
--pf9I7BMVVzbSWLtt--