Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/blkid/save.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 95  int blkid_flush_cache(blkid_cache cache) Line 95  int blkid_flush_cache(blkid_cache cache)
95   sprintf(tmp, "%s-XXXXXX", filename);   sprintf(tmp, "%s-XXXXXX", filename);
96   fd = mkstemp(tmp);   fd = mkstemp(tmp);
97   if (fd >= 0) {   if (fd >= 0) {
98   file = fdopen(fd, "w");   file = xfdopen_for_write(fd);
99   opened = tmp;   opened = tmp;
100   }   }
101   fchmod(fd, 0644);   fchmod(fd, 0644);

Legend:
Removed from v.983  
changed lines
  Added in v.984