DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 1 Mar 2005 00:30:28 +0100

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
Description: PGP signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]