[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird ftp behaviour
I have a question:
linux is a 32bit OS, on win32 and dos32 (dos4gw, gjdpp progs etc) the stack
is also 32bit size. which means that all passed parameters are 32bit size =
long. This should not matter if also linux (gcc/glibc whatever) works that
way. Can somebody explain this to me?
> void
> setpeer(int argc, char *argv[])
> {
> char *host;
> unsigned short port;
>
> I changed the sources to: unsigned int port; , compiled, and it works.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il