[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#159636: DN_* and F_NOTIFY definitions are missing in (bits/fcntl.h) for hppa



Package: libc6-dev
Version: 2.2.5-14
Severity: normal
Tags: upstream 

glibc-2.2.5/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h is missing 
the following bits:

#ifdef __USE_GNU
# define F_SETLEASE     1024    /* Set a lease.  */
# define F_GETLEASE     1025    /* Enquire what lease is active.  */
# define F_NOTIFY       1026    /* Request notfications on a directory.
# */
#endif

...

#ifdef __USE_GNU
/* Types of directory notifications that may be requested with F_NOTIFY.
 * */
 # define DN_ACCESS      0x00000001      /* File accessed.  */
 # define DN_MODIFY      0x00000002      /* File modified.  */
 # define DN_CREATE      0x00000004      /* File created.  */
 # define DN_DELETE      0x00000008      /* File removed.  */
 # define DN_RENAME      0x00000010      /* File renamed.  */
 # define DN_ATTRIB      0x00000020      /* File changed attibutes.  */
 # define DN_MULTISHOT   0x80000000      /* Don't remove notifier.  */
 #endif

I have a patch, but I'm running it through a build and test. 
Will post when everything passes. 

N.B.: This is the root cause of dnotify failing to build. 
 
-- System Information:
Debian Release: testing/unstable
Architecture: hppa
Kernel: Linux firin 2.4.19-pa3 #2 Sun Aug 18 17:39:29 EDT 2002 parisc64
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                         2.2.5-14   GNU C Library: Shared libraries an

-- no debconf information



Reply to: