Hi,

I don't mind taking a look (I am a programmer) if it's likely to be a simple
change (i.e., I wouldn't need to have a bunch of requisite knowledge about
TexLive and its infrastructure).  Point me in the right direction if it's
going to save you guys some time.

I guess it will be around line 52 in current variable.c, in function kpathsea_var_value, where the value from getenv is taken.

Also, is there a reason why such a fix wouldn't ever make it upstream?  Have
they already seen this and somehow dismissed it due to another reason?

Yes, because it *CAN* be considered a feature!

Did I not also read in the merged bug which 594743 got put into, that tilde
expansion worked just fine in texmf.cnf, whereas $HOME still suffered?

Yes. tilde.c is used for that and it contains already code that handles
a trailing slash in $HOME. But using $HOME by itself is not treated
specifically but as any other variable. And so we would have to make
a copy/call to that code blob that removes trailing /, but *ONLY* for
$HOME, as for other variables it might be used on purpose!!!!

If you want to dive into it, please check out the source code,
or if you want I can send you variable.c, tilde.c, and anything else
you want.

Norbert



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to