Searched refs:b_buffer (Results 1 – 2 of 2) sorted by relevance
2947 static char *b_buffer = NULL; in getbase() local2951 if(b_buffer == NULL) { in getbase()2952 b_buffer = malloc(b_size); in getbase()2953 if(b_buffer == NULL) in getbase()2959 result = getcwd(b_buffer, b_size); in getbase()2965 b_size - strlen(b_buffer)) { in getbase()2966 strcat(strcat(b_buffer, "/"), pathname); in getbase()2970 strcpy(b_buffer, pathname); in getbase()2975 b_buffer = realloc(b_buffer, b_size += BUFF_SIZE); in getbase()2976 if(b_buffer == NULL) in getbase()[all …]
44 - mksquashfs: dynamically allocate b_buffer in getbase()