This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for displaying package name before package descriptor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]