Re: I found why there's no BLK_START_OF_TAPE or BLK_START_OF_BACKUP headers in the tape stream

Bruno Cornec <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
David C. Partridge said on Wed, Dec 21, 2016 at 07:50:29PM +0000:
>PPS lots of places I see code like
>	for (i = 0; i < (int) TAPE_BLOCK_SIZE; i++) {
>		tempblock[i] = 0;
>	}
>I'm curious what you have against memset()?

Myself, nothing ;-) Maybe Hugo Rabson had (he is the one who code that initially)
Myself, I even tend to create mr_* functions to encapsulate system calls to be more portable and to manage better this type of stuff.
But for now, I'm working mainly on suppressing all static allocation on th C code, and I've done that as time permits since 10 years now but there is still work to do.
And of course, fixing issues with new distros to support.

Bruno.
-- 
Open Source Profession, WW Linux Community Lead     http://www.hpintelco.net
HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.