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
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
14564d23d2
kern/win32.c: restore actually used variable
...
R=rsc
http://codereview.appspot.com/6401048
2012-07-14 09:21:46 -04:00
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
6fb8584800
cleanup suggested by Geoff Collyer
2011-01-02 18:33:44 -05:00
3bab3a220a
win32 build; add -r option
2009-08-25 22:46:22 -07:00
4f14409f56
add make CONF=pthread for modern systems
2008-12-09 07:05:09 +00:00
46bd8d37d2
memrchr -> mymemrchr for FreeBSD
2008-07-14 16:48:16 +00:00
972518cb05
windows fixes
2007-12-31 17:23:36 +00:00
f7c895607e
fix redefinition in kern/posix.c
2007-11-26 15:11:24 +00:00
d1b585cfe2
fix name bug; try to use bigger offsets
2007-05-29 12:23:05 +00:00
a85fefcc92
sync with Plan 9
2006-11-13 03:23:32 +00:00
bf7b4c49fb
fix the way Plan 9 does
2006-10-12 03:23:15 +00:00
d4753beb37
dangling pointer reference (Tim Wiess)
2006-10-12 03:21:03 +00:00
353f9089e6
from axel belinfante
2006-05-29 15:24:15 +00:00
964d0bdc57
silly sun
2006-05-24 15:24:14 +00:00
083b5a0e40
setmalloctag
2006-05-21 23:32:55 +00:00
1125f094ce
#%*&*@#(@ sun
2006-05-21 17:02:05 +00:00
5797fdc0c0
amd64 fixes
2006-05-21 16:32:29 +00:00
af11a9e129
misparsing 9grid.net
2006-04-06 16:21:51 +00:00
17efd16d0f
misparsing 9grid.net
2006-04-06 15:54:12 +00:00
7e5c23755e
fix audio for mac; add devtls
2006-04-04 11:38:40 +00:00
a033ac892e
forgot
2006-03-10 03:43:03 +00:00
37ef30916c
add audio
2006-03-08 04:24:23 +00:00
f18ed453eb
fixes
2006-01-17 12:48:16 +00:00
230e492a8a
more irix-inspired fixes
2005-12-29 23:41:14 +00:00
21b830b1ac
cleanups spotted by irix cc
2005-12-29 23:15:58 +00:00
f067fbcaef
netbsd fix
2005-12-29 21:02:41 +00:00
ee5fc884bd
fixes
2005-11-08 01:35:49 +00:00
d6701f9376
set muid
2005-11-07 17:46:26 +00:00
e03e9178e2
no deadlock
2005-11-07 17:36:34 +00:00
537f761602
mac warnings
2005-11-07 17:34:39 +00:00
494adeed0b
silence gcc warnings
2005-11-07 17:21:23 +00:00
1c8b499228
silence all gcc warnings
2005-11-07 17:13:41 +00:00
43b112897a
devssl fix (should not matter)
2005-11-04 19:19:11 +00:00
e10503f019
Mac fixes
2005-11-04 15:47:45 +00:00
ab73f2bbf5
Add real factotum.
2005-11-04 15:36:40 +00:00
06b60293ad
mac
2005-11-02 15:21:51 +00:00
e4f9a4578a
windows
2005-11-02 15:20:27 +00:00
5d6ebf7a53
Merge in Windows port using mingw and make.
2005-10-31 15:30:23 +00:00
d920d42c8b
Less or better chatter.
2005-10-18 18:19:23 +00:00
74d480c1e8
Use posix locks instead of pipes.
2005-10-18 13:45:38 +00:00
82b1d4d6c2
More fixes.
2005-10-17 16:39:16 +00:00
54ca86f879
Rewrite X11 snarf. Maybe this will be better.
2005-10-17 16:18:45 +00:00
a43c1e6fab
enable queue management in kern/devmouse.c. i have no idea why it was
...
disabled.
this caused scroll button movements to be missed from /dev/mouse as they
generate two quick on-off events of which only the last one was being read
by devmouse.
andrey
2005-09-01 16:43:18 +00:00
934846f35c
a
2005-08-08 12:50:13 +00:00