On Mon, Dec 24, 2012 at 09:30:53PM -0800, Philip Guenther wrote:
On Mon, Dec 24, 2012 at 4:13 PM, Vadim Zhukov persg...@gmail.com wrote:
...
Thanks a lot, Phillip! Now I feel myself much more brave than a few hours
ago. :) I think about tweaking NAME_MAX to 1535: this should be fine for any
Hello all (again).
Process of looking at the *statfs() implementations discovered something fun:
0. struct mount contains mnt_stat pointer to struct statfs, and the
later one is even called a cache in the sys/mount.h.
1. sys_mount() calls VFS_STATFS() at the end of work, with the
following
A small nit in fsck_ffs/dir.c. A few lines above (size_t) cast is
used, but here it's missing.
--
WBR,
Vadim Zhukov
Index: dir.c
===
RCS file: /cvs/src/sbin/fsck_ffs/dir.c,v
retrieving revision 1.27
diff -u -p -r1.27 dir.c
2012/12/10 Vadim Zhukov persg...@gmail.com:
2012/12/10 Christian Schulte c...@schulte.it:
Am 12/10/12 05:00, schrieb Vadim Zhukov:
10.12.2012 1:43 полÑзоваÑÐµÐ»Ñ Christian Schulte
c...@schulte.it напиÑал:
Am 12/09/12 20:58, schrieb Vadim Zhukov:
Hello all.
This is a bit
On Tue, Dec 25, 2012 at 6:55 AM, Vadim Zhukov persg...@gmail.com wrote:
A small nit in fsck_ffs/dir.c. A few lines above (size_t) cast is
used, but here it's missing.
...
- if (memcmp(dirp-d_name, idesc-id_name, (int)dirp-d_namlen + 1))
+ if (memcmp(dirp-d_name, idesc-id_name,
I've encountered characters being lost while writing large buffers to a
pseudoterminal master on OpenBSD 5.2. The linked program ptycheck.c
exercises this behavior on 5.2 i386/amd64 (as well as 4.7 and 4.8 i386):
https://gist.github.com/4377173
Briefly, the program opens a pty pair and
26.12.2012 2:02 полÑзоваÑÐµÐ»Ñ Philip Guenther
guent...@gmail.com напиÑал:
On Tue, Dec 25, 2012 at 6:55 AM, Vadim Zhukov persg...@gmail.com wrote:
A small nit in fsck_ffs/dir.c. A few lines above (size_t) cast is
used, but here it's missing.
...
- if