Re: [PATCH] VMS build update
"Craig A. Berry" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
On Oct 15, 2013, at 3:07 PM, Frediano Ziglio <[email protected]> wrote: > 2013/10/15 Craig A. Berry <[email protected]>: >> >> I've documented what goes wrong with a simple reproducer at <https://sourceforge.net/p/vms-ports/tickets/72/>. Not sure what to do yet as a workaround. I guess we could skip the above if it's purely an optimization. Or I could try to implement my own ungetc by fiddling with the pointers in the stdio struct. >> > > 412737? Where this value came from? Random data from the stack, most likely. (It's a different value when I run under the debugger and when I don't.) I could speculate about what they did wrong, but it doesn't matter -- they did something wrong. > Can you try the attached patch? It worked for me (or at least it > didn't break anything). > > Frediano > <0001-Detect-end-of-file-not-using-ungetc.patch>_______________________________________________ Bravo! All tests pass. ________________________________________ Craig A. Berry mailto:[email protected] "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser