[kaffe] kaffe Threads

Syed Mudasir ahmed mudasir_1975@yahoo.com
Tue Nov 4 04:20:03 2003


--- kaffe-request@kaffe.org wrote:
> Send kaffe mailing list submissions to
> 	kaffe@kaffe.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> or, via email, send a message with subject or body
> 'help' to
> 	kaffe-request@kaffe.org
> 
> You can reach the person managing the list at
> 	kaffe-admin@kaffe.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kaffe digest..."
> 
> 
> Today's Topics:
> 
>    1. CVS kaffe (dalibor): Fixed small signedness
> warning (Kaffe CVS)
>    2. Re: some IPv6-related problem? (Guilhem
> Lavaux)
> 
> --__--__--
> 
> Message: 1
> From: Kaffe CVS <cvs-commits@kaffe.org>
> To: kaffe@kaffe.org
> Reply-To: Kaffe Mailing List <kaffe@kaffe.org>
> Date: Sun, 02 Nov 2003 21:59:40 -0800
> Subject: [kaffe] CVS kaffe (dalibor): Fixed small
> signedness warning
> 
> PatchSet 4155 
> Date: 2003/11/03 05:57:40
> Author: dalibor
> Branch: HEAD
> Tag: (none) 
> Log:
> Fixed small signedness warning
> 
> Members: 
> 	ChangeLog:1.1747->1.1748 
> 	kaffe/kaffeh/support.c:1.33->1.34 
> 
> Index: kaffe/ChangeLog
> diff -u kaffe/ChangeLog:1.1747
> kaffe/ChangeLog:1.1748
> --- kaffe/ChangeLog:1.1747	Mon Nov  3 05:29:28 2003
> +++ kaffe/ChangeLog	Mon Nov  3 05:57:40 2003
> @@ -1,4 +1,9 @@
>  2003-11-03  Dalibor Topic  <robilad@kaffe.org>
> +	* kaffe/kaffeh/support.c:
> +	(kaffeh_findClass) Changed type of buf to unsigned
> char* to
> +	fix -pedantic warnings.
> +
> +2003-11-03  Dalibor Topic  <robilad@kaffe.org>
>  
>  	* include/jni.h,
>  	kaffe/kaffevm/constants.h,
> Index: kaffe/kaffe/kaffeh/support.c
> diff -u kaffe/kaffe/kaffeh/support.c:1.33
> kaffe/kaffe/kaffeh/support.c:1.34
> --- kaffe/kaffe/kaffeh/support.c:1.33	Mon Nov  3
> 05:29:30 2003
> +++ kaffe/kaffe/kaffeh/support.c	Mon Nov  3 05:57:42
> 2003
> @@ -844,7 +844,7 @@
>  		else if (S_ISDIR(sbuf.st_mode)) {
>  			Hjava_lang_Class tmpClass;
>  			classFile hand;
> -			char* buf;
> +			unsigned char* buf;
>  
>  			strcat(superName, "/");
>  			strcat(superName, nm);
> @@ -891,7 +891,7 @@
>  			return;
>  		}
>  		else {
> -			char *buf;
> +			unsigned char *buf;
>  			classFile hand;
>  			Hjava_lang_Class tmpClass;
>  			
> 
> 
> --__--__--
> 
> Message: 2
> Date: Mon, 03 Nov 2003 07:36:59 +0100
> From: Guilhem Lavaux <guilhem@kaffe.org>
> To: Ito Kazumitsu <kaz@maczuka.gcd.org>
> Cc: kaffe@kaffe.org
> Subject: Re: [kaffe] some IPv6-related problem?
> 
> Ito Kazumitsu wrote:
> 
> >Hi,
> >
> >  
> >
> >>>>>>":" == Guilhem Lavaux <guilhem@kaffe.org>
> writes:
> >>>>>>            
> >>>>>>
> >
> >:> When I modified PlainDatagramSocketImpl.c I
> feared that sort of things may happen.
> >:> What happens if you modify the call in
> KSOCKET(AF_INET6, 0, &fd), does it work ?
> >
> >Unfortunately, No.
> >
> >I will study this case further.  For now I have
> found that
> >in libraries/clib/net/PlainSocketImpl.c
> >
> >   r = KBIND(fd, (struct sockaddr*)&addr,
> sizeof(addr));
> >
> >returns EINVAL (Invalid argument) and address
> family used here is
> >AF_INET and not AF_INET6.
> >  
> >
> Then, I don't see why addr should fail except that
> sizeof(addr) should 
> be exactly equal to sizeof(struct sockaddr_in). What
> happens if you put 
> sizeof(struct sockaddr_in) instead of sizeof(addr) ?
> 
> Cheers,
> Guilhem Lavaux.
> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> 
> 
> End of kaffe Digest


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree