Re: a patch to fix sh_stat on SunOS

2016-08-20 Thread Dmitry Goncharov
On Thu, Aug 11, 2016 at 07:52:51AM -0400, Chet Ramey wrote: > On 8/10/16 5:38 PM, Dmitry Goncharov wrote: > > >> > does "If any file argument to one of the primaries is of the form > > > >> > /dev/fd/n, then file descriptor n is checked.". > > > > > >> It seems like a documentation error. > >

fix a memory leak in netopen

2016-08-20 Thread Dmitry Goncharov
Good morning. The patch in the attachment fixes a memory leak in netopen. regards, Dmitry diff --git a/lib/sh/netopen.c b/lib/sh/netopen.c index 736d413..e584548 100644 --- a/lib/sh/netopen.c +++ b/lib/sh/netopen.c @@ -304,6 +304,7 @@ netopen (path) if (t == 0) { internal_error (_