cvs commit: src/bin/cp cp.1 cp.c extern.h utils.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Feb 28 15:31:15 PST 2005


On Tuesday, 1. March 2005 00:24, Jonas Trollvik wrote:
> How come the info variable is never inited to 0 ?
> Will it always be 0 on startup ?
> -Jonas

good catch, but yes, static variables are being initialized to binary 0 
(elf bss).

cheers
  simon

-- 
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20050228/46b8a6be/attachment-0022.obj>


More information about the Commits mailing list