hgbook
annotate en/examples/results/mq.tarball.qinit.out @ 590:a2923aa93da9
Fix which files are included in the generated XML.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu Mar 26 20:24:44 2009 -0700 (2009-03-26) |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
rev | line source |
---|---|
bos@564 | 1 <screen><prompt>$</prompt> <userinput>cd netplug</userinput> |
bos@564 | 2 <prompt>$</prompt> <userinput>hg qinit</userinput> |
bos@564 | 3 <prompt>$</prompt> <userinput>hg qnew -m 'fix build problem with gcc 4' build-fix.patch</userinput> |
bos@564 | 4 <prompt>$</prompt> <userinput>perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c</userinput> |
bos@564 | 5 <prompt>$</prompt> <userinput>hg qrefresh</userinput> |
bos@564 | 6 <prompt>$</prompt> <userinput>hg tip -p</userinput> |
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@564 | 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@564 | 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@564 | 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 |
bos@564 | 29 </screen> |