.unicode_cache_XXXXXXX.dat file generation

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
prateekgogia
Posts: 4
Joined: Thu Mar 31, 2016 5:24 pm

.unicode_cache_XXXXXXX.dat file generation

Post by prateekgogia » Thu Mar 31, 2016 5:28 pm

Hi

I am using VPN bridge and every time I start the bridge, it creates a .unicode_cache_XXXXXXX.dat file in /tmp/ folder. I want to understand the use for this file and is there a way to cache it in some other location ??

Thanks
Prateek

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: .unicode_cache_XXXXXXX.dat file generation

Post by thisjun » Wed Apr 20, 2016 8:02 am

The file is cache of machine internal representation of string resource of UTF-8.
If you want to change place, please change TMP environment variable.

prateekgogia
Posts: 4
Joined: Thu Mar 31, 2016 5:24 pm

Re: .unicode_cache_XXXXXXX.dat file generation

Post by prateekgogia » Wed May 18, 2016 6:35 pm

Thanks for help. Sorry, for late reply.

prateekgogia
Posts: 4
Joined: Thu Mar 31, 2016 5:24 pm

Re: .unicode_cache_XXXXXXX.dat file generation

Post by prateekgogia » Thu May 19, 2016 12:56 am

Hi

I tried the fix you suggested, but the .unicode file still gets created in the /tmp/ folder. Here are the changes I tried:

#echo $tmp
/var/log/test

#echo $TMP
/var/log/test

This is the version of SoftEther :

SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.18 Build 9570 (English)
Compiled 2015/07/26 15:19:27 by yagi at pc30
Copyright (c) SoftEther VPN Project. All Rights Reserved.

Still missing something ?
Thanks
Prateek

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: .unicode_cache_XXXXXXX.dat file generation

Post by thisjun » Fri May 27, 2016 8:30 am

Sorry, cache directory is hard coded.
https://github.com/SoftEtherVPN/SoftEth ... le.c#L1214

Post Reply