Home
last modified time | relevance | path

Searched refs:b_buffer (Results 1 – 2 of 2) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c2947 static char *b_buffer = NULL; in getbase() local
2951 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 …]
/external/squashfs-tools/
DCHANGES44 - mksquashfs: dynamically allocate b_buffer in getbase()