hgbook
view 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 source
1 $ \textbf{cd netplug}
2 $ \textbf{hg qinit}
3 $ \textbf{hg qnew -m 'fix build problem with gcc 4' build-fix.patch}
4 $ \textbf{perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c}
5 $ \textbf{hg qrefresh}
6 $ \textbf{hg tip -p}
7 changeset:
8 tag: qtip
9 tag: build-fix.patch
10 tag: tip
11 tag: qbase
12 user: Bryan O'Sullivan <bos@serpentine.com>
14 summary: fix build problem with gcc 4
16 diff -r -r netlink.c
19 @@ -275,7 +275,7 @@ netlink_open(void)
20 exit(1);
21 \}
23 - int addr_len = sizeof(addr);
24 + socklen_t addr_len = sizeof(addr);
26 if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{
27 do_log(LOG_ERR, "Could not get socket details: %m");