Thanks for your report, and sorry for my delay!
The distinguishing feature here is that lynx closes the CGI script's
standard input. As a result, at some point man does roughly:
last_input = open (filename, O_RDONLY);
dup2 (last_input, 0);
close (last_input);
But the "open" returns 0, since that's the first available file
descriptor, so everything is now very confused. libpipeline needs to
tolerate this situation.
** Package changed: man-db (Ubuntu) => libpipeline (Ubuntu)
** Changed in: libpipeline (Ubuntu)
Importance: Undecided => Medium
** Changed in: libpipeline (Ubuntu)
Status: New => Triaged
** Changed in: libpipeline (Ubuntu)
Assignee: (unassigned) => Colin Watson (cjwatson)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/992271
Title:
man command not working in lynxcgi script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpipeline/+bug/992271/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs