Date: Wed, 1 Mar 1995 09:59:13 +0800 (WST) From: Terry Dwyer <tdwyer@netbsd08.dn.itg.telecom.com.au> To: Terry Lambert <terry@cs.weber.edu> Cc: Lars Koeller <uphya001@odie.physik2.uni-rostock.de>, yergeau@gloworm.Stanford.EDU, freebsd-questions@freefall.cdrom.com Subject: Re: netscape on 1.1.5? Message-ID: <Pine.BSI.3.90.950301095109.20156A@netbsd08.dn.itg.telecom.com.au> In-Reply-To: <9502281651.AA07691@cs.weber.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Feb 1995, Terry Lambert wrote:
> >
> > And here are the patches to 1.1.x to make netscape run on it:
> >
> > =========================================================================
> >
> > ] Brian Ellis (zellis@panix.com) writes:
[...]
>
> Brian also wrote another patch for lstat.
Slight correction... The lstat patch was from wilko@yedi.iaf.nl (Wilko
Bulte), and is the third of the patches needed for Netscape under 1.1.5.1R
>
> Apparently this is needed to enable the use of the file: directive.
>
> It is in the news group archives on minnie.
Because this is a small patch I'll post it here. Apologies for the CC
list, I don't know who originally requested it
-------------Wilko's patch for lstat-----------------------------
Newsgroups: comp.os.386bsd.development
Path: netbsd08.dn.itg.telecom.com.au!nodecg.ncc.telecomwa.oz.au!news.uwa.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!news.sprintlink.net!EU.net!sun4nl!news.iaf.nl!iafnl.iaf.nl!yedi!wilko
From: wilko@yedi.iaf.nl (Wilko Bulte)
Subject: Additional patch for FreeBSD1.1.5 for NetScape users
Organization: Private FreeBSD site - Arnhem - The Netherlands
Message-ID: <D2B5t1.7K@yedi.iaf.nl>
Date: Thu, 12 Jan 1995 19:51:01 GMT
Lines: 40
I found out that apart from the patch that was posted some time ago
by Brian Ellis there is another syscall missing which is used by
Netscape. This is the lstat call which has another # in FreeBSD 2.0
(190 to be exactly). The problem manifests itself when an attempt is
made to open a local document (from the file pulldown). Netscape
crashes with a badsyscall trap.
Along the lines of the patches made by Brian, I made a little patch
which solves the problem for me:
in /sys/kern/syscalls.master change the line for syscall # 190 into:
190 STD 2 olstat
in /sys/kern/vfs_syscalls.c add below the lstat() function the
following:
int
olstat(p, uap, retval)
struct proc *p;
register struct lstat_args *uap;
int *retval;
{
return lstat(p, uap, retval);
}
in /sys/kern do:
make init_sysent.c
in /sys/compile/YOURMACHINE do:
rm kern*.o
make
Put the newly built kernel into / and reboot
Wilko
-------------End of Wilko's patch for lstat-----------------------------
_-_|\ Terry Dwyer E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
/ \ System Administrator Phone: +61 9 491 5161 Fax: +61 9 221 2631
*_.^\_/ Telecom Australia Telstra Corporation MIME capable mailer
v Perth WA ( I do not speak for Telstra or Telecom )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.90.950301095109.20156A>
