octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51830] uname nodename sometimes gives "localh


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51830] uname nodename sometimes gives "localhost" instead of pc name
Date: Wed, 23 Aug 2017 20:23:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #51830 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Please try to figure out what set of conditions cause this to happen.

Also try calling uname with 3 output arguments


[utsname, err, msg] = uname


If err is nonzero, then msg should describe the error.

If err is zero and you still get localhost, then this is probably a failure in
the gethostname function on Windows, which is outside of the scope of Octave
to fix. If you can come up with a reproducible test case, it might be worth
reporting to gnulib. We can help you debug this and work up a minimal test
case for gnulib, but other than that it's probably not something Octave can do
anything about.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51830>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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