git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bb865b4
)
pidl: don't expect to have quote when creating import headers
author
Matthieu Patou
<mat@matws.net>
Tue, 2 Aug 2011 07:50:32 +0000
(11:50 +0400)
committer
Matthieu Patou
<mat@matws.net>
Fri, 5 Aug 2011 21:33:06 +0000
(
01:33
+0400)
Currently the $_ didn't contains the quote anymore, in order to avoid
any further regression the cleanup of quote is done before so that if
$_ still have quotes we clean them in anycase.
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 64b8dcf18cc6e3be45c2418c3fd39e4edce1f971..83fc3cd3bf7b73a38421b1992dd7c36c5ed93faf 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@
-770,8
+770,8
@@
sub ProcessImport
my @imports = @_;
foreach (@imports) {
next if($_ eq "security");
- s/\.idl\"$//;
s/^\"//;
+ s/\.idl"?$//;
$self->pidl_hdr("#include \"packet-dcerpc-$_\.h\"");
}
$self->pidl_hdr("");