Bug#605861: manpages-dev: return type of pclose possibly wrong

2010-12-04 Thread pacman
Daniel Reichelt writes: a) when assigning int i = pclose(pipeFD); OR assigning long i = pclose(pipeFD); I get a compiler warning like this: warning: assignment makes integer from pointer without a cast So pclose is apparently declared as returning a pointer. That's unusual. The man page

Bug#605861: manpages-dev: return type of pclose possibly wrong

2010-12-03 Thread Daniel Reichelt
Package: manpages-dev Version: 3.25-1 Severity: normal Hi, a) when assigning int i = pclose(pipeFD); OR assigning long i = pclose(pipeFD); I get a compiler warning like this: warning: assignment makes integer from pointer without a cast b) when assigning int i = (int) pclose(pipeFD); I get a