Date: Mon, 31 Oct 94 14:04:46 JST From: Stephen Turnbull To: tony AT nt DOT tuwien DOT ac DOT at Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: strcat() ? Anton.Helm asks: Hi ! I would like to know what strcat(a, b); should do when b happens to be NULL. DJ gives the short answer (in DJGPP, NULL arguments to string functions are illegal), I give a long rationale elsewhere. I assume it should do nothing at all. Until v1.11m5 it did nothing, but Not true. I have seen GPFs associated with passing NULL pointers to string functions ever since I first tried to build imake under DJGPP 1.09 (well, I'm sure it GPFed under 1.10), QEMM (no QDPMI), and DESQview/X. --Steve