This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with init_all_network_interfaces


Eric Doenges <Eric.Doenges@DynaPel.de> writes:

> 
> The crash was then caused by the function 'socket' in
> io/fileio/current/src/socket.cxx, which returns an invalid cyg_file
> instead of an error when no networking stack exists (nstab is empty).

Oops, yes. This is easily fixed by initializing err to
EPROTONOSUPPORT. I'll check in a patch for this.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]