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

[PATCH embed.fnc] warning for io_close

Thread Next
Robin Barker
October 6, 2005 01:54
[PATCH embed.fnc] warning for io_close
Message ID:
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


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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About