hgbook
diff en/examples/mq.tarball.qinit.out @ 144:006bbad1f190
Add expected output files.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 06 21:44:56 2007 -0800 (2007-03-06) |
parents | |
children | bd8d96d3703d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/mq.tarball.qinit.out Tue Mar 06 21:44:56 2007 -0800 1.3 @@ -0,0 +1,28 @@ 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 +changeset: 1.11 +tag: qtip 1.12 +tag: build-fix.patch 1.13 +tag: tip 1.14 +tag: qbase 1.15 +user: Bryan O'Sullivan <bos@serpentine.com> 1.16 + 1.17 +summary: fix build problem with gcc 4 1.18 + 1.19 +diff -r -r netlink.c 1.20 + 1.21 + 1.22 +@@ -275,7 +275,7 @@ netlink_open(void) 1.23 + exit(1); 1.24 + \} 1.25 + 1.26 +- int addr_len = sizeof(addr); 1.27 ++ socklen_t addr_len = sizeof(addr); 1.28 + 1.29 + if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{ 1.30 + do_log(LOG_ERR, "Could not get socket details: %m"); 1.31 +