|
From: | Joop Stakenborg |
Subject: | Re: [Tlf-devel] Re: TLF 0.8.19 |
Date: | Sat, 26 Apr 2003 13:13:14 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030327 Debian/1.3-4 |
Mike Tatum wrote:
Anyone fancy suggesting a fix ? :) MikeT ... M0AWS On Thursday 24 April 2003 9:11 am, rein couperus PA0RCT wrote:I think it goes wrong here: char inputbuffer[160]; FILE *fp; while(!feof(fp)){ fgets (inputbuffer, 120, fp); if (inputbuffer[0] != '#') { /* comments */ parse_logcfg(inputbuffer); } }
Mike, here is a wild guess: could you try replacing: char inputbuffer[160]; by: int inputbuffer[160]; If this won't work, we could send you a little C program which tests fgets. Judging from what I have found on the web fgets on PPC is indeed different from i386. Joop
[Prev in Thread] | Current Thread | [Next in Thread] |