]> arthur.barton.de Git - netatalk.git/commitdiff
Fix uniconv -d option
authorfranklahm <franklahm>
Tue, 25 Aug 2009 09:38:49 +0000 (09:38 +0000)
committerfranklahm <franklahm>
Tue, 25 Aug 2009 09:38:49 +0000 (09:38 +0000)
NEWS
bin/uniconv/uniconv.c

diff --git a/NEWS b/NEWS
index 49ef3064239481a2e947548f86251eb60d8e701b..945cf229f897d70ff34c51135aa3a3cce319cd7b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Changes in 2.0.5
 * FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
        was set 
 * FIX: afpd: cnid_resolve: don't return '..' as a valid name.
+* FIX: uniconv: -d option wasn't working
 
 Changes in 2.0.4
 ================
index f62f33c0920258b54d5b35234d5833cb1718bb17..f75225b9dc92aa9c697392a16c8986383d90abc5 100644 (file)
@@ -459,7 +459,7 @@ int main(int argc, char *argv[])
         setlinebuf(stdout); 
 #endif        
 
-        while ((c = getopt (argc, argv, "f:m:t:c:nvVh")) != -1)
+        while ((c = getopt (argc, argv, "f:m:t:c:dnvVh")) != -1)
         switch (c)
         {
        case 'f':
@@ -472,7 +472,7 @@ int main(int argc, char *argv[])
                mac_charset = strdup(optarg);
                break;
        case 'd':
-               conv_flags &= !CONV_ESCAPEDOTS;
+               conv_flags &= ~CONV_ESCAPEDOTS;
                usedots = 1;
                break;
        case 'n':