[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-patch] Building patch-2.6.1-2-g2c4e3ec on Windows
From: |
Martin Panter |
Subject: |
[bug-patch] Building patch-2.6.1-2-g2c4e3ec on Windows |
Date: |
Sun, 3 Jan 2010 01:18:16 +0000 |
I've just successfully built the new alpha patch-2.6.1-2-g2c4e3ec for
Windows using mingw and msys. There were only a few minor issues, and
I'm sending two simple patches that fix them:
1. warning.diff: Some missing prototypes in the gnulib strndup/strnlen
stuff, only causing compiler warnings
2. windows.diff: Windows doesn't have a chown function, so I just
disabled the code that calls it.
Also Andreas, are you still interested in my patch-seekable.diff
changes from this email:
http://lists.gnu.org/archive/html/bug-patch/2009-05/msg00004.html
The main reason I did that was to avoid problems seeking in text mode
files, which causes the assertion mentioned here:
http://gnuwin32.sourceforge.net/packages/patch.htm#install
I found there was already code that copies stdin into a temporary file
if it isn't seekable. So I moved the code around to copy to a temp
file even if the original file is not stdin and still isn't seekable.
-Martin
warning.diff.txt
Description: Text document
windows.diff.txt
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-patch] Building patch-2.6.1-2-g2c4e3ec on Windows,
Martin Panter <=