This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch committed: Fix typo in socket_bsd.go


This libgo patch fixes a typo in socket_bsd.go.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

diff -r 2405da04b447 libgo/syscalls/socket_bsd.go
--- a/libgo/syscalls/socket_bsd.go	Mon Jan 24 15:39:20 2011 -0800
+++ b/libgo/syscalls/socket_bsd.go	Mon Jan 24 16:38:30 2011 -0800
@@ -43,11 +43,11 @@
 	Path [108]int8;
 }
 
-func (sa *RawsockaddrUnix) setLen(n int) {
+func (sa *RawSockaddrUnix) setLen(n int) {
 	sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL.
 }
 
-func (sa *RawsockaddrUnix) getLen() (int, int) {
+func (sa *RawSockaddrUnix) getLen() (int, int) {
 	if sa.Len < 3 || sa.Len > SizeofSockaddrUnix {
 		return 0, EINVAL
 	}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]