summaryrefslogtreecommitdiff
path: root/lib/libwrap/expandm.c
AgeCommit message (Expand)Author
2019-01-24remove the new check for tlen >= PTRDIFF_MAX. the priormrg
2019-01-23And as long as we're attempting to achieve perfection in codekre
2019-01-23There's no point setting errno, it is just overwritten by errkre
2019-01-23limit allocation to PTRDIFF_T to appease gcc-7, from mrg@christos
2019-01-14Whitespace (indent with tabs, rather than spaces), and rearrange onekre
2019-01-13Always return from expandm() with errno unaltered, so on thekre
2019-01-13check for *. integer overflow over ptrdiff. Pointed out by kre@christos
2019-01-12Make expandm() return a const char * so we can do away with __UNCONST()kre
2019-01-12Don't do %%m -> %%%m escaping, requested by gson@.christos
2019-01-12Return the buffer that has not been freed, so it can be later,kre
2019-01-12Provide an extra argument to store the returned pointer so we can usechristos
2019-01-11Use a utility function to expand %m correctly...christos