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

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

[Octave-bug-tracker] [bug #55273] mkfifo returns "Function not implement


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55273] mkfifo returns "Function not implemented" error
Date: Thu, 27 Dec 2018 14:36:05 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #13, bug #55273 (project octave):

@Mike

Adding CPPFLAGS=-DHAVE_MKFIFO fixes it for me too.

And I can confirm that on macOS, for me, the gnulib trailing-slash-bug fix is
being used. I put debugging statements into the libgnu mkfifo.c:


mkfifo (char const *name _GL_UNUSED, mode_t mode _GL_UNUSED)
{
  printf("gnulib mkfifo() called\n");
[...]
rpl_mkfifo (char const *name, mode_t mode)
{
  printf("gnulib rpl_mkfifo() called\n");


and the rpl_mkfifo() is showing up in the `make` output:


  GEN      doc/interpreter/splinefit4.eps
gnulib rpl_mkfifo() called
gnulib rpl_mkfifo() called


I was also able to get it to build by sticking an AC_DEFINE in configure.ac
before the gl_INIT call:


dnl Fix for mkfifo macro bug
AC_DEFINE([HAVE_MKFIFO], [1], [Whether this system has mkfifo.])

gl_INIT


But I don't know how that will behave on systems that don't have mkfifo.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55273>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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