Colin Watson 5dfa0afa16 getroot: Save/restore CWD more reliably on Unix
Various GRUB utilities fail if the current directory doesn't exist,
because grub_find_device() chdirs to a different directory and then
fails when trying to chdir back.  Gnulib's save-cwd module uses fchdir()
instead when it can, avoiding this category of problem.

Fixes Debian bug #918700.

Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-03-19 11:23:22 +01:00
..
2019-03-05 10:23:47 +01:00
2016-11-05 15:28:50 +03:00
2013-10-19 16:39:38 +02:00
2013-10-19 16:39:38 +02:00
2013-10-08 18:25:49 +02:00