1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/fcron
Eygene Ryabinkin 4839c29cd1 sysutils/fcron: fixup default argument promotion
When mode_t is char- or short-like, it will be promoted to the pure
int when it is passed as the variable argument [1], so we should pass
'int' to the va_arg.

I had also eliminated fflush for the stream opened read-only, since
it will always fail and there is no need to flush read-only streams.

[1] http://c-faq.com/~scs/cclass/int/sx11c.html

Feature safe: yes
PR: 152304
2011-09-25 07:24:25 +00:00
..
files sysutils/fcron: fixup default argument promotion 2011-09-25 07:24:25 +00:00
distinfo
Makefile sysutils/fcron: fixup default argument promotion 2011-09-25 07:24:25 +00:00
pkg-deinstall
pkg-descr
pkg-install
pkg-plist