Module Name: src Committed By: wiz Date: Sat Dec 1 20:45:01 UTC 2012
Modified Files: src/lib/libc/sys: access.2 chmod.2 chown.2 link.2 mknod.2 open.2 readlink.2 rename.2 stat.2 symlink.2 unlink.2 utimes.2 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libc/sys/access.2 src/lib/libc/sys/link.2 \ src/lib/libc/sys/readlink.2 cvs rdiff -u -r1.41 -r1.42 src/lib/libc/sys/chmod.2 cvs rdiff -u -r1.32 -r1.33 src/lib/libc/sys/chown.2 cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/mknod.2 cvs rdiff -u -r1.52 -r1.53 src/lib/libc/sys/open.2 cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/rename.2 \ src/lib/libc/sys/unlink.2 cvs rdiff -u -r1.51 -r1.52 src/lib/libc/sys/stat.2 cvs rdiff -u -r1.21 -r1.22 src/lib/libc/sys/symlink.2 cvs rdiff -u -r1.33 -r1.34 src/lib/libc/sys/utimes.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/access.2 diff -u src/lib/libc/sys/access.2:1.27 src/lib/libc/sys/access.2:1.28 --- src/lib/libc/sys/access.2:1.27 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/access.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: access.2,v 1.27 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: access.2,v 1.28 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -69,13 +69,13 @@ All components of the pathname are checked for access permissions (including .Dv F_OK ) . .Pp -.Fn faccessat -works the same way as +.Fn faccessat +works the same way as .Fn access -except if +except if .Fa path is relative. In that case, it is looked up from a directory whose file -descriptor was passed as +descriptor was passed as .Fa fd . Search permission is required on .Fa fd @@ -85,7 +85,7 @@ option. .Fa fd can be set to .Dv AT_FDCWD -in order to specify current directory. +in order to specify current directory. .Pp The real user ID is used in place of the effective user ID and the real group access list @@ -93,9 +93,9 @@ and the real group access list used in place of the effective ID for verifying permission. .Fn faccessat can use -effective user ID and effective group ID if the +effective user ID and effective group ID if the .Dv AT_EACCESS -is passed in +is passed in .Fa flag . .Pp If a process has super-user privileges and indicates success for Index: src/lib/libc/sys/link.2 diff -u src/lib/libc/sys/link.2:1.27 src/lib/libc/sys/link.2:1.28 --- src/lib/libc/sys/link.2:1.27 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/link.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: link.2,v 1.27 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: link.2,v 1.28 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 2011 .\" The Regents of the University of California. All rights reserved. @@ -80,18 +80,18 @@ must be in the same file system. .Fa name1 may not be a directory unless the caller is the super-user and the file system containing it supports linking to directories. -.Pp +.Pp .Fn linkat works the same way as .Fn link except if .Fa name1 -(resp. +(resp. .Fa name2 ) is relative. In that case, it is looked up from a directory whose file descriptor was passed as .Fa fd1 -(resp. +(resp. .Fa fd2 ). Search permission is required on passed directory file descriptors @@ -99,7 +99,7 @@ except if they were open with the .Dv O_SEARCH option. .Fa fd1 -or +or .Fa fd2 can be set to .Dv AT_FDCWD Index: src/lib/libc/sys/readlink.2 diff -u src/lib/libc/sys/readlink.2:1.27 src/lib/libc/sys/readlink.2:1.28 --- src/lib/libc/sys/readlink.2:1.27 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/readlink.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: readlink.2,v 1.27 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: readlink.2,v 1.28 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -135,7 +135,7 @@ function conforms to .St -p1003.1-2001 . .Fn readlinkat conforms to -.St -p1003.1-2008 . +.St -p1003.1-2008 . .Sh HISTORY The .Fn readlink Index: src/lib/libc/sys/chmod.2 diff -u src/lib/libc/sys/chmod.2:1.41 src/lib/libc/sys/chmod.2:1.42 --- src/lib/libc/sys/chmod.2:1.41 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/chmod.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: chmod.2,v 1.41 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: chmod.2,v 1.42 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -74,12 +74,12 @@ sets the permission bits of the link, while .Fn chmod sets the bits of the file the link references. -.Pp -.Fn fchmodat +.Pp +.Fn fchmodat works the same way as -.Fn chmod +.Fn chmod (or -.Fn lchmod +.Fn lchmod if .Dv AT_SYMLINK_NOFOLLOW is set in @@ -90,7 +90,7 @@ is relative. In that case, it is looked descriptor was passed as .Fa fd . Search permission is required on -.Fa fd +.Fa fd except if that file descriptor was open with .Dv O_SEARCH option. @@ -255,7 +255,7 @@ The function conforms to .St -p1003.1-90 . .Fn fchmodat -function conforms to +function conforms to .St -p1003.1-2008 . .Sh HISTORY The Index: src/lib/libc/sys/chown.2 diff -u src/lib/libc/sys/chown.2:1.32 src/lib/libc/sys/chown.2:1.33 --- src/lib/libc/sys/chown.2:1.32 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/chown.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: chown.2,v 1.32 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: chown.2,v 1.33 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -103,13 +103,13 @@ changes the owner and group of the file is particularly useful when used in conjunction with the file locking primitives (see .Xr flock 2 ) . -.Pp +.Pp .Fn fchownat works the same way as .Fn chown -(or +(or .Fn lchown -if +if .Dv AT_SYMLINK_NOFOLLOW is set in .Fa flag ) Index: src/lib/libc/sys/mknod.2 diff -u src/lib/libc/sys/mknod.2:1.23 src/lib/libc/sys/mknod.2:1.24 --- src/lib/libc/sys/mknod.2:1.23 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/mknod.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: mknod.2,v 1.23 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: mknod.2,v 1.24 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -137,14 +137,14 @@ The named file resides on a read-only fi .Xr mkfifo 2 , .Xr stat 2 , .Xr umask 2 -.Sh STANDARDS -The +.Sh STANDARDS +The .Fn mknod -function conforms to +function conforms to .St -p1003.1-90 . -.Fn mknodat +.Fn mknodat conforms to -.St -p1003.1-2008 . +.St -p1003.1-2008 . .Sh HISTORY A .Fn mknod Index: src/lib/libc/sys/open.2 diff -u src/lib/libc/sys/open.2:1.52 src/lib/libc/sys/open.2:1.53 --- src/lib/libc/sys/open.2:1.52 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/open.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: open.2,v 1.52 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: open.2,v 1.53 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -425,7 +425,7 @@ function conforms to .St -p1003.1-90 . .Fn openat conforms to -.St -p1003.1-2008 . +.St -p1003.1-2008 . .Pp The .Fa flags @@ -437,7 +437,7 @@ and are extensions defined in .St -p1003.1b-93 . .Dv O_SEARCH -is defined in +is defined in .St -p1003.1-2008 .Pp The Index: src/lib/libc/sys/rename.2 diff -u src/lib/libc/sys/rename.2:1.24 src/lib/libc/sys/rename.2:1.25 --- src/lib/libc/sys/rename.2:1.24 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/rename.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: rename.2,v 1.24 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: rename.2,v 1.25 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -85,11 +85,11 @@ works the same way as .Fn rename except if .Fa from -(resp. +(resp. .Fa to ) is relative. In that case, it is looked up from a directory whose file descriptor was passed as -.Fa fromfd +.Fa fromfd (resp. .Fa tofd ). Search permission is required on Index: src/lib/libc/sys/unlink.2 diff -u src/lib/libc/sys/unlink.2:1.24 src/lib/libc/sys/unlink.2:1.25 --- src/lib/libc/sys/unlink.2:1.24 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/unlink.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: unlink.2,v 1.24 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: unlink.2,v 1.25 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,8 +33,8 @@ .Dt UNLINK 2 .Os .Sh NAME -.Nm unlink , -.Nm unlinkat , +.Nm unlink , +.Nm unlinkat , .Nd remove directory entry .Sh LIBRARY .Lb libc @@ -81,7 +81,7 @@ in order to specify current directory. .Pp .Fn unlinkat will remove directories just like -.Fn rmdir +.Fn rmdir provided .Dv AT_REMOVEDIR is set in @@ -145,7 +145,7 @@ function conforms to .St -p1003.1-90 . .Fn unlinkat conforms to -.St -p1003.1-2008 . +.St -p1003.1-2008 . .Sh HISTORY An .Fn unlink Index: src/lib/libc/sys/stat.2 diff -u src/lib/libc/sys/stat.2:1.51 src/lib/libc/sys/stat.2:1.52 --- src/lib/libc/sys/stat.2:1.51 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/stat.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: stat.2,v 1.51 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: stat.2,v 1.52 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -75,13 +75,13 @@ The function obtains the same information about an open file known by the file descriptor .Fa fd . -.Pp +.Pp .Fn fstatat works the same way as .Fn stat -(or +(or .Fn lstat -if +if .Dv AT_SYMLINK_NOFOLLOW is set in .Fa flag ) @@ -370,7 +370,7 @@ An I/O error occurred while reading from .Fn stat , .Fn lstat , and -.Fn fstat +.Fn fstat conform to .St -p1003.1-2004 . .Fn fstatat Index: src/lib/libc/sys/symlink.2 diff -u src/lib/libc/sys/symlink.2:1.21 src/lib/libc/sys/symlink.2:1.22 --- src/lib/libc/sys/symlink.2:1.21 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/symlink.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: symlink.2,v 1.21 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: symlink.2,v 1.22 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -155,7 +155,7 @@ points outside the process's allocated a .Xr unlink 2 , .Xr symlink 7 .Sh STANDARDS -The +The .Fn symlink function conforms to .St -p1003.1-90 . Index: src/lib/libc/sys/utimes.2 diff -u src/lib/libc/sys/utimes.2:1.33 src/lib/libc/sys/utimes.2:1.34 --- src/lib/libc/sys/utimes.2:1.33 Sun Nov 18 17:41:53 2012 +++ src/lib/libc/sys/utimes.2 Sat Dec 1 20:45:01 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: utimes.2,v 1.33 2012/11/18 17:41:53 manu Exp $ +.\" $NetBSD: utimes.2,v 1.34 2012/12/01 20:45:01 wiz Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -138,11 +138,11 @@ can be set to .Dv AT_FDCWD in order to specify current directory. .Pp -When it operates on a symbolic link, +When it operates on a symbolic link, .Fn utimensat will change the target's time unless .Dv AT_SYMLINK_NOFOLLOW -is set in +is set in .Fa flag . In that later case, the symbolic link's dates are changed. .Pp