Merge \\\"Fix root_filesystem_config.txt generation\\\" am: 461a3283d9 am: f464d8e7d4

am: 32aba08598

Change-Id: Ic2a6ea0ced46acabcb2d0410ba0925fbe8075d21
This commit is contained in:
Gaelle Nassiet 2016-07-13 23:20:41 +00:00 committed by android-build-merger
commit 5738984509
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ int main(int argc, char** argv) {
switch (buffer[i]) {
case '\n':
buffer[i-is_dir] = '\0';
if (i == 0) {
is_dir = 1; // empty line is considered as root directory
}
i = 1025;
break;
case '/':