From owner-freebsd-hackers Fri Sep 3 23:54: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 2C10B15164 for ; Fri, 3 Sep 1999 23:54:00 -0700 (PDT) (envelope-from freebsd-hackers@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id IAA17242 for hackers@FreeBSD.ORG; Sat, 4 Sep 1999 08:33:46 +0200 (CEST) (envelope-from freebsd-hackers@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for hackers@FreeBSD.ORG (hackers@FreeBSD.ORG) To: hackers@FreeBSD.ORG Date: Sat, 04 Sep 1999 08:33:35 +0200 From: Marcel Moolenaar Message-ID: <37D0BD3F.E77940A@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: , <19990903212925.A55086@keltia.freenix.fr> Subject: Re: Sun StarOffice51 [PATCH. please test] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: > It seems that we may need to edit one of the library again. See the message to > -hackers (<199909011812.OAA29176@misha.cisco.com> by Mikhail Teterin). > > mv libosl516li.so libosl516li.so.bak > sed -e 's,/proc/%u/cmdline,/compat/linux/so,' \ > < libosl516li.so.bak > libosl516li.so > touch /compat/linux/so jdp pointed out to me that the argv patch resulted in a slightly different behaviour than on RH. Can someone who had to do the editing apply the following patch, and test wether it solves the problem or? The patch is for -current, but should apply to -stable as well. Index: procfs_status.c =================================================================== RCS file: /home/ncvs/src/sys/miscfs/procfs/procfs_status.c,v retrieving revision 1.16 diff -u -r1.16 procfs_status.c --- procfs_status.c 1999/08/28 00:46:56 1.16 +++ procfs_status.c 1999/09/04 06:32:46 @@ -199,6 +199,7 @@ ps += done; bytes_left -= done; } + ps--; } else { ps = psbuf; Thanks, -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message