From 7e8cb4e5e07f8afd01d69ac067a73f6a32bda46b Mon Sep 17 00:00:00 2001 From: Martin Nilsson <mani@lysator.liu.se> Date: Sun, 4 Mar 2007 18:31:29 +0100 Subject: [PATCH] Fixed autodoc references. Rev: src/modules/files/efuns.c:1.184 Rev: src/modules/files/file.c:1.360 --- src/modules/files/efuns.c | 8 ++++---- src/modules/files/file.c | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/modules/files/efuns.c b/src/modules/files/efuns.c index 51a1623353..36d309c1fb 100644 --- a/src/modules/files/efuns.c +++ b/src/modules/files/efuns.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: efuns.c,v 1.183 2007/01/25 17:09:09 grubba Exp $ +|| $Id: efuns.c,v 1.184 2007/03/04 17:27:44 nilsson Exp $ */ #include "global.h" @@ -344,11 +344,11 @@ static void f_removexattr( INT32 args ) *! *! The flags parameter can be used to refine the semantics of the operation. *! - *! @[XATTR_CREATE] specifies a pure create, which + *! @[Stdio.XATTR_CREATE] specifies a pure create, which *! fails if the named attribute exists already. *! - *! @[XATTR_REPLACE] specifies a pure replace operation, which fails if the named - *! attribute does not already exist. + *! @[Stdio.XATTR_REPLACE] specifies a pure replace operation, which + *! fails if the named attribute does not already exist. *! *! By default (no flags), the extended attribute will be created if need be, *! or will simply replace the value if the attribute exists. diff --git a/src/modules/files/file.c b/src/modules/files/file.c index 7899166067..317c696a5a 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: file.c,v 1.359 2006/07/05 20:20:49 mast Exp $ +|| $Id: file.c,v 1.360 2007/03/04 17:31:29 nilsson Exp $ */ #define NO_PIKE_SHORTHAND @@ -2301,11 +2301,11 @@ static void file_removexattr( INT32 args ) *! *! The flags parameter can be used to refine the semantics of the operation. *! - *! @[XATTR_CREATE] specifies a pure create, which + *! @[Stdio.XATTR_CREATE] specifies a pure create, which *! fails if the named attribute exists already. *! - *! @[XATTR_REPLACE] specifies a pure replace operation, which fails if the named - *! attribute does not already exist. + *! @[Stdio.XATTR_REPLACE] specifies a pure replace operation, which + *! fails if the named attribute does not already exist. *! *! By default (no flags), the extended attribute will be created if need be, *! or will simply replace the value if the attribute exists. @@ -4370,7 +4370,16 @@ PIKE_MODULE_INIT init_udp(); #if defined(HAVE_FSETXATTR) + /*! @decl constant XATTR_CREATE + *! Used by @[setxattr] function and method to signify a pure + *! create, which will fail if the attribute already exists. + */ add_integer_constant("XATTR_CREATE", XATTR_CREATE, 0 ); + + /*! @decl constant XATTR_REPLACE + *! Used by @[setxattr] function and method to signify a replace, + *! which will fail the the attribute does not already exists. + */ add_integer_constant("XATTR_REPLACE", XATTR_REPLACE, 0 ); #endif add_integer_constant("PROP_IPC",fd_INTERPROCESSABLE,0); -- GitLab