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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no 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.190.104 with SMTP id gp8mr6404801pbc.4.1338968440814; Wed, 06 Jun 2012 00:40:40 -0700 (PDT) Path: l9ni11926pbj.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Hint for users of AdaDep (-m, -o, -r and -w options) Date: Wed, 06 Jun 2012 09:39:46 +0200 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Date: Wed, 6 Jun 2012 07:39:44 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="15545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zpc9XoHXIzDioCz33gXeS" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: Cancel-Lock: sha1:OjFY3c5XM8vKz3KUUKO3qN7RNN8= X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-06-06T09:39:46+02:00 List-Id: Le 05/06/2012 08:42, Yannick Duchêne (Hibou57) a écrit : > Le Tue, 05 Jun 2012 08:33:54 +0200, Yannick Duchêne (Hibou57) > a écrit: > >> Hi happy AdaDep users, >> >> Don't know if this was already noticed somewhere, but I've just >> noticed some care must be taken when one use the “-w“ option in a >> specific circumstance: this option direct the adadep command to >> overwrite the output file specified by the “-o ” 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 adadep ;-) ). > I think I overlooked this issue. This is not the goal of the -m option. The intended behaviour is that without -m you get a listing for each unit, and with -m all the listings are merged. I noticed also that -m is poorly documented... I'll try to find the time to fix that (possibly in the plane between Paris and Stockholm!) -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr