hgbook

annotate en/examples/mq.tarball.qinit.out @ 465:aa6036a9688e

translated up to almost the end of the "integration with bugzilla" section. upgraded project status
author Javier Rojas <jerojasro@devnull.li>
date Wed Dec 24 08:06:54 2008 -0500 (2008-12-24)
parents 006bbad1f190
children
rev   line source
bos@144 1 $ \textbf{cd netplug}
bos@144 2 $ \textbf{hg qinit}
bos@144 3 $ \textbf{hg qnew -m 'fix build problem with gcc 4' build-fix.patch}
bos@144 4 $ \textbf{perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c}
bos@144 5 $ \textbf{hg qrefresh}
bos@144 6 $ \textbf{hg tip -p}
bos@144 7 changeset:
bos@144 8 tag: qtip
bos@144 9 tag: build-fix.patch
bos@144 10 tag: tip
bos@144 11 tag: qbase
bos@144 12 user: Bryan O'Sullivan <bos@serpentine.com>
bos@144 13
bos@144 14 summary: fix build problem with gcc 4
bos@144 15
bos@144 16 diff -r -r netlink.c
bos@144 17
bos@144 18
hg@297 19 @@ -275,7 +275,7 @@
bos@144 20 exit(1);
bos@144 21 \}
bos@144 22
bos@144 23 - int addr_len = sizeof(addr);
bos@144 24 + socklen_t addr_len = sizeof(addr);
bos@144 25
bos@144 26 if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{
bos@144 27 do_log(LOG_ERR, "Could not get socket details: %m");
bos@144 28