comp.lang.ada
 help / color / mirror / Atom feed
* Hint for users of AdaControl (-m, -o, -r and -w options)
@ 2012-06-05  6:33 Yannick Duchêne (Hibou57)
  2012-06-05  6:42 ` Hint for users of AdaDep " Yannick Duchêne (Hibou57)
  0 siblings, 1 reply; 3+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2012-06-05  6:33 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-06  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05  6:33 Hint for users of AdaControl (-m, -o, -r and -w options) Yannick Duchêne (Hibou57)
2012-06-05  6:42 ` Hint for users of AdaDep " Yannick Duchêne (Hibou57)
2012-06-06  7:39   ` J-P. Rosen

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