From owner-freebsd-hackers Sat Jun 1 15:17:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07274 for hackers-outgoing; Sat, 1 Jun 1996 15:17:18 -0700 (PDT) Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA07266 for ; Sat, 1 Jun 1996 15:17:01 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net id aa09717; 1 Jun 96 23:16 +0100 Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa03837; 1 Jun 96 23:15 +0100 Received: (from fhackers@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id UAA02321; Sat, 1 Jun 1996 20:29:48 GMT Date: Sat, 1 Jun 1996 20:29:48 GMT Message-Id: <199606012029.UAA02321@jraynard.demon.co.uk> From: James Raynard To: freebsd-hackers@freebsd.org Subject: Two queries (libcompat.so and timedef()) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Here are a couple of things I looked into as a result of discussions on -questions and didn't quite understand what I found. I was wondering if anyone has any comments (even just a "yes we know it's broken, go and fix it!" will do 8-) 1. ftok(). The prototype for this function is missing from . No big deal, it's probably just an oversight which is easy to fix, so I did that on my local tree. Just to make sure I hadn't made any silly mistakes, I wrote a test program; the damn thing didn't link, even though I compiled it with -lcompat! On investigation, I have a libcompat.a and a libcompat_p.a on my system, but no libcompat.so. So does in fact does my 2.1.0-RELEASE disk. Is this intentional? Also, is there any reason for ftok() to be in libcompat, when all the other SysV IPC stuff is in libc? 2. timedef(). We have colldef() for LC_COLLATE and mklocale() for LC_LOCALE, but apparently nothing for LC_TIME. However, there seems to have been a colltime() at one time which was removed about 6 months ago. What would be involved in writing one?