Home
last modified time | relevance | path

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

/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c2879 static char *b_buffer = NULL; in getbase() local
2883 if(b_buffer == NULL) { in getbase()
2884 b_buffer = malloc(b_size); in getbase()
2885 if(b_buffer == NULL) in getbase()
2891 result = getcwd(b_buffer, b_size); in getbase()
2897 b_size - strlen(b_buffer)) { in getbase()
2898 strcat(strcat(b_buffer, "/"), pathname); in getbase()
2902 strcpy(b_buffer, pathname); in getbase()
2907 b_buffer = realloc(b_buffer, b_size += BUFF_SIZE); in getbase()
2908 if(b_buffer == NULL) in getbase()
[all …]
/external/squashfs-tools/
DCHANGES44 - mksquashfs: dynamically allocate b_buffer in getbase()