home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8787 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.2 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unidui!du9ds3!veit
  2. From: veit@du9ds3.fb9dv.uni-duisburg.de (Holger Veit)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: XView - how much of it is available?
  5. Date: 12 Nov 92 17:38:24 GMT
  6. Organization: Uni-Duisburg FB9 Datenverarbeitung
  7. Lines: 43
  8. Message-ID: <veit.721589904@du9ds3>
  9. References: <1992Nov10.172651.23663@Urmel.Informatik.RWTH-Aachen.DE> <veit.721419366@du9ds3> <veit.721471372@du9ds3> <1992Nov11.222928.24053@pool.info.sunyit.edu>
  10. Reply-To: veit@du9ds3.uni-duisburg.de
  11. NNTP-Posting-Host: du9ds3.fb9dv.uni-duisburg.de
  12. Keywords: xview openlook
  13.  
  14. In <1992Nov11.222928.24053@pool.info.sunyit.edu> ujlh@pool.info.sunyit.edu (James Henrickson) writes:
  15.  
  16. >In article <veit.721471372@du9ds3> veit@du9ds3.uni-duisburg.de writes:
  17. >>
  18. >>Here is an interim fix for OLVWM, the virtual desktop WM, which seems to
  19. >>                             ^ !!
  20. >>work fine. Ah, I forgot one patch: There may be some \<space> lines in
  21. >>the Imakefile which have to be corrected manually.
  22. >>
  23.  
  24. >You also need strtod(), which is not in the libc.a that comes with the
  25. >386BSD distribution.  A quick fix is to hack the strtod.c file that
  26. >is part of GNU libc.  I haven't spent a lot of time on it, but I'm
  27. >in the process of adding it to my libc.a.  I haven't noticed any
  28. >references to this missing function before.
  29.  
  30. >The man page for strtod() mentions that it is not implemented.  Maybe
  31. >we'll see it in the next release of 386BSD?
  32.  
  33. >-- 
  34. >Jim H.
  35. >*
  36. >* James L. Henrickson  |  "I don't need a signature, I need a job!"
  37. >* ujlh@sunyit.edu      |  BSCS, December 1992
  38.  
  39. You are right. As a quick and dirty hack, I used
  40.     if (sscanf(...,"%f",&...) != 1)
  41. at the position where strtod is used. This is reflected in the above
  42. referred patchkit.
  43.  
  44. Furthermore, for xview clock, the 'rint()' function is missing. A fast
  45. hack, which does not cause much trouble in the used context is
  46. #define rint(X)        ((double)((long)X))
  47.  
  48.  
  49.  
  50. Holger
  51.  
  52. -- 
  53. |  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.fb9dv.uni-duisburg.de
  54. |__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  55. |  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
  56. |  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"
  57.