Changeset 37547
- Timestamp:
- Nov 2, 2014, 3:37:43 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/libohana/src
- Files:
-
- 2 edited
-
glockfile.c (modified) (2 diffs)
-
ohana_allocate.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/libohana/src/glockfile.c
r35754 r37547 288 288 289 289 /* set value to IDLE */ 290 fseeko (flock, 0LL, SEEK_SET); 290 if (fseeko (flock, 0LL, SEEK_SET)) { 291 *state = LCK_HARDCLOSE; 292 goto failure; 293 } 294 291 295 nbytes = fprintf (flock, "IDLE\n"); 292 296 if (nbytes != 5) { … … 303 307 304 308 /* now unlock the file */ 305 fclose (f); 309 if (fclose (f)) { 310 *state = LCK_UNKNOWN; 311 goto failure; 312 } 306 313 307 314 *state = LCK_UNLOCK; -
branches/eam_branches/ipp-20140904/Ohana/src/libohana/src/ohana_allocate.c
r32632 r37547 177 177 178 178 if (!in) return; 179 180 // fprintf (stderr, "free %zx\n", (size_t) in); 179 181 180 182 ref = (Memblock *) in - 1;
Note:
See TracChangeset
for help on using the changeset viewer.
