Skip to contentSkip to conversation

cbootimage: allow working with paths that contain '@'

PATCH Applied Patrick Georgi 2 participants 2 messages Mar 12, 2016 – Mar 14, 2016 1 message not in the archive Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cbootimage: allow working with paths that contain '@'

---
 src/parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/parse.c +1 -1
index 6f37dad..39d746c 100644
@@ -249,7 +249,7 @@ parse_filename(char *str, char *name, int chars_remaining)
 	 * Check if the filename buffer is out of space, preserving one
 	 * character to null terminate the string.
 	 */
-	while (isalnum(*str) || strchr("\\/~_-+:.", *str)) {
+	while (isalnum(*str) || strchr("\\/~_-+:.@", *str)) {
 
 		chars_remaining--;
 
Signature · 1 line
2.6.2

A message that is not in the archive (sent off-list or not yet received): 1457781529-20302-1-git-send-email-patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org