Mailing List Archive

bsd-snprintf.c and NeXT.
I'm wonder if anyone happens to have a simplier (slower) version of
bsd-snprintf.c. It seems NeXT 3.3 (unsure about 4.2) is missing
mprotect().

If I could get something to replace that for a while and fix some of
theses utmp in login.c issues I may have a rough port NeXT to black
hardware.=)

Thanks
Re: bsd-snprintf.c and NeXT. [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 5 Jan 2000, Ben Lindstrom wrote:

>
> I'm wonder if anyone happens to have a simplier (slower) version of
> bsd-snprintf.c. It seems NeXT 3.3 (unsure about 4.2) is missing
> mprotect().

Someone posted one to the list a while ago, but attached is the one
from the XFree86 source. It seems to be of the same lineage.

If you can be bothered cleaning it up I can include it in the standard
release.

> If I could get something to replace that for a while and fix some of
> theses utmp in login.c issues I may have a rough port NeXT to black
> hardware.=)

Excellent!

Regards,
Damien Miller

- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4dFYZormJ9RG1dI8RApTbAJ45swyq8PHUlRIvmwzIn963YFA9ggCgqn8d
OaZ+GCDaiK3chzcAKUtIi6Q=
=hWB3
-----END PGP SIGNATURE-----
Re: bsd-snprintf.c and NeXT. [ In reply to ]
thanks, I'll take a look at them later tonight. As a stop-gap I found
a snprintf() in the NeXT Programming newsgroup that I'm using.

If all goes well I may have a reviewable patch at the end of next week.

On Thu, 6 Jan 2000, Damien Miller wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 5 Jan 2000, Ben Lindstrom wrote:
>
> >
> > I'm wonder if anyone happens to have a simplier (slower) version of
> > bsd-snprintf.c. It seems NeXT 3.3 (unsure about 4.2) is missing
> > mprotect().
>
> Someone posted one to the list a while ago, but attached is the one
> from the XFree86 source. It seems to be of the same lineage.
>
> If you can be bothered cleaning it up I can include it in the standard
> release.
>
> > If I could get something to replace that for a while and fix some of
> > theses utmp in login.c issues I may have a rough port NeXT to black
> > hardware.=)
>
> Excellent!
>
> Regards,
> Damien Miller
>
> - --
> | "Bombay is 250ms from New York in the new world order" - Alan Cox
> | Damien Miller - http://www.mindrot.org/
> | Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.0 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE4dFYZormJ9RG1dI8RApTbAJ45swyq8PHUlRIvmwzIn963YFA9ggCgqn8d
> OaZ+GCDaiK3chzcAKUtIi6Q=
> =hWB3
> -----END PGP SIGNATURE-----
>