On Apr 20 06:15, Andy Koppe wrote:
> No need for that test case actually. Symbolic links within /proc just
> seem to be broken:
Fixed in CVS. Just an oversight when the /proc virtual devices
have been renumbered a couple of days ago.
Thanks for the report,
Corinna
--
Corinna Vinschen
On 19 April 2011 21:16, Andy Koppe wrote:
> With the latest snapshot, exec() fails on /proc/self/exe:
>
> $ cat test.c
> #include
> #include
> #include
> #include
> #include
>
> int main(int argc, char *argv[])
> {
> if (argc > 1 && !fork()) {
> execl("/proc/self/exe", argv[0], (char *)0);
On 04/19/2011 02:16 PM, Andy Koppe wrote:
> int main(int argc, char *argv[])
> {
> if (argc > 1 && !fork()) {
> execl("/proc/self/exe", argv[0], (char *)0);
> puts(strerror(errno));
> }
> return 0;
> }
>
> $ cc test.c
>
> $ ./a bla
> Bad file descriptor
>
> With 1.7.9, it prints no
3 matches
Mail list logo