Mercurial > hgbook
view en/examples/mq.tarball.qinit.out @ 251:2e73abddad21
Avoid converting UTF8-encoded angle brackets into ASCII (per Johannes Hoff).
Finally write up what fixhtml.py is actually doing.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 30 May 2007 21:50:21 -0700 |
parents | 006bbad1f190 |
children | bd8d96d3703d |
line wrap: on
line source
$ \textbf{cd netplug} $ \textbf{hg qinit} $ \textbf{hg qnew -m 'fix build problem with gcc 4' build-fix.patch} $ \textbf{perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c} $ \textbf{hg qrefresh} $ \textbf{hg tip -p} changeset: tag: qtip tag: build-fix.patch tag: tip tag: qbase user: Bryan O'Sullivan <bos@serpentine.com> summary: fix build problem with gcc 4 diff -r -r netlink.c @@ -275,7 +275,7 @@ netlink_open(void) exit(1); \} - int addr_len = sizeof(addr); + socklen_t addr_len = sizeof(addr); if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{ do_log(LOG_ERR, "Could not get socket details: %m");