From owner-freebsd-hackers Wed May 20 19:35:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24528 for freebsd-hackers-outgoing; Wed, 20 May 1998 19:35:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ssh.fi (ssh.fi [194.100.44.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24481 for ; Wed, 20 May 1998 19:35:31 -0700 (PDT) (envelope-from ylo@ssh.fi) Received: from pilari.ssh.fi (pilari.ssh.fi [192.168.2.1]) by ssh.fi (8.8.8/8.8.8/EPIPE-1.13) with ESMTP id FAA21335; Thu, 21 May 1998 05:34:04 +0300 (EET DST) Received: (from ylo@localhost) by pilari.ssh.fi (8.8.8/8.8.8/EPIPE-1.10) id FAA14940; Thu, 21 May 1998 05:33:43 +0300 (EET DST) Date: Thu, 21 May 1998 05:33:43 +0300 (EET DST) Message-Id: <199805210233.FAA14940@pilari.ssh.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Tatu Ylonen To: "Erik E. Rantapaa" Cc: Raphael Manfredi , freebsd-hackers@FreeBSD.ORG Subject: ssh/FreeBSD/Storable interaction? In-Reply-To: References: X-Mailer: VM 6.34 under Emacs 19.34.2 Organization: SSH Communications Security, Finland Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I would like to report a weird behavior with a system involving > ssh-1.2.20, FreeBSD 2.2.5-STABLE and the Perl5 module "Storable". > I have a 7-line perl5 script for which the commands: > > perl-script > ssh localhost perl-script > > produce different output. The output of the ssh version has the same > length but the output is rearranged. Perhaps the script outputs to both stdout and stderr? Ssh passes stdout and stderr data separately, and there is no guarantee that data will arrive in sequence if text is written to both file descriptors simultaneously. Tatu -- SSH Communications Security http://www.ssh.fi/ SSH IPSEC Toolkit http://www.ssh.fi/ipsec/ Free Unix SSH http://www.cs.hut.fi/ssh/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message