*BSD News Article 7792


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!elroy.jpl.nasa.gov!swrinde!emory!europa.asd.contel.com!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!Germany.EU.net!unidui!du9ds3!veit
From: veit@du9ds3.fb9dv.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: XView - how much of it is available?
Date: 12 Nov 92 17:38:24 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 43
Message-ID: <veit.721589904@du9ds3>
References: <1992Nov10.172651.23663@Urmel.Informatik.RWTH-Aachen.DE> <veit.721419366@du9ds3> <veit.721471372@du9ds3> <1992Nov11.222928.24053@pool.info.sunyit.edu>
Reply-To: veit@du9ds3.uni-duisburg.de
NNTP-Posting-Host: du9ds3.fb9dv.uni-duisburg.de
Keywords: xview openlook

In <1992Nov11.222928.24053@pool.info.sunyit.edu> ujlh@pool.info.sunyit.edu (James Henrickson) writes:

>In article <veit.721471372@du9ds3> veit@du9ds3.uni-duisburg.de writes:
>>
>>Here is an interim fix for OLVWM, the virtual desktop WM, which seems to
>>                             ^ !!
>>work fine. Ah, I forgot one patch: There may be some \<space> lines in
>>the Imakefile which have to be corrected manually.
>>

>You also need strtod(), which is not in the libc.a that comes with the
>386BSD distribution.  A quick fix is to hack the strtod.c file that
>is part of GNU libc.  I haven't spent a lot of time on it, but I'm
>in the process of adding it to my libc.a.  I haven't noticed any
>references to this missing function before.

>The man page for strtod() mentions that it is not implemented.  Maybe
>we'll see it in the next release of 386BSD?

>-- 
>Jim H.
>*
>* James L. Henrickson  |  "I don't need a signature, I need a job!"
>* ujlh@sunyit.edu      |  BSCS, December 1992

You are right. As a quick and dirty hack, I used
	if (sscanf(...,"%f",&...) != 1)
at the position where strtod is used. This is reflected in the above
referred patchkit.

Furthermore, for xview clock, the 'rint()' function is missing. A fast
hack, which does not cause much trouble in the used context is
#define rint(X)		((double)((long)X))



Holger

-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.fb9dv.uni-duisburg.de
|__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
|  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"