Commit Graph

112 Commits

Author SHA1 Message Date
David du Colombier 2f4516ba69 devip: fix addrlen in connect() and bind()
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6492074
2012-09-10 19:51:39 +02:00
David du Colombier 23a48c7cfe devip: add support for IPv6
Addresses are now stored as uchar[16] instead
of ulong, with enough room for IPv6.

Generic IP functions have been removed from
devip.c and replaced by libip, imported from
Plan 9.

Names and addresses are resolved using either
gethostbyname() or getaddrinfo() functions.

On Windows, IPv6 name resolution is not enabled,
because mingw32 doesn't provide inet_ntop().

R=rsc
http://codereview.appspot.com/6408044
2012-08-03 21:30:17 +02:00
Russ Cox 2ca76dc7de posix-arm: new directory, with tas.c from Skip Tavakkolian
R=rsc
http://codereview.appspot.com/6408043
2012-07-14 10:30:35 -04:00
Russ Cox e64d488c01 gui-x11: better snarfing with Chrome/Opera (ported from p9p, thanks Ethan Grammatikidis)
R=rsc
http://codereview.appspot.com/6402045
2012-07-14 10:22:22 -04:00
Russ Cox 14564d23d2 kern/win32.c: restore actually used variable
R=rsc
http://codereview.appspot.com/6401048
2012-07-14 09:21:46 -04:00
Russ Cox 6af132daa2 kern/devfs-posix: fix chmod after rename (thanks Cinap)
R=rsc
http://codereview.appspot.com/6401047
2012-07-14 08:15:02 -04:00
Russ Cox b229620082 codereview: set up from plan9port
R=rsc
http://codereview.appspot.com/6407043
2012-07-14 08:14:17 -04:00
Russ Cox 6fb8584800 cleanup suggested by Geoff Collyer 2011-01-02 18:33:44 -05:00
Erik Quanstrom 7211f00b30 cpu: fix p9any v.2 negotiation 2010-12-28 20:58:28 -05:00
Erik Quanstrom a568eea78d devdraw: add new draw operators 2010-12-28 20:53:46 -05:00
Erik Quanstrom 31aac06d20 expand iounit to handle large images in /dev/draw 2010-12-28 20:51:02 -05:00
Yaroslav f473ac462b x11: pass F1-F12 keys 2010-07-03 06:49:48 +00:00
Russ Cox 54944afbf9 update README 2009-08-25 22:50:54 -07:00
Russ Cox 3bab3a220a win32 build; add -r option 2009-08-25 22:46:22 -07:00
Russ Cox 5df8776caf lib.h: add #define for strtoll (Steve Simon) 2009-03-13 16:11:55 +00:00
Russ Cox 3c2bf42f22 x11: uint -> ulong on clipboard read for x86-64 2009-03-13 16:09:54 +00:00
Russ Cox 5cc6f05c4d sprint: the usual gcc "bug" 2008-12-09 16:47:22 +00:00
Russ Cox 4f14409f56 add make CONF=pthread for modern systems 2008-12-09 07:05:09 +00:00
Russ Cox 189f67ae9b delay user prompt until after -u is parsed (Randall Bohn) 2008-12-06 23:31:02 +00:00
Russ Cox b012e1ab6a ctl-opt is gone (Michaelian Ennis) 2008-08-07 15:18:48 +00:00
Russ Cox 5c16612307 ctl-alt is not ctl-u (tony lainson) 2008-07-31 19:57:29 +00:00
Russ Cox 46bd8d37d2 memrchr -> mymemrchr for FreeBSD 2008-07-14 16:48:16 +00:00
Russ Cox 347c54dbd3 better handling of quit events (underspecified@gmail) 2008-06-24 17:50:12 +00:00
Russ Cox 6c519f3309 consolidate 2008-06-22 03:10:12 +00:00
Russ Cox 972518cb05 windows fixes 2007-12-31 17:23:36 +00:00
Russ Cox f7c895607e fix redefinition in kern/posix.c 2007-11-26 15:11:24 +00:00
Russ Cox f94cf32519 add openbsd 2007-09-28 12:58:54 +00:00
Russ Cox 9b112390be add glenda icon (Matthias Schmidt) 2007-08-22 14:36:59 +00:00
Russ Cox 276098f816 fix auth problem 2007-06-24 18:56:06 +00:00
Russ Cox faa1eca1d3 add lib64 2007-06-23 00:13:47 +00:00
Russ Cox 7f51f90cb3 various fixes 2007-06-22 22:06:34 +00:00
Russ Cox d1b585cfe2 fix name bug; try to use bigger offsets 2007-05-29 12:23:05 +00:00
Russ Cox be768764da uintptr for getcallerpc 2007-05-04 01:48:02 +00:00
Russ Cox 602ec6770c yet more length fiddling 2007-01-29 02:56:33 +00:00
Russ Cox a984a8b22b More length fiddling. 2007-01-29 01:43:06 +00:00
Russ Cox 7bdaff72af fix length 2007-01-29 00:42:13 +00:00
Russ Cox c0963c9a12 respect snarf length 2007-01-28 16:10:13 +00:00
Russ Cox ffc8608e72 9ball 2007-01-18 15:09:48 +00:00
Russ Cox 6fcd59e9ec more fixes from andrey 2007-01-17 00:26:51 +00:00
Russ Cox a25f83e3c5 fixes from Andrey 2007-01-16 19:47:55 +00:00
Russ Cox e8b1d5b0dd Fixes from Andrey - extra buttons and Alt handling. 2007-01-15 20:40:54 +00:00
Russ Cox 2dfb06d6b6 more fixes from andrey 2007-01-12 17:29:58 +00:00
Russ Cox 50eb08d17f use __APPLE__ instead of __Darwin__ 2007-01-12 17:27:18 +00:00
Russ Cox 6ebf0a517b trick gcc! 2007-01-12 17:26:45 +00:00
Russ Cox 99dd6a2965 add missing drawqlock/drawqunlock 2007-01-10 02:48:22 +00:00
Russ Cox c50e30b59e Updates for 386 OS X, add native OS X graphics from Paul Lalonde 2007-01-09 22:17:21 +00:00
Russ Cox 416371c2d3 oops 2007-01-09 22:16:38 +00:00
Russ Cox a85fefcc92 sync with Plan 9 2006-11-13 03:23:32 +00:00
Russ Cox bf7b4c49fb fix the way Plan 9 does 2006-10-12 03:23:15 +00:00
Russ Cox d4753beb37 dangling pointer reference (Tim Wiess) 2006-10-12 03:21:03 +00:00