Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 08:33:35 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        hackers@FreeBSD.ORG
Subject:   Re: Sun StarOffice51 [PATCH. please test]
Message-ID:  <37D0BD3F.E77940A@scc.nl>
References:  <Pine.BSF.4.10.9909031413100.2139-100000@defiant.quansoo.com>, <19990903212925.A55086@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D0BD3F.E77940A>