public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick Georgi <patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: pgeorgi-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
	Patrick Georgi <patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org>
Subject: [PATCH] cbootimage: allow working with paths that contain '@'
Date: Sat, 12 Mar 2016 12:18:49 +0100	[thread overview]
Message-ID: <1457781529-20302-1-git-send-email-patrick@openbios.org> (raw)

Signed-off-by: Patrick Georgi <patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org>
---
 src/parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parse.c b/src/parse.c
index 6f37dad..39d746c 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -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--;
 
-- 
2.6.2

             reply	other threads:[~2016-03-12 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-12 11:18 Patrick Georgi [this message]
     [not found] ` <1457781529-20302-1-git-send-email-patrick-WyKcznhUmzJg9hUCZPvPmw@public.gmane.org>
2016-03-14 16:14   ` [PATCH] cbootimage: allow working with paths that contain '@' Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457781529-20302-1-git-send-email-patrick@openbios.org \
    --to=patrick-wykcznhumzjg9huczpvpmw@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pgeorgi-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox