Fix :scalar layer to allow it to exist under other layers.
authorNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 17 Jul 2002 06:33:58 +0000 (06:33 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 17 Jul 2002 06:33:58 +0000 (06:33 +0000)
commit14d89041d8ff788f94621c8fcb0918e3be8f01f0
treec8bb355edf88bceb657b5d1f4fb79486d1131280
parentb2e048cb60f0b05b8dbbf6d77b5c8c080db24e8c
Fix :scalar layer to allow it to exist under other layers.
Actual fix is just the if (!f) test before calling
PerlIO_allocate(). Rest of change is conforming to
standard indent.

p4raw-id: //depot/perlio@17587
ext/PerlIO/scalar/scalar.xs