This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: patch for displaying package name before package descriptor
- To: cygwin-patches at cygwin dot com
- Subject: Re: patch for displaying package name before package descriptor
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 10 Oct 2001 16:28:54 -0400
- References: <003401c151bc$aca91c30$fd1c440a@BRAMSCHE>
- Reply-To: cygwin-patches at cygwin dot com
On Wed, Oct 10, 2001 at 08:52:13PM +0200, Ralf Habacker wrote:
>Hi,
>I have seen a current setup.exe in cvs and recognized,
>that prepending the package name to the printed
>package descriptor help to identify the displayed package.
>The following patch added this functionality.
>
>BTW: In some packages the package name is already in the
>package descriptor. If this would be cleared (removed)
>the lines
>+ // package name is already in descriptor
>+ if (strncmp(pkg->sdesc,pkg->name,strlen(pkg->name)) == 0)
> s = pkg->sdesc;
>+
>+ // otherwise prepend the package name
>+ else {
>could be removed from the patch.
I removed a couple of cases where Chuck had added the package name to
the beginning of the short descriptor with the intent of doing something
just like this. Thanks!
I'd like Robert to review this, though, if he's available since this
is his code.
cgf