RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   18-Oct-2010 04:02:53
  Branch: HEAD                             Handle: 2010101802025200

  Modified files:
    rpm/lib                 rpminstall.c

  Log:
    - remove compiler warning, chuck debuging.

  Summary:
    Revision    Changes     Path
    1.229       +1  -4      rpm/lib/rpminstall.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/rpminstall.c
  ============================================================================
  $ cvs diff -u -r1.228 -r1.229 rpminstall.c
  --- rpm/lib/rpminstall.c      29 Sep 2010 14:54:30 -0000      1.228
  +++ rpm/lib/rpminstall.c      18 Oct 2010 02:02:52 -0000      1.229
  @@ -9,6 +9,7 @@
   #include <poptIO.h>
   
   #include <rpmtag.h>
  +#define      _RPMEVR_INTERNAL        /* XXX expose rpmVersionCompare 
prototype */
   #include <rpmevr.h>
   #include "rpmdb.h"
   #ifdef       NOTYET
  @@ -128,8 +129,6 @@
        if (filename == NULL || filename[0] == '\0')
            return NULL;
        fd = Fopen(filename, "r%{?_rpmgio}");
  -if (_rpmts_debug)
  -fprintf(stderr, "-->\tfd %p = Fopen(%.40s,r)\n", fd, filename);
   
        /* XXX Retry once to handle http:// server timeout reopen's. */
        if (Ferror(fd)) {
  @@ -160,8 +159,6 @@
        /*...@notreached@*/ break;
   
       case RPMCALLBACK_INST_CLOSE_FILE:
  -if (_rpmts_debug)
  -fprintf(stderr, "<--\tfd %p = Fclose(%p)\n", fd, fd);
        /*...@-type@*/ /* FIX: still necessary? */
        fd = fdFree(fd, "persist (showProgress)");
        /*...@=type@*/
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to