home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / gopher / 1030 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  989 b 

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!recnews
  2. From: lindner@mudhoney.unet.umn.edu (Paul Lindner)
  3. Newsgroups: alt.gopher
  4. Subject: Re: Sockfd = 0???
  5. Message-ID: <199207212045.AA21390@mudhoney.micro.umn.edu>
  6. Date: 21 Jul 92 20:45:04 GMT
  7. References: <1992Jul16.192430.27521@msuinfo.cl.msu.edu>
  8. Sender: news@csn.org
  9. Organization: Colorado SuperNet, Inc.
  10. Lines: 16
  11.  
  12. In alt.gopher you write:
  13.  
  14. >Can anyone explain why gopherd 1.01, when running as gopherls, would want
  15. >to write to a file descriptor of 0, instead of 1 or 2?
  16.  
  17. Ooops, my mistake.  
  18.  
  19. The cleaned up code does the following:
  20.  
  21. listdir(fileno(stdout), "/");
  22.  
  23. Thanks!-- 
  24.  | Paul Lindner | lindner@boombox.micro.umn.edu   | Slipping into madness
  25.  |              | Computer & Information Services | is good for the sake
  26.  | GopherMaster | University of Minnesota         | of comparision.
  27. ///// / / /    /////// / / / /  /  /  /   /      //// / / / /  /  /  /   /
  28.