Changeset 1034


Ignore:
Timestamp:
Feb 25, 2017, 12:56:24 PM (8 years ago)
Author:
dmik
Message:

rpm: Fix minor build break and warning.

Location:
rpm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rpm/trunk/lib/rpmscript.c

    r1029 r1034  
    164164    int flag;
    165165    int fdno;
    166     int xx;
     166    int xx = 0;
    167167    int open_max;
    168168
  • rpm/trunk/misc/fts.c

    r1029 r1034  
    3333
    3434/* Conditional to set up proper fstat64 implementation */
    35 #if defined(hpux) || defined(sun)
     35#if defined(hpux) || defined(sun) || defined(__OS2__)
    3636#   define FTS_FSTAT64(_fd, _sbp)   fstat((_fd), (_sbp))
    3737#else
     
    6565#   define __errno_location()   (__error())
    6666#endif
    67 #if defined(__KLIBC__)
     67#if defined(__OS2__)
    6868#   define __errno_location()   (&errno)
    6969#   define dirfd(dirp)          -1
    7070#   define stat64               stat
    71 #   define _STAT_VER            0
    72 #   define __fxstat64(_stat_ver, _fd, _sbp)     fstat((_fd), (_sbp))
    7371#endif
    7472
Note: See TracChangeset for help on using the changeset viewer.