r5223: Rename dom_sid2 to dom_sid as we don't care about the difference
authorTim Potter <tpot@samba.org>
Fri, 4 Feb 2005 06:28:50 +0000 (06:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:33 +0000 (13:09 -0500)
for the swig wrappers.
(This used to be commit edb32b9b5175f720bce110bf2bb4cf136ed47142)

source4/build/pidl/swig.pm

index 68d67b4879ad943fbb91cace0217aafedb8a2664..2b8daf40ffe579e92b918d26dd8ed094c105c245 100644 (file)
@@ -704,6 +704,11 @@ sub RewriteHeader($$$)
    
     while(<IN>) {
 
+       # Rename dom_sid2 to dom_sid as we don't care about the difference
+       # for the swig wrappers.
+
+       s/dom_sid2/dom_sid/g;
+
        # Copy structure definitions
 
        if (/^struct .*? {$/ .. /^\};$/) {
@@ -742,5 +747,4 @@ sub RewriteC($$$)
     close(OUT);   
 }
 
-
 1;