|
From: | Laurent Charmet |
Subject: | Re: [Tinycc-devel] 0.9.22: GNU nano compile error |
Date: | Wed, 17 Nov 2004 09:12:00 +0100 |
User-agent: | Mozilla Thunderbird 0.9 (Windows/20041103) |
address@hidden wrote:
NULL is for pointer, and *read_buff_ptr is a char. Ok there is a casting. Try to modify like this :nano.c:1805: cannot use pointers here Looking at this section of nano.c, line 1805 is a blank line: 1798 while ((bytesread = read(uniq_fd[0], read_buff_ptr, pipe_buff_size) 1798 ) > 0) { 1799 read_buff_read += bytesread; 1800 read_buff_size += pipe_buff_size; 1801 read_buff = read_buff_ptr = charealloc(read_buff, read_buff_siz 1801 e); 1802 read_buff_ptr += read_buff_read; 1803 1804 } 1805 1806 *read_buff_ptr = (char)NULL;
*read_buff_ptr = 0;
1807 close(uniq_fd[0]); What, and where, is the error? -Charles _______________________________________________ Tinycc-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/tinycc-devel
laurent.charmet.vcf
Description: Vcard
[Prev in Thread] | Current Thread | [Next in Thread] |