strcpy problem tested

From: Jason Wilkins (fenix@IO.COM)
Date: 09/24/98


I had not tested the macro I send before, here it is, debugged a little
more.  Put it in an
include file and put it in each file that contains strcpy, make it the
last #include in the file.

#include "stdio.h"
#define strcpy(dst, src) \
(fprintf(stderr, "strcpy used in FILE: " __FILE__ " LINE: %d",
__LINE__), \
strcpy(dst, src))

--
           Phoenix -- President of The Artistic Intuition Company
       Caelius * Mirror Reflex * Runica * X-Domain * Infinite Realms
                          http://www.io.com/~fenix


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST