2010/7/30 Ozkan Sezer <[email protected]>:
> On Fri, Jul 30, 2010 at 4:45 AM, Dongsheng Song
> <[email protected]> wrote:
>> It seems that Borland C++ defined ENOFILE, and MinGW add the alias of ENOENT.
>>
>
>
> Well, ENOENT is actually a standart errno.  I learnt ENOFILE just now,
> but since it seems to be in use, I say that we should define it.
>
> --
> Ozkan
>
>
>> On Thu, Jul 29, 2010 at 23:43, Ozkan Sezer <[email protected]> wrote:
>>> On Thu, Jul 29, 2010 at 6:28 PM, Kai Tietz <[email protected]> wrote:
>>>> 2010/7/29 Dongsheng Song <[email protected]>:
>>>>> Thanks, when I build libassuan, I found ENOFILE not defined yet (within 
>>>>> errno.h)
>>>>>
>>>>> #define ENOFILE         2       /* No such file or directory */
>>>>> #define ENOENT          2
>>>>>
>>>>> When I add ENOFILE definition, I can build GnuPG 2 success.
>>>>>
>>>>> I don't know whether ENOFILE should defined.
>>>>>
>>>>> On Thu, Jul 29, 2010 at 21:52, Kai Tietz <[email protected]> wrote:
>>>>>> 2010/7/29 Dongsheng Song <[email protected]>:
>>>>>>> Hi,
>>>>>>>
>>>>>>> When I compile GnuPG 2, I found w32pth[1] use data type sigset_t which
>>>>>>> mingw-w64 not supported,
>>>>>>> Is there any plan to support sigset_t in sys/types.h ?
>>>>>>>
>>>>>>> #ifndef _SIGSET_T_
>>>>>>> #define _SIGSET_T_
>>>>>>> typedef int     _sigset_t;
>>>>>>>
>>>>>>> #ifndef _NO_OLDNAMES
>>>>>>> typedef _sigset_t       sigset_t;
>>>>>>> #endif
>>>>>>> #endif  /* Not _SIGSET_T_ */
>>>>>>>
>>>>>>> [1] svn://cvs.gnupg.org/w32pth
>>>>>>>
>>>>>>> Regards,
>>>>>>> Dongsheng
>>>>>>
>>>>>> Thanks for the point. Committed at revision 3020 to trunk.
>>>>>>
>>>>>> Regards,
>>>>>> Kai
>>>>>>
>>>>>> --
>>>>>> |  (\_/) This is Bunny. Copy and paste
>>>>>> | (='.'=) Bunny into your signature to help
>>>>>> | (")_(") him gain world domination
>>>>>>
>>>>>
>>>>
>>>> Well, this is one of those questions. As it is more an alias of ENOENT
>>>> we can add it.
>>>> Maybe someone else wants to comment on this addition?
>>>>
>>>> Cheers,
>>>> Kai
>>>
>>> The man page for errno(3) on my linux doesn't list ENOFILE.
>>> Is it a deprecated errno? (I have no objections for its addition, BTW.)
>>>
>>> --
>>> Ozkan
>>>
>>
>

Ok, let use add ENOFILE as '#define ENOFILE ENOENT'

Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to