Re: [Nbd] [PATCH] Only send one reply on oversize writes
- To: Wouter Verhelst <w@...112...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH] Only send one reply on oversize writes
- From: Alex Bligh <alex@...872...>
- Date: Sun, 29 May 2011 10:02:36 +0100
- Message-id: <6EFB3D5FD60A129D80E2B74C@...874...>
- Reply-to: Alex Bligh <alex@...872...>
- In-reply-to: <20110529071748.GA4079@...510...>
- References: <1306560268-19484-1-git-send-email-alex@...872...> <20110528085523.GC32221@...510...> <33FC6E538A76BA35B1D798B4@...874...> <20110528101214.GA9316@...510...> <5DA2DC50EEB2FE1A65B357A5@...874...> <20110528105556.GI10543@...510...> <3BA496AB30EF504753B2C84B@...873...> <E9F230EF57B6F691D8DCC5F3@...873...> <20110529071748.GA4079@...510...>
Wouter,
--On 29 May 2011 09:17:48 +0200 Wouter Verhelst <w@...112...> wrote:
You will be pleased to hear I don't plan to do anything more for
this weekend's release, unless you find some bugs in my code of
course.
I didn't see anything suspicious in your code, so I've merged it. I'm
working on the release right now.
Thanks, but that clearly jinxed it:
Scratch that, it doesn't work if you do --enable-syslog (because
nbd-trdump.c doesn't #include <syslog.h>) nbd-trdump). I've committed a
fix for that, will upload fixed files in a minute (once 'make distcheck'
finishes).
Sorry about that. My excuse for today is that cliserv.h is a bit of
a hotch-potch - I'd never imagined it would be calling syslog etc.
If it is going to call syslog (i.e. if that define is set), it should
probably '#include <syslog.h>' itself rather than hoping the file
including cliserv.h does that too.
--
Alex Bligh
Reply to: