kernel/debug: Allow quotations to pass through early safemode settings.
The guarded heap override logic wants to see them at least. Change-Id: I89c5c7a7b03e52f4bc42d71cba66775c213256e9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10597 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
2b3a46cc1b
commit
d22a7a3355
@@ -105,6 +105,13 @@ get_option_from_kernel_args(kernel_args* args, const char* settingsName,
|
||||
valueStart = settings;
|
||||
elementEnd = &valueEnd;
|
||||
}
|
||||
|
||||
if (*settings == '"' || *settings == '\'') {
|
||||
// Just take everything until the end of the line, and let
|
||||
// the caller deal with the quotations.
|
||||
settings = lineEnd;
|
||||
sawSeparator = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user