Re: [Openvpn-devel] Wrong FILETYPE in .rc files

2019-07-26 Thread Lev Stipakov
Hi,


> This might be something with your mailer at openvpn... Antonio complained
> about a well-formed patch yesterday, now you complain while I can apply
> the patch just fine...
>

I am sorry, I downloaded patch as mbox from patchwork (
https://patchwork.openvpn.net/patch/773/mbox/)
and tried "git am" on Windows and WSL. Other patches are applied just fine.
Looks like we might need to look into patchwork.

This would be a separate patch, I'd say - the patch here is actually
> changing numbers, while your suggestion would be more of a cleanup
> thing, not actually changing the result.
>

Well so far we were consistent by using numbers, albeit wrong ones.
After this patch we will have a mix of numbers and strings. But I agree,
that can be fixed later.

$ git am /tmp/mail.eml
> warning: Patch sent with format=flowed; space at the end of lines might be
> lost.
> Applying: Wrong FILETYPE in .rc files
>
> So - since I can apply the patch just fine, is the change itself ACKed?
>

Yep, if you can apply it I am fine with that.

Acked-By: Lev Stipakov 

-- 
-Lev
___
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel


Re: [Openvpn-devel] Wrong FILETYPE in .rc files

2019-07-25 Thread Gert Doering
Hi,

On Thu, Jul 25, 2019 at 10:44:48AM +0300, Lev Stipakov wrote:
> 1. Please fix your patch, I cannot apply it:

This might be something with your mailer at openvpn... Antonio complained
about a well-formed patch yesterday, now you complain while I can apply
the patch just fine...

$ git am /tmp/mail.eml
warning: Patch sent with format=flowed; space at the end of lines might be lost.
Applying: Wrong FILETYPE in .rc files

So - since I can apply the patch just fine, is the change itself ACKed?

> 3. Since you patch .rc files, could you replace rest of numeric values with
> strings, like
> 
> FILEOS VOS_NT_WINDOWS32 instead of FILEOS 0x40004L

This would be a separate patch, I'd say - the patch here is actually
changing numbers, while your suggestion would be more of a cleanup
thing, not actually changing the result.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
 Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany g...@greenie.muc.de


signature.asc
Description: PGP signature
___
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel


Re: [Openvpn-devel] Wrong FILETYPE in .rc files

2019-07-25 Thread Lev Stipakov
Hi Gisle,

1. Please fix your patch, I cannot apply it:

c:\Users\lev\Projects\openvpn>git am
Openvpn-devel-Wrong-FILETYPE-in-.rc-files.patch
error: patch failed: src/openvpn/openvpn_win32_resources.rc:19
error: src/openvpn/openvpn_win32_resources.rc: patch does not apply
error: patch failed: src/openvpnserv/openvpnserv_resources.rc:19
error: src/openvpnserv/openvpnserv_resources.rc: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: Wrong FILETYPE in .rc files
Patch failed at 0001 Wrong FILETYPE in .rc files
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Use git-send-email for sending patches.

2. Add "Signed-off-by" line to commit message (use git commit -s).

3. Since you patch .rc files, could you replace rest of numeric values with
strings, like

FILEOS VOS_NT_WINDOWS32 instead of FILEOS 0x40004L

-- 
-Lev
___
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel