|
|
| Author |
Message |
|
| mange at freemail.hu |
Posted: Mon Dec 19, 2005 10:12 am |
|
|
|
Guest
|
Simple patch for setuid_socket_wrap. On platforms where "char" is
"unsigned char", c can never be EOF (since EOF is -1). Using an int
instead fixes the problem.
Magnus
--- /usr/local/lib/erlang/erts-5.4.4/src/setuid_socket_wrap.c 2005-02-25 01:09:03.000000000 +0100
+++ setuid_socket_wrap.c 2005-12-16 22:50:03.000000000 +0100
_at__at_ -175,7 +175,7 _at__at_
{
struct sock_list *sl = NULL, *sltmp = NULL;
int count = 0;
- char c;
+ int c;
while ((c = getopt(argc, argv, "s:d:r:")) != EOF)
switch (c) {
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| Addickbas8 |
Posted: Wed Apr 11, 2007 4:14 am |
|
|
|
Guest
|
|
| Back to top |
|
| Shack |
Posted: Thu Apr 12, 2007 3:13 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|