From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4ccd8a054452682f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.68.219.170 with SMTP id pp10mr12811472pbc.1.1338878621776; Mon, 04 Jun 2012 23:43:41 -0700 (PDT) Path: l9ni4626pbj.0!nntp.google.com!news1.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!news.ecp.fr!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Hint for users of AdaDep (-m, -o, -r and -w options) Date: Tue, 05 Jun 2012 08:42:33 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: WQfakSWzZABjtC6G8HmXug.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.00 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-06-05T08:42:33+02:00 List-Id: Le Tue, 05 Jun 2012 08:33:54 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > Hi happy AdaDep users, > > Don't know if this was already noticed somewhere, but I've just notice= d = > some care must be taken when one use the =E2=80=9C-w=E2=80=9C option i= n a specific = > circumstance: this option direct the adadep command to overwrite the = > output file specified by the =E2=80=9C-o =E2=80=9D option. If yo= u do so *with* the = > =E2=80=9C-r=E2=80=9D option *without* the =E2=80=9C-m=E2=80=9D 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 =E2=80=9C-m=E2=80=9D option i= s specified, this = > undesired behavior is not exposed. > > Conclusion: if you use the options =E2=80=9C-o=E2=80=9D =E2=80=9C-r=E2= =80=9D and =E2=80=9C-w=E2=80=9D all together, = > always serve it with an =E2=80=9C-m=E2=80=9D option (this will also pr= event you from = > erroneously suspecting a bug in adadep ;-) ). Oh, shit! I wanted to say AdaDep (sorry for the wrong thread's title). I= n = the above, replace all adactl occurrences, by adadep (that's me, which i= s = buggy). Fixed in the quote. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity