[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gnubatch] Arbitrary name length limits?

From: John Collins (Xi Software Ltd)
Subject: Re: [help-gnubatch] Arbitrary name length limits?
Date: Tue, 24 Jan 2012 16:11:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 24/01/12 15:35, Wechsler, Steven wrote:

From: John Collins (Xi Software Ltd)


On 24/01/12 14:01, Wechsler, Steven wrote:

From: John Collins (Xi Software Ltd)

On 24/01/12 13:23, Wechsler, Steven wrote:


Regarding increasing the number of characters in a variable name, it appears that all I need to do is change the value of BTV_NAME in btvar.h and then recompile. Is that correct?

Yes but make it 1 less than a multiple of 4 or you may get funny things happening if you network between different platforms.

Are you planning on a new release soon, or should I go ahead with that change?

I'm just working on some new stuff - it'll be a few weeks yet as I've got a whole lot of extra stuff for Windows clients to go in so please change it in your version.

Is it safe to make a similar change to HOSTNSIZE?


Yes but don't worry about the multiple of 4 - 1 bit in that case. Or make it 30 like I've just changed it to.

If you want to be consistent with what I'm working with in as many places as you can change BTV_NAME to 63.

Tried compiling with HOSTNSIZE = 30, but I got flakey results:

Had to press Control-D in order to get gbch-hostedit to start (after running from command line)
                gbch-hostedit did not see existing entries in gnubatch.hosts file
                Any changes made in gbch-hostedit did not get saved to gnubatch.hosts file.

Actually that behaviour is correct.

You need to run it with option -I (edit in place) and with the required file which is usually gnubatch.hosts but doesn't have to be.

If you just run it "bare" it will take input from standard input (so you have to ctrl-D it) and spew to standard output.

The gbch-hostedit program doesn't look at the values in defaults.h it does its own thing.

John Collins address@hidden Xi Software Ltd

Phone: +44 (0)1707 886110 Home Phone: +44 (0)1707 883174
Mobile: +44 (0)7958 387247 (address@hidden)

Trading Address 3 Mandeville Rise, Welwyn Garden City, Herts, AL8 7JT, UK

Registered in England Company Number 01977148 VAT GB 403 9239 64 R/O: 2 Mill Road, Haverhill, Suffolk, CB9 8BD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]