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:   20-May-2017 15:42:14
  Branch: rpm-5_4                          Handle: 2017052013421400

  Modified files:           (Branch: rpm-5_4)
    rpm/rpmio               rpmrpc.c

  Log:
    - typo.

  Summary:
    Revision    Changes     Path
    2.99.2.14   +15 -15     rpm/rpmio/rpmrpc.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmio/rpmrpc.c
  ============================================================================
  $ cvs diff -u -r2.99.2.13 -r2.99.2.14 rpmrpc.c
  --- rpm/rpmio/rpmrpc.c        17 May 2017 12:34:40 -0000      2.99.2.13
  +++ rpm/rpmio/rpmrpc.c        20 May 2017 13:42:14 -0000      2.99.2.14
  @@ -3,7 +3,7 @@
    */
   
   #include "system.h"
  - 
  +
   #if defined(HAVE_SYS_SYSCALL_H)
   # include <sys/syscall.h>
   #endif
  @@ -1408,7 +1408,7 @@
            st->st_nlink = 1;
            st->st_mode = (S_IFREG | 0644);
        }
  -     st->st_ino = hashFunctionString(0, path, 0);;
  +     st->st_ino = hashFunctionString(0, path, 0);
        st->st_size = fd->contentLength;
        st->st_mtime = fd->lastModified;
   
  @@ -1810,7 +1810,7 @@
   int Chown(const char * path, uid_t owner, gid_t group)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? chown(lpath, owner, group)
        : -2;
  @@ -1820,7 +1820,7 @@
   int Lchown(const char * path, uid_t owner, gid_t group)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? lchown(lpath, owner, group)
        : -2;
  @@ -1830,7 +1830,7 @@
   int Chmod(const char * path, mode_t mode)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? chmod(lpath, mode)
        : -2;
  @@ -1840,7 +1840,7 @@
   int Lchmod(const char * path, mode_t mode)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
   #if defined(HAVE_LCHMOD)
       rc = lpath != NULL
        ? lchmod(lpath, mode)
  @@ -1854,7 +1854,7 @@
   int Chflags(const char * path, unsigned int flags)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
   #if defined(HAVE_CHFLAGS)
       rc = lpath != NULL
        ? chflags(lpath, flags)
  @@ -1868,7 +1868,7 @@
   int Lchflags(const char * path, unsigned int flags)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
   #if defined(HAVE_LCHFLAGS)
       rc = lpath != NULL
        ? lchflags(lpath, flags)
  @@ -1882,7 +1882,7 @@
   int Mkfifo(const char * path, mode_t mode)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? mkfifo(lpath, mode)
        : -2;
  @@ -1892,7 +1892,7 @@
   int Mknod(const char * path, mode_t mode, dev_t dev)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? mknod(lpath, mode, dev)
        : -2;
  @@ -1902,7 +1902,7 @@
   int Utime(const char * path, const struct utimbuf *buf)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? utime(lpath, buf)
        : -2;
  @@ -1912,7 +1912,7 @@
   int Utimes(const char * path, const struct timeval times[2])
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? utimes(lpath, times)
        : -2;
  @@ -1922,7 +1922,7 @@
   int Lutimes(const char * path, const struct timeval times[2])
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
   #ifdef HAVE_LUTIMES
       rc = lpath != NULL
        ? lutimes(lpath, times)
  @@ -2002,7 +2002,7 @@
   int Access(const char * path, int amode)
   {
       int rc = -2;
  -    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);;
  +    const char * lpath = fdSyscallPrePath(__FUNCTION__, path, 1);
       rc = lpath != NULL
        ? access(lpath, amode)
        : -2;
  @@ -2164,7 +2164,7 @@
   #endif
        /*
         * Using realpath on lpath isn't correct if the lpath is a symlink,
  -      * especially if the symlink is a dangling link.  What we 
  +      * especially if the symlink is a dangling link.  What we
         * do instead is use realpath() on `.' and then append lpath to
         * the result.
         */
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to