[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gengetopt] Patch for gengetopt_strlen()
From: |
Lorenzo Bettini |
Subject: |
Re: [help-gengetopt] Patch for gengetopt_strlen() |
Date: |
Tue, 13 Nov 2001 08:01:25 +0100 |
Brian Minard wrote:
>
> Hi,
>
> I think that gengetopt_strlen() can be removed. The only reason I can
> see for keeping this function is to replace strlen(). If this is the
> plan then a replacement function should be provided instead (as was
> done for strdup()).
>
> I was hard pressed to design a meaningful test for this patch. I did
> run the checks and diff the old and new test results. Everything
> looked ok.
>
Hi
I think you're right; it was also my intention to remove it since it is
not really necessary: I think that strlen is standard (while strdup may
be missing in some library).
cheers
Lorenzo
--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD student in Computer Science |
| Florence - Italy (Linux User # 158233) |
| Home Page : http://w3.newnet.it/bettini |
| Mail : address@hidden |
| http://music.dsi.unifi.it XKlaim language |
| http://w3.newnet.it/bettini/purple Cover Band |
| http://www.gnu.org/software/src-highlite |
| http://www.gnu.org/software/gengetopt |
+-----------------------------------------------------+