|
From: | zhengda |
Subject: | Re: The patch of pfinet |
Date: | Wed, 13 Aug 2008 12:07:50 +0200 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
olafBuddenhagen@gmx.net wrote:
The funny thing here is that gcc always complains that it cannot find the definition of errno even though I have included errno.h.+ master_device = file_name_lookup (master_device_file , 0 , 0); + if (master_device == MACH_PORT_NULL) + error (2, 0, "file_name_lookup %s", master_device_file);Doesn't file_name_lookup() set errno?...
I think the problem is that my vim always uses space instead of tab. and the displaying result also depends on how your editor display tab.for (in = h->interfaces; in < h->interfaces + h->num_interfaces; in++) - if (strcmp (in->device->name, arg) == 0) + if (strcmp (in->name, arg) == 0)Wrong indentation.
The tab stops 8 columns in my vim. Zheng Da
[Prev in Thread] | Current Thread | [Next in Thread] |