Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!iclswe!lars From: lars@iclswe.icl.se (Lars Tunkrans) Newsgroups: news.software.b Subject: Conflict between SVR4 and Cnews getdate. Summary: both Cnews and SVR4 defines getdate Keywords: getdate Message-ID: <1991Jun2.203518.4101@iclswe.icl.se> Date: 2 Jun 91 20:35:18 GMT Organization: ICL Data AB 194 85 Upplands Vasby Sweden Lines: 16 In SVR4 we have a getdate(3C) function which obviously comes into conflict with Cnews getdate. My quick and dirty soulution was to rename Cnews "getdate" to "getdat", this involved changes in just 4 source files in Cnews, less than 10 individual places in the code. My little hack cant be very imagiantive since I know almost nothing about C There must be several more people around who have ported Cnews to SVR4. How did you get around this problem ? Lars. -- _______________________________________________________________________________ Lars Tunkrans Phone +46 (0)76096368 DRS Systems Support DOMAIN Address : lars@iclswe.icl.se UUCP: uunet!mcsun!sunic!iclswe!lars X400: I=L;S=Tunkrans;OU1=SWE0102;O=ICL Data;P=ICL;A=TEDE;C=SE