]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Make 'flags' argument to chflags(2), fchflags(2) and lchflags(2) of type
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Thu, 21 Mar 2013 22:44:33 +0000 (22:44 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Thu, 21 Mar 2013 22:44:33 +0000 (22:44 +0000)
commitb4b2596b9766ae302c0943871516471bb0d6466c
tree1c36abb6f394391f7fb768b78ab2d383820e11cb
parente808788c05fed17c4269af808ad7f2183335e9af
- Make 'flags' argument to chflags(2), fchflags(2) and lchflags(2) of type
  u_long. Before this change it was of type int for syscalls, but prototypes
  in sys/stat.h and documentation for chflags(2) and fchflags(2) (but not
  for lchflags(2)) stated that it was u_long. Now some related functions
  use u_long type for flags (strtofflags(3), fflagstostr(3)).
- Make path argument of type 'const char *' for consistency.

Discussed on: arch
Sponsored by: The FreeBSD Foundation
bin/chflags/chflags.c
bin/mv/mv.c
lib/libc/sys/chflags.2
sys/compat/freebsd32/syscalls.master
sys/fs/tmpfs/tmpfs.h
sys/fs/tmpfs/tmpfs_subr.c
sys/kern/syscalls.master
sys/kern/vfs_syscalls.c
sys/sys/stat.h
tools/regression/pjdfstest/pjdfstest.c