[krbdev.mit.edu #6292] KerberosLibraries: strings_syntactically_broken_strings

Zhanna Tsitkova via RT rt-comment at krbdev.mit.edu
Thu Dec 4 14:00:15 EST 2008


diff -Nur -x '*~' -x '*.orig' -x '*.rej' -x '*.pbxbtree' -x '*.pbxindex' -x lha.mode1v3 -x lha.mode2v3 -x lha.pbxuser -x windows -x .DS_Store Kerberos.AEP-6.5fc1.orig/KerberosFramework/KerberosErrors/Scripts/compile_et Kerberos.AEP-6.5fc1/KerberosFramework/KerberosErrors/Scripts/compile_et
--- Kerberos.AEP-6.5fc1.orig/KerberosFramework/KerberosErrors/Scripts/compile_et	2008-11-07 11:24:28.000000000 -0800
+++ Kerberos.AEP-6.5fc1/KerberosFramework/KerberosErrors/Scripts/compile_et	2008-11-09 17:38:18.000000000 -0800
@@ -204,8 +204,7 @@
     my $errorCode = $errorCodes[$i];
     if ($errorCode eq "error_code" || $errorCode eq "ec") {
         my $arguments = $errorCodes[$i+1];
-        $arguments =~ s/\s*\\\s*\n\s*/ /g;  # get rid of newlines preceded by backslash
-        $arguments =~ s/\s*\n\s*/ /g;  # get rid of newlines
+        $arguments =~ s/\s*\\?\s*\n\s*/ /g;  # get rid of newlines
         if ($arguments =~ /^\s*(\w+)\s*,\s*"([^"]*)"\s*$/) {
             my $errorNameString = $1;
             my $messageString = $2;




More information about the krb5-bugs mailing list