[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#120152: Patch: sdiff support



On Sat, Nov 15, 2003 at 07:05:04PM +0200, Jarno Elonen wrote:
>  * Enclosed file names with quotes in command string (Closes #147583)

Umm...

@@ -450,7 +450,7 @@
                if (!p || !*p)
                        p=DEFAULTPAGER;

-               sprintf(cmdbuf, DIFF " -Nu %.250s %.250s | %.250s", old, new, p);
+               sprintf(cmdbuf, DIFF " -N \"%.250s\" \"%.250s\" | %.250s", old, new, p);

                s=getenv(SHELLENV);
                if (!s || !*s)

It would help if you were more carefully reading your patch...

-- 
     2. That which causes joy or happiness.



Reply to: