The Samba-Bugzilla – Attachment 5791 Details for
Bug 7512
Make --skip-compress case insensitive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make --skip-compress suffixes case insensitive
patch-token.c (text/plain), 647 bytes, created by
dennylin93
on 2010-06-14 06:29:24 UTC
(
hide
)
Description:
Make --skip-compress suffixes case insensitive
Filename:
MIME Type:
Creator:
dennylin93
Created:
2010-06-14 06:29:24 UTC
Size:
647 bytes
patch
obsolete
>From 90241136bc7b3c2d28c6db12992d6fe82d7f059a Mon Sep 17 00:00:00 2001 >From: Denny Lin <dennylin93@hs.ntnu.edu.tw> >Date: Mon, 14 Jun 2010 12:30:17 +0800 >Subject: [PATCH] Convert file suffixes to lowercase. This prevents files such as *.JPG > from being compressed. > >--- > token.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/token.c b/token.c >index abc0ef5..75d2b17 100644 >--- a/token.c >+++ b/token.c >@@ -192,6 +192,8 @@ void set_compression(const char *fname) > return; > > while (1) { >+ if (isUpper(<r)) >+ ltr = toLower(<r); > while (node->letter != ltr) { > if (node->letter > ltr) > return; >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7512
: 5791