home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / sys / amiga / uucp / 3117 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.5 KB  |  35 lines

  1. Newsgroups: alt.sys.amiga.uucp
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!tct!ckctpa!crash
  3. From: crash@ckctpa.UUCP (Frank "Crash" Edwards)
  4. Subject: Re: strange cnews problem
  5. Message-ID: <1993Jan3.155215.1232@ckctpa.UUCP>
  6. Date: Sun, 3 Jan 1993 15:52:15 GMT
  7. Reply-To: crash%ckctpa@myrddin.sybus.com (Frank "Crash" Edwards)
  8. References: <271292c0736@hamburg.uucp> <1992Dec30.025821.2361@ckctpa.UUCP> <030193i0733@hamburg.uucp>
  9. Organization: Edwards & Edwards Consulting
  10. Lines: 23
  11.  
  12. Kai 'wusel' Siering <wusel@hactar.hanse.de> writes:
  13. >     No, _please_ don't touch your ACTIVE files! I just checked Frank's
  14. >assertion against the source (`cn:relay/active.c'): in findfield() one
  15. >finds "ngline = strchr(ngline, ' ');", in other words, the delimeter HAS
  16. >TO BE ' ' (space), NOT '\t' (tab)!
  17.  
  18. OUCH!  Boy was it a mistake to open my mouth (or is that fingers? :-)
  19. before checking this stuff out.  Both fieldfind() and realngname()
  20. expect a hard-coded space between fields.  I remember at the time I
  21. was doing the port thinking that it was pretty stupid to require a
  22. specific character, but strchr() is probably in-lined by most
  23. compilers nowadays, so perhaps there's a significant speed advantage
  24. over something like strspn().
  25.  
  26. >Don't get confused ...
  27. >            kai
  28.  
  29. Yeah, I think I'll take a long vacation :-)
  30.  
  31. -- 
  32. Frank "Crash" Edwards          Edwards & Edwards Consulting
  33. Fax:  813/786-6526             crash%ckctpa@myrddin.sybus.com, but please
  34. Home: 813/786-3675             don't ask UUNET to route it -- it's sloooow.
  35.