Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130346 | Differences between
and this patch

Collapse All | Expand All

(-)cvs-orig/lib/xgetcwd.c (-1 / +2 lines)
Lines 36-42 Link Here
36
char *
36
char *
37
xgetcwd (void)
37
xgetcwd (void)
38
{
38
{
39
  char *cwd = getcwd (NULL, 0);
39
  /* char *cwd = getcwd (NULL, 0); */
40
  char *cwd = get_current_dir_name();
40
  if (! cwd && errno == ENOMEM)
41
  if (! cwd && errno == ENOMEM)
41
    xalloc_die ();
42
    xalloc_die ();
42
  return cwd;
43
  return cwd;

Return to bug 130346