Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
Thomas Cort 70bd6044c8 backup: bug fix for improper struct dirent usage
Between Minix 3.1.2 and Minix 3.1.3, the d_name member of struct
dirent was reduced from 61 characters to 1 character. backup(8)
blindly copies the result of readdir() into an array of dirent
structs. As a consequence, the structs in the array only contain
the first letter of the name and the name string was not null
terminated. This caused the backup utility to always fail.

Remedy the situation by adding room for the full d_name.

Change-Id: I2a7b4630f1bb727825a95a6095a7a543fc2f08f6
2013-08-12 11:19:10 +02:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin remove utimes() workarounds 2013-04-12 18:55:40 +00:00
commands backup: bug fix for improper struct dirent usage 2013-08-12 11:19:10 +02:00
common Enable optional GCC install and GCC improvements 2013-07-12 14:22:03 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib tps65950: driver for the TPS65950 PMIC 2013-08-09 12:41:43 +02:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers fb: auto-configure with EDID 2013-08-11 20:37:16 +02:00
etc fb: auto-configure with EDID 2013-08-11 20:37:16 +02:00
external Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
gnu Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
include readclock/tda19988: fix compiler/cppcheck warnings 2013-08-10 14:36:10 -04:00
kernel VMWare poweroff magic cli;hlt sequence 2013-08-11 23:55:43 +02:00
lib libc: make MINIX assembly code position-independent 2013-08-09 11:09:51 +02:00
libexec re-import makewhatis 2013-06-25 09:51:45 +00:00
man readclock: code clean-up, add -q, manpage updates 2013-08-09 12:41:53 +02:00
releasetools Importing sys/dev/videomode 2013-08-11 20:35:08 +02:00
sbin ext2: annotate cache blocks with inode metadata 2013-04-26 15:39:07 +00:00
servers Remove VM_VFS_REPLY from VM_BASIC_CALLS 2013-08-08 23:23:13 +02:00
share Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
sys Importing sys/dev/videomode 2013-08-11 20:35:08 +02:00
test blocktest: make 64-bit native 2013-08-08 17:36:45 +02:00
tests Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
tools Fix file permissions 2013-08-07 16:26:29 +00:00
usr.bin allow ldd mmap fallback 2013-06-12 07:05:11 +00:00
usr.sbin Importing usr.sbin/i2cscan 2013-07-15 11:11:13 -04:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00