[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: h_errno?

From: Paul Eggert
Subject: Re: h_errno?
Date: Fri, 15 Feb 2013 11:09:14 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 02/15/2013 02:19 AM, Eli Zaretskii wrote:
> I guess most of w32 functions that set h_errno can stop doing
> that now.

If memory serves, h_errno is part of an obsolete POSIX
interface that Emacs no longer uses now, if the platform
supports the current POSIX interface.  As I understand it,
the w32 code emulates the obsolete interface, so if the
policy is to emulate the interface rather than do the
minimal work needed to support Emacs, then w32 code needs to
set h_errno when it emulates that interface.

The declaration of h_errno isn't needed in src/process.c;
it's a leftover from some old code that was removed.  So I
removed the unused decl in trunk bzr 111791.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]