Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 262,711 of 264,096    |
|    =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All    |
|    Re: FreeTDS port to VMS V9.x on x86?    |
|    23 Jun 25 22:20:10    |
      From: arne@vajhoej.dk              On 6/23/2025 10:16 PM, Arne Vajhøj wrote:       > On 6/23/2025 9:49 PM, Craig A. Berry wrote:       >> This one looks pretty simple and depends only on vsnprintf, which has       >> been in VMS since 7.3-2, so it was probably in some ancient standard,       >> though I haven't looked yet:       >>       >> https://github.com/jkaivo/asprintf/blob/asprintf/asprintf.h       >>       >> It's MIT which I think can be included in a GPL project like FreeTDS. I       >> will try to remember to look at this when I get some other things sorted       >> out.       >       > It could definitely be used.       >       > But why not just steal the trick from it instead of the whole code?       >       > The trick they use is va_copy.       >       > I think tds_vasprintf could use va_copy to solve the problem as well!              But question is of course for both solutions: do we have a problem       with va_copy missing on older systems?              It should be added to the standard in C99.              Arne              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca