[pan2] improve speed of uudecode
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] improve speed of uudecode
- Date: Sat, 2 Feb 2013 20:58:25 +0000 (UTC)
commit 5133e2306edc9a3496fe603f07002b4444b478bc
Author: Heinrich MÃller <henmull src gnome org>
Date: Sat Feb 2 20:50:17 2013 +0100
improve speed of uudecode
uulib/uunconc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/uulib/uunconc.c b/uulib/uunconc.c
index fc2b6c6..be4f428 100644
--- a/uulib/uunconc.c
+++ b/uulib/uunconc.c
@@ -304,6 +304,9 @@ UUValidData (char *ptr, int encoding, int *bhflag)
return 0; /* bad string */
}
+ if (encoding == YENC_ENCODED)
+ return YENC_ENCODED;
+
while (*s && *s!='\012' && *s!='\015') {
s++;
len++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]