[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111125165008.05f4dbf3@nehalam.linuxnetplumber.net>
Date: Fri, 25 Nov 2011 16:50:08 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Hagen Paul Pfeifer <hagen@...u.net>
Cc: netdev@...r.kernel.org, David.Laight@...LAB.COM
Subject: Re: [PATCH iproute2] utils: add s32 parser
On Sat, 26 Nov 2011 00:00:26 +0100
Hagen Paul Pfeifer <hagen@...u.net> wrote:
> Not sure if we should save errno and restore afterwards:
>
> errno_save = errno;
> errno = 0;
> [...]
> errno = errno_save;
Not worth it. errno is only meaningful after a failed library or syscall.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists