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

Collapse All | Expand All

(-)gdb-6.3/gdb/main.c.orig (-1 / +1 lines)
Lines 693-699 Link Here
693
693
694
  if (!homedir
694
  if (!homedir
695
      || memcmp ((char *) &homebuf, (char *) &cwdbuf, sizeof (struct stat)))
695
      || memcmp ((char *) &homebuf, (char *) &cwdbuf, sizeof (struct stat)))
696
    if (!inhibit_gdbinit)
696
    if (!inhibit_gdbinit && (cwdbuf.st_uid == getuid()))
697
      {
697
      {
698
	catch_command_errors (source_command, gdbinit, 0, RETURN_MASK_ALL);
698
	catch_command_errors (source_command, gdbinit, 0, RETURN_MASK_ALL);
699
      }
699
      }

Return to bug 88398