home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / kerberos / 962 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!slc6!trier
  2. From: trier@slc6.ins.cwru.edu (Stephen C. Trier)
  3. Newsgroups: comp.protocols.kerberos
  4. Subject: Re: Porting problems in V5
  5. Date: 15 Dec 1992 22:08:44 GMT
  6. Organization: Case Western Reserve University, Cleveland OH (USA)
  7. Lines: 28
  8. Message-ID: <1gll1cINNs0o@usenet.INS.CWRU.Edu>
  9. References: <9212082146.AA07100@riipsdev.waterloo.ncr.com>
  10. NNTP-Posting-Host: slc6.ins.cwru.edu
  11.  
  12. In article <9212082146.AA07100@riipsdev.waterloo.ncr.com> harvard!scubed!riipsdev.waterloo.ncr.com!ajlill@eddie.mit.edu writes:
  13. >For those of you lucky enough not to have dealt extensively with DOS don't
  14. >know, the DOS time() call returns the number of seconds since midnight, Dec
  15. >31, 1899, rather than Jan 1, 1970.
  16.  
  17. That's strange.  Every DOS C compiler I've used returns seconds since
  18. Jan. 1, 1970.  The only time I've seen something based on 1899/1900
  19. was in code that queried a time server for the time.  time()'s very
  20. definition depends on the Unix epoch of 1/1/70.
  21.  
  22. Are you perhaps using a time() call that is really a NTP or Time protocol
  23. wrapper?
  24.  
  25. No matter what, you have the right solution, I think.  A better solution,
  26. if possible, would be to fix the offset used by your time() call.
  27.  
  28. >Pepsy (from isode 8.0) turns that into an int when it creates it's
  29. >tables.
  30.  
  31. That's a bug in Pepsy-on-DOS, or Pepsy-on-PDP-11 for that matter.  :-)
  32. Someone did a port of ISODE to DOS a while back.  You might see if you
  33. can find that port, since the Pepsy there probably has this bug fixed.
  34.  
  35. -- 
  36. Stephen Trier                      "We want to offer you a price that you
  37. Network software type               just can't afford to take advantage of."
  38. Case Western Reserve University         - Sales blurb from HSC Software
  39. trier@ins.cwru.edu
  40.