Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] VMS build update

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Craig A. Berry" <craigberry AT mac.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [PATCH] VMS build update
  • Date: Tue, 15 Oct 2013 19:21:42 -0500


On Oct 15, 2013, at 3:07 PM, Frediano Ziglio <freddy77 AT gmail.com> wrote:

> 2013/10/15 Craig A. Berry <craigberry AT mac.com>:
>>

>> 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:craigberry AT mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser





Archive powered by MHonArc 2.6.24.

Top of Page