Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/ext2fs/ismounted.c

    r1765 r2725  
    6060#ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
    6161            file_rdev = st_buf.st_rdev;
    62 #endif  /* __GNU__ */
     62#endif  /* __GNU__ */
    6363        } else {
    6464            file_dev = st_buf.st_dev;
     
    7474                if (file_rdev && (file_rdev == st_buf.st_rdev))
    7575                    break;
    76 #endif  /* __GNU__ */
     76#endif  /* __GNU__ */
    7777            } else {
    7878                if (file_dev && ((file_dev == st_buf.st_dev) &&
     
    100100            }
    101101        }
    102 #endif  /* __GNU__ */
     102#endif  /* __GNU__ */
    103103        goto errout;
    104104    }
     
    248248        S_ISBLK(st_buf.st_mode))
    249249        file_dev = st_buf.st_rdev;
    250 #endif  /* __GNU__ */
    251 
    252     if (!(f = fopen("/proc/swaps", "r")))
     250#endif  /* __GNU__ */
     251
     252    if (!(f = fopen_for_read("/proc/swaps")))
    253253        return 0;
    254254    /* Skip the first line */
     
    272272            break;
    273273        }
    274 #endif  /* __GNU__ */
     274#endif  /* __GNU__ */
    275275    }
    276276    fclose(f);
Note: See TracChangeset for help on using the changeset viewer.