comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Hint for users of AdaControl (-m, -o, -r and -w options)
Date: Tue, 05 Jun 2012 08:33:54 +0200
Date: 2012-06-05T08:33:54+02:00	[thread overview]
Message-ID: <op.wfe26sa6ule2fv@douda-yannick> (raw)

Hi happy AdaControl users,

Don't know if this was already noticed somewhere, but I've just noticed  
some care must taken when one use the “-w“ in a specific circumstance:  
this option direct the adactl command to overwrite the output file  
specifies by the “-o <file>” option. If you do so *with* the “-r” option  
*without* the “-m” option, you will a get an output file looking like  
truncated. The output file will be overwritten for each processed units  
spec' and body. When the “-m” option is specified, this undesired behavior  
is not exposed.

Conclusion: if you use the options “-o” “-r” and “-w” all together, always  
serve it with an “-m” option (this will also prevent you from erroneously  
suspecting a bug in adactl ;-) ).


-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University



             reply	other threads:[~2012-06-05  6:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05  6:33 Yannick Duchêne (Hibou57) [this message]
2012-06-05  6:42 ` Hint for users of AdaDep (-m, -o, -r and -w options) Yannick Duchêne (Hibou57)
2012-06-06  7:39   ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox