Re: Simple question (breaking the silence again)
"Linda W. (that's swishey, not squishey!)" <[email protected]>
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
I think I mush have the wrong source tree. I have version 2.4.3 loaded and patching against that, I get: swish> patch -p0 --dry-run <swishe-cygwin.patch (Stripping trailing CRs from patch.) patching file swish-e/src/bash.h Hunk #1 succeeded at 4 (offset -28 lines). (Stripping trailing CRs from patch.) patching file swish-e/src/db_native.c Hunk #1 FAILED at 655. Hunk #2 FAILED at 673. 2 out of 2 hunks FAILED -- saving rejects to file swish-e/src/db_native.c.rej (Stripping trailing CRs from patch.) patching file swish-e/src/extprog.c Hunk #1 succeeded at 143 (offset -9 lines). (Stripping trailing CRs from patch.) patching file swish-e/src/file.c Hunk #1 FAILED at 85. Hunk #2 succeeded at 91 (offset -10 lines). Hunk #3 succeeded at 148 (offset -10 lines). 1 out of 3 hunks FAILED -- saving rejects to file swish-e/src/file.c.rej (Stripping trailing CRs from patch.) patching file swish-e/src/file.h Hunk #1 succeeded at 21 (offset -13 lines). (Stripping trailing CRs from patch.) patching file swish-e/src/filter.c Hunk #1 succeeded at 330 (offset -11 lines). Hunk #2 succeeded at 424 (offset -11 lines). Hunk #3 succeeded at 447 (offset -11 lines). (Stripping trailing CRs from patch.) patching file swish-e/src/worddata.c Hunk #1 succeeded at 637 (offset -146 lines). Should I be pointing at something more recent? David L Norris wrote: > On Thu, 2006-06-08 at 16:42 -0700, Linda W. (that's swishey, not > squishey!) wrote: >> Cygwin -- compiles fine...looks like it is assigned in the Win32 >> basket and the program is mangling the forward slashes to back >> slashes, which don't work under a posix/*nix environment (hacking >> source and remaking...)... > > I suspected that may have been an issue. Cygwin isn't well supported, > obviously. The problem is that _WIN32 is being defined by something > (toolchain? autoconf?). I'm not really sure why _WIN32 gets defined > when building with Cygwin. I don't think Cygwin implements any of the > Win32 API. So that doesn't seem like it could ever work. > > I don't really have any easy way to test with Cygwin myself. But if you > need Cygwin I've attached an experimental patch. Please let me know if > you use it and whether it works. > >>From the directory above the swish-e source code directory: > patch -p0 < swishe-cygwin.patch > > > (If anyone else wants to try the patch let me know and I'll email it > directly. I'm sure the list will mangle it assuming the email doesn't > bounce outright.)