tsugutomo.en...@jp.sony.com said:
Does malloc(3) return zero-initialized memory?
You are right - seems that I confused the macros.
So it might make sense to pull this up. I'll ask for testers.
best regards
Matthias
-wrong initialization reported in a followup to PR bin/43336
(looks harmless because it applies to zero-initialized memory, so
LIST_INIT() is a no-op)
Does malloc(3) return zero-initialized memory?
Not unless you asked for it with M_ZERO.
Note it's malloc(3) inside !_KERNEL block
On 6 Sep 2010, at 23:35, Christos Zoulas wrote:
Should we make perror() produce a warning so people will stop using it?
No, as it is not a NetBSD specific API.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
In article 5217ce1f-57c2-40bc-9281-50f90bba0...@zhadum.org.uk,
Matthias Scheler t...@zhadum.org.uk wrote:
On 6 Sep 2010, at 23:35, Christos Zoulas wrote:
Should we make perror() produce a warning so people will stop using it?
No, as it is not a NetBSD specific API.
Neither is gets()
christos
On Tue, Aug 31, 2010 at 09:57:27PM +0200, Joerg Sonnenberger wrote:
/*
* Alpha ELF uses different (non-standard) definitions of Elf64_Sword
* and Elf64_Word.
*/
typedef int64_t Elf64_Sword;
#define ELF64_FSZ_SWORD 8
typedef uint64_tElf64_Word;
#define
On Mon, Sep 06, 2010 at 03:54:27PM +, Jared D. McNeill wrote:
Log Message:
Add support for blacklisting ACPI BIOS implementations by year. By default,
don't use ACPI on BIOS which advertise release years = 2000. This
can be changed by setting option ACPI_BLACKLIST_YEAR=0 or by setting
Module Name:src
Committed By: skrll
Date: Sat Sep 11 11:11:53 UTC 2010
Modified Files:
src/libexec/ld.elf_so: map_object.c
Log Message:
Wrap long line.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/libexec/ld.elf_so/map_object.c
Please note that
Module Name:src
Committed By: tsutsui
Date: Sat Sep 11 12:43:54 UTC 2010
Modified Files:
src/sys/arch/i386/stand/boot: Makefile.boot
Log Message:
Enable SUPPORT_EXT2FS. Tested on i386 that has root on ext2fs
with 128 byte and 256 byte inode sizes on QEMU.
Note for
Module Name:src
Committed By: tsutsui
Date: Sat Sep 11 13:06:37 UTC 2010
Modified Files:
src/distrib/sets/lists/base: md.amd64 md.i386
src/sys/arch/i386/stand/bootxx: Makefile
Added Files:
src/sys/arch/i386/stand/bootxx/bootxx_ext2fs: Makefile
Log Message:
Module Name:src
Committed By: martin
Date: Sat Sep 11 16:03:41 UTC 2010
Modified Files:
src/tests/dev/scsipi: Makefile t_cd.c
Log Message:
Query the raw partition at runtime
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/dev/scsipi/Makefile
cvs
Module Name:src
Committed By: chs
Date: Sat Sep 11 20:53:04 UTC 2010
Modified Files:
src/sys/compat/linux/common: linux_dirent.h linux_misc.c
src/sys/compat/linux32/common: linux32_dirent.c linux32_types.h
Log Message:
recent versions of linux (which we now claim
Module Name:xsrc
Committed By: christos
Date: Sat Sep 11 22:26:46 UTC 2010
Modified Files:
xsrc/external/mit/xterm/include: xtermcfg.h
Log Message:
Update this to the latest xterm import. Fixes:
- cut bug where, we could cut only up to 1K before
- disable toolbar by
Module Name:src
Committed By: snj
Date: Sun Sep 12 04:52:45 UTC 2010
Modified Files:
src/lib/libc/stdlib [netbsd-5]: exit.c
Log Message:
Pull up following revision(s) (requested by skrll in ticket #1451):
lib/libc/stdlib/exit.c: revision 1.13
Only do the
Module Name:src
Committed By: snj
Date: Sun Sep 12 04:54:31 UTC 2010
Modified Files:
src/doc [netbsd-5]: CHANGES-5.1
Log Message:
1451
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.240 -r1.1.2.241 src/doc/CHANGES-5.1
Please note that diffs are not public
Module Name:src
Committed By: skrll
Date: Sat Sep 11 11:11:53 UTC 2010
Modified Files:
src/libexec/ld.elf_so: map_object.c
Log Message:
Wrap long line.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/libexec/ld.elf_so/map_object.c
Please note that
Module Name:src
Committed By: tsutsui
Date: Sat Sep 11 12:43:54 UTC 2010
Modified Files:
src/sys/arch/i386/stand/boot: Makefile.boot
Log Message:
Enable SUPPORT_EXT2FS. Tested on i386 that has root on ext2fs
with 128 byte and 256 byte inode sizes on QEMU.
Note for
Module Name:src
Committed By: martin
Date: Sat Sep 11 16:03:41 UTC 2010
Modified Files:
src/tests/dev/scsipi: Makefile t_cd.c
Log Message:
Query the raw partition at runtime
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/dev/scsipi/Makefile
cvs
Module Name:src
Committed By: chs
Date: Sat Sep 11 20:53:04 UTC 2010
Modified Files:
src/sys/compat/linux/common: linux_dirent.h linux_misc.c
src/sys/compat/linux32/common: linux32_dirent.c linux32_types.h
Log Message:
recent versions of linux (which we now claim
Module Name:xsrc
Committed By: christos
Date: Sat Sep 11 22:26:46 UTC 2010
Modified Files:
xsrc/external/mit/xterm/include: xtermcfg.h
Log Message:
Update this to the latest xterm import. Fixes:
- cut bug where, we could cut only up to 1K before
- disable toolbar by
Module Name:src
Committed By: snj
Date: Sun Sep 12 04:52:45 UTC 2010
Modified Files:
src/lib/libc/stdlib [netbsd-5]: exit.c
Log Message:
Pull up following revision(s) (requested by skrll in ticket #1451):
lib/libc/stdlib/exit.c: revision 1.13
Only do the
Module Name:src
Committed By: spz
Date: Sun Sep 12 05:00:21 UTC 2010
Modified Files:
src/etc/ssh: ssh_known_hosts
Log Message:
releng has been on mollari for a while now. Also, add wiki
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6
21 matches
Mail list logo