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

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

[Octave-bug-tracker] [bug #60998] fatal: unable to find current director


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60998] fatal: unable to find current directory
Date: Mon, 2 Aug 2021 09:52:55 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.62

Update of bug #60998 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #3:

Afaict, "get_current_dir_name" isn't part of the POSIX specifications [1]. So,
we can't use it (at least not unconditionally).

Does it also work if you replace that line with the following (i.e., using the
system's getcwd instead of gnulib's implementation)?

      char *tmp = getcwd (nullptr, 0);


[1]: https://linux.die.net/man/3/get_current_dir_name

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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