On Thu, Mar 12, 2015 at 9:23 PM, Ryan Schulze <[email protected]> wrote:
> diff -BurN wmi-1.3.14/Samba/source/pidl/idl.yp
> wmi-1.3.14/Samba/source/pidl/idl.yp
> --- wmi-1.3.14.unpatched/Samba/source/pidl/idl.yp    2008-07-30
> 21:44:55.000000000 +0200
> +++ wmi-1.3.14.patched/Samba/source/pidl/idl.yp    2014-08-12
> 21:51:22.594113995 +0200
> @@ -483,7 +483,7 @@
>
>      for ($parser->YYData->{INPUT}) {
>          if (/^\#/) {
> -            if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
> +            if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
>                  $parser->YYData->{LINE} = $1-1;
>                  $parser->YYData->{INPUT_FILENAME} = $2;
>                  goto again;
> diff -BurN wmi-1.3.14/Samba/source/pidl/lib/Parse/Pidl/IDL.pm
> wmi-1.3.14/Samba/source/pidl/lib/Parse/Pidl/IDL.pm
> --- wmi-1.3.14.unpatched/Samba/source/pidl/lib/Parse/Pidl/IDL.pm 2008-07-30
> 21:44:55.000000000 +0200
> +++ wmi-1.3.14.patched/Samba/source/pidl/lib/Parse/Pidl/IDL.pm 2014-08-12
> 21:53:11.670119274 +0200
> @@ -3169,7 +3169,7 @@
>
>      for ($parser->YYData->{INPUT}) {
>          if (/^\#/) {
> -            if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
> +            if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
>                  $parser->YYData->{LINE} = $1-1;
>                  $parser->YYData->{INPUT_FILENAME} = $2;
>                  goto again;


Ryan,
  Thank you very much for the patch! I saved it as
openvas-wmi-1.3.14.patch6 and tried to apply it. Here are the results
I got.

[root@localhost wmi-1.3.14]# patch -p1 < openvas-wmi-1.3.14.patch6
patching file Samba/source/pidl/idl.yp
Hunk #1 FAILED at 483.
1 out of 1 hunk FAILED -- saving rejects to file Samba/source/pidl/idl.yp.rej
patching file Samba/source/pidl/lib/Parse/Pidl/IDL.pm
Hunk #1 FAILED at 3169.
1 out of 1 hunk FAILED -- saving rejects to file
Samba/source/pidl/lib/Parse/Pidl/IDL.pm.rej

I'm not sure what I'm doing wrong.

--
W. Scott Lockwood III
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to