[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] Replace strcmp() by strncmp()
From: |
Pavel Vasilyev |
Subject: |
Re: [Qemu-devel] Re: [PATCH] Replace strcmp() by strncmp() |
Date: |
Wed, 28 Jan 2009 00:20:50 +0300 |
User-agent: |
KMail/1.9.10 |
On Tuesday 27 January 2009 12:28:55 Jan Kiszka wrote:
> Pavel Vasilyev wrote:
> > Possible SIGSEGV
>
> I would suggest studying some strncmp implementation and also thinking
> about the case that 'device' is, say, "nics"...
1. "nics" is other option
2. strncmp() conforming with next standarts: SVID 3, POSIX, BSD 4.3, ISO 9899
3. For case insensitivity - use strncasecmp(), For OSes where there is no this
function, it is possible to use macro.
signature.asc
Description: This is a digitally signed message part.
- [Qemu-devel] [PATCH] Random MAC address option, Pavel Vasilyev, 2009/01/26
- [Qemu-devel] [PATCH] Replace strcmp() by strncmp(), Pavel Vasilyev, 2009/01/26
- Re: [Qemu-devel] [PATCH] Random MAC address option, malc, 2009/01/26
- Re: [Qemu-devel] [PATCH] Random MAC address option, Kevin Wolf, 2009/01/27
- Re: [Qemu-devel] [PATCH] Random MAC address option, Riku Voipio, 2009/01/27
- Re: [Qemu-devel] [PATCH] Random MAC address option, Paul Brook, 2009/01/27