hgbook
diff 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 |
line diff
1.1 --- a/en/examples/results/mq.tarball.qinit.out Mon Mar 09 21:37:47 2009 -0700 1.2 +++ b/en/examples/results/mq.tarball.qinit.out Thu Mar 26 20:24:44 2009 -0700 1.3 @@ -1,15 +1,15 @@ 1.4 -$ \textbf{cd netplug} 1.5 -$ \textbf{hg qinit} 1.6 -$ \textbf{hg qnew -m 'fix build problem with gcc 4' build-fix.patch} 1.7 -$ \textbf{perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c} 1.8 -$ \textbf{hg qrefresh} 1.9 -$ \textbf{hg tip -p} 1.10 +<screen><prompt>$</prompt> <userinput>cd netplug</userinput> 1.11 +<prompt>$</prompt> <userinput>hg qinit</userinput> 1.12 +<prompt>$</prompt> <userinput>hg qnew -m 'fix build problem with gcc 4' build-fix.patch</userinput> 1.13 +<prompt>$</prompt> <userinput>perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c</userinput> 1.14 +<prompt>$</prompt> <userinput>hg qrefresh</userinput> 1.15 +<prompt>$</prompt> <userinput>hg tip -p</userinput> 1.16 changeset: 1.17 tag: qtip 1.18 tag: build-fix.patch 1.19 tag: tip 1.20 tag: qbase 1.21 -user: Bryan O'Sullivan <bos@serpentine.com> 1.22 +user: Bryan O'Sullivan <bos@serpentine.com> 1.23 1.24 summary: fix build problem with gcc 4 1.25 1.26 @@ -18,11 +18,12 @@ 1.27 1.28 @@ -275,7 +275,7 @@ 1.29 exit(1); 1.30 - \} 1.31 + } 1.32 1.33 - int addr_len = sizeof(addr); 1.34 + socklen_t addr_len = sizeof(addr); 1.35 1.36 - if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{ 1.37 + if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) { 1.38 do_log(LOG_ERR, "Could not get socket details: %m"); 1.39 1.40 +</screen>