Doc #65712 [Wfx->ReO]: inotify constants, missing values

From: Date: Fri, 20 Sep 2013 20:01:41 +0000
Subject: Doc #65712 [Wfx->ReO]: inotify constants, missing values
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10287@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65712&edit=1 ID: 65712 Updated by: aharvey@php.net Reported by: qriff at hotmail dot com Summary: inotify constants, missing values -Status: Wont fix +Status: Re-Opened Type: Documentation Problem Package: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Sorry, missed the comment. Leaving open for the missing constants. Previous Comments: ------------------------------------------------------------------------ [2013-09-20 20:01:12] aharvey@php.net We don't tend to list them unless there's a particular reason to do so — in this case, knowing which power of 2 IN_ACCESS is probably isn't useful for most developers. ------------------------------------------------------------------------ [2013-09-19 13:52:25] qriff at hotmail dot com There are aparently some missing also http://www.kernel.org/pub/linux/kernel/people/rml/inotify/headers/inotify.h ------------------------------------------------------------------------ [2013-09-19 13:37:52] qriff at hotmail dot com Description: ------------ --- From manual page: http://www.php.net/inotify.constants --- Is missing inotify contants integer values: http://ulaptech.blogspot.fi/2012/01/php-pecl-inotify-masks-mapped.html Expected result: ---------------- Inotify constants usable with inotify_add_watch() and/or returned by inotify_read(): IN_ACCESS (integer) = 1 File was accessed (read) (*) IN_ONESHOT (integer) = 2147483648 Monitor pathname for one event, then remove from watch list. Actual result: -------------- Inotify constants usable with inotify_add_watch() and/or returned by inotify_read(): IN_ACCESS (integer) File was accessed (read) (*) IN_ONESHOT (integer) Monitor pathname for one event, then remove from watch list. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65712&edit=1

« previous php.doc.bugs (#10287) next »