Am 24.02.2007 um 21:15 schrieb A.J.Mechelynck:

BTW (in case you submit more patches in the future), the preferred format for a patch is a context diff, as produced by "diff -c", so that it is understandable to both humans and the "patch" program.


Thanks for the introduction how things work within vim-dev, I now read ":help develop". So here is the patch in 'diff -c' notation.

Regards,
Basti

*** fileio.c    Sun Feb 25 16:16:34 2007
--- fileio_original.c   Sun Feb 25 16:16:12 2007
***************
*** 9365,9371 ****
                     * "\?" to "\\."  e.g., "dir\??.c"
                     * "\+" to "\+"   e.g., "fileX\+.c"
                     */
! if ((vim_isfilec(p[1]) || p[1] == '*' || p[1] == '?' || p[1] == '(' )
                            && p[1] != '+')
                    {
                        reg_pat[i++] = '[';
--- 9365,9371 ----
                     * "\?" to "\\."  e.g., "dir\??.c"
                     * "\+" to "\+"   e.g., "fileX\+.c"
                     */
! if ((vim_isfilec(p[1]) || p[1] == '*' || p[1] == '?')
                            && p[1] != '+')
                    {
                        reg_pat[i++] = '[';

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to