Analysis of wget in Minix
The wget-1.5.3 package contains some interesting modifications.
A .descr and build.minix were added - so far, so good.
In the documentation there is a strange feat.
The wget.info file in the Minix-version does not include the wget.texi file, but the file was pasted plainly. Perhaps makeinfo under Minix does not support inclusion?
Now the real stuff:
In connect.c there isa call to setsockopt
if (setsockopt (msock, SOL_SOCKET, SO_REUSEADDR, (char *)&optval, sizeof (optval)) « 0) return CONSOCKERR;
In the Minix3 version, the return was dumped:
setsockopt (msock, SOL_SOCKET, SO_REUSEADDR, (char *)&optval, sizeof (optval));
Therefore I can conclude that this call is less hazardous in Minix and does not break the connection.
Then the patcher added a 1 and 2 to debugging print statements in ftp.c. Well.
That's all for wget.