home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume24 / newsgate / part04 / str.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-09  |  612 b   |  39 lines

  1. /*
  2. **  String-related routines for mail2news.
  3. */
  4. #include "gate.h"
  5. #ifdef    RCSID
  6. static char RCS[] =
  7.     "$Header: /nfs/papaya/u2/rsalz/src/newsgate/src/RCS/str.c,v 1.6 91/03/13 15:57:16 rsalz Exp $";
  8. #endif    /* RCSID */
  9.  
  10.  
  11. /*
  12. **  For Ozan Yigit's public domain regex.
  13. */
  14. /* ARGSUSED */
  15. void
  16. re_fail(text, arg)
  17.     char    *text;
  18.     int        arg;
  19. {
  20. }
  21.  
  22.  
  23. /*
  24. **  Free up something that ReadFile made.  This doesn't belong here,
  25. **  but news2mail doesn't need it, so we don't want it in misc.c.
  26. */
  27. void
  28. FreeFile(V)
  29.     char        **V;
  30. {
  31.     register char    **p;
  32.  
  33.     if (p = V) {
  34.     while (*p)
  35.         free(*p++);
  36.     free((char *)V);
  37.     }
  38. }
  39.