[Pmwiki-users] Yet another Win32-IIS-diff/patch question.

Nils Knappmeier nk
Tue Feb 24 12:45:14 CST 2004


Bob Dively wrote:

>I have PmWiki up and running on Win32/IIS except for page
>history. And I'm stuck. I have GnuWin32's current diff and
>patch installed in C:\GnuWin32\bin\. In an effort to
>eliminate security from the equation I've given Everyone and
>the IUSR_MACHINENAME accounts Full Control permissions to
>that directory. PHP 4.3.4 is installed and being called
>through CGI by IIS. In my local/config.php file I have:
>
>$SysDiffCmd="C:\\GnuWin32\\bin\\diff.exe";
>$SysPatchCmd="C:\\GnuWin32\\bin\\patch.exe --silent";
>
>Any ideas at all? I've also have the cygwin binaries
>installed and have tried called them from local/config.php,
>also without any luck.
>
>-b
>
>  
>
You could also test my PHP implementation of diff and patch. There's a 
link on

http://www.pmichaud.com/wiki/Development/PHPBasedDiffEngine

The thing with the current version is: It is quite memory hungry. 
However that applies mostly for big pages. I've ran some tests, and it 
was not able to diff a 2500 line page
where 100 lines were deleted without running out of memory.
With pages of only hundred of lines, it worked fine most of the times.

Also, I haven't done a lot of testing to see, whether diff and patch are 
consistent.
In my tests, they worked so far, but you never know.
Now, this is all experimental. If you want to try, I'd be happy to 
assist you.

Same for all the safe mode folks out there!
That brings me to a question I wanted to ask all you PmWiki-users out 
there.
What is the maximum number of lines that you have in one wiki? I just 
want to know,
how efficient the algorithm has to be to give it to people without a bad 
conscience.

Nils




More information about the pmwiki-users mailing list