develooper Front page | perl.perl5.porters | Postings from October 2005

[PATCH embed.fnc] warning for io_close

Thread Next
From:
Robin Barker
Date:
October 6, 2005 01:54
Subject:
[PATCH embed.fnc] warning for io_close
Message ID:
533D273D4014D411AB1D00062938C4D90849C807@hotel.npl.co.uk
Perl_io_close is used twice in perl source: once the return value is used, once it is ignored.

Currently there is a warning when the return value is not used, which seems "inappropriate" (wrong).

The attached patch does

-pR	|bool	|io_close	|NN IO* io|bool not_implicit
+p	|bool	|io_close	|NN IO* io|bool not_implicit

Robin



-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About