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: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2005 11:36:35 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

On Tue, Mar 01, 2005 at 12:30:28AM +0100, Simon 'corecode' Schubert wrote:
> 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).

s/static variables/static and global variables/

Joerg



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