This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Beware ecosconfig was Re: [Fwd: Beware ConfigTool]


On Tue, 27 Jul 2004, "pb.jack" <pb.jack@powerbase.com.tw> wrote:

I found a strange behave of configtool 2.0...

My guess is it is the underlying ecosconfig tool.


It's really quite cute.

Did you know it rewrites your config file on the fly every time you use it?

I first noticed that it changes the "modified" time stamp every time you run "ecosconfig tree".

Played havoc with my fancy "Makefile". Had to use a md5checksum instead of timestamps to work out when to remake things.

And if it finds things that it doesn't like, did you know it quietly overwrites them?

Caused me to lose a few hairs I tell you.

I thought I would just use Emacs to hack things the way I liked them, and run ecosconfig.

Nothing happened.

No change.

Look in the config file.

Whoops. Gone.

I must be going mad.

Put it in again, run "ecosconfig tree", and whoops! Gone again.

OK, what I was doing was something that configtool was righteously preventing me from doing, but still, it gave me a nasty turn.


John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand

The universe is absolutely plastered with the dashed lines exactly one
space long.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]