bug-hurd
[Top][All Lists]
Advanced

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

[bug #28934] execve(path, args) should take path as a a relative path if


From: Emilio Pozuelo Monfort
Subject: [bug #28934] execve(path, args) should take path as a a relative path if it doesn't contain slashes
Date: Mon, 22 Mar 2010 16:25:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; es-es) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Debian/squeeze/sid () Epiphany/2.29.92

Follow-up Comment #8, bug #28934 (project hurd):

Actually there seems to be a regression:

a program like

main (int argc, char **argv)
{
  printf ("%s", argv[0]);
}

put into /bin/foobar, will make
$ foobar
print ./foobar instead of "foobar", which would be expected and works fine
without my patches. I've looked at the patches and the Hurd code and I
couldn't find why this would happen (I haven't debugged much yet as I couldn't
attach gdb to the exec server).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28934>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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