equal
deleted
inserted
replaced
392 // later becomes the expected value. |
392 // later becomes the expected value. |
393 // |
393 // |
394 if (statbuf.st_ctime > latest_ctime) { |
394 if (statbuf.st_ctime > latest_ctime) { |
395 char* user = strchr(dentry->d_name, '_') + 1; |
395 char* user = strchr(dentry->d_name, '_') + 1; |
396 |
396 |
397 if (latest_user != NULL) FREE_C_HEAP_ARRAY(char, latest_user); |
397 FREE_C_HEAP_ARRAY(char, latest_user); |
398 latest_user = NEW_C_HEAP_ARRAY(char, strlen(user)+1, mtInternal); |
398 latest_user = NEW_C_HEAP_ARRAY(char, strlen(user)+1, mtInternal); |
399 |
399 |
400 strcpy(latest_user, user); |
400 strcpy(latest_user, user); |
401 latest_ctime = statbuf.st_ctime; |
401 latest_ctime = statbuf.st_ctime; |
402 } |
402 } |