Date: Sun, 26 Jun 2011 18:27:17 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r223576 - in head/lib/libc: gen stdlib Message-ID: <201106261827.p5QIRHVv063143@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sun Jun 26 18:27:17 2011 New Revision: 223576 URL: http://svn.freebsd.org/changeset/base/223576 Log: Fix whitespace inconsistencies in libc in files copyrighted by me. Modified: head/lib/libc/gen/getutxent.3 head/lib/libc/gen/posix_spawn.3 head/lib/libc/gen/posix_spawn.c head/lib/libc/gen/pututxline.c head/lib/libc/stdlib/ptsname.c Modified: head/lib/libc/gen/getutxent.3 ============================================================================== --- head/lib/libc/gen/getutxent.3 Sun Jun 26 18:26:20 2011 (r223575) +++ head/lib/libc/gen/getutxent.3 Sun Jun 26 18:27:17 2011 (r223576) @@ -175,7 +175,7 @@ prefix, corresponding with the device us session. If no TTY character device is used, this field is left blank. This field is only applicable to entries of type -.Dv USER_PROCESS +.Dv USER_PROCESS and .Dv LOGIN_PROCESS . .It Fa ut_host @@ -473,7 +473,7 @@ are extensions. .Sh HISTORY These functions appeared in .Fx 9.0 . -They replaced the +They replaced the .In utmp.h interface. .Sh AUTHORS Modified: head/lib/libc/gen/posix_spawn.3 ============================================================================== --- head/lib/libc/gen/posix_spawn.3 Sun Jun 26 18:26:20 2011 (r223575) +++ head/lib/libc/gen/posix_spawn.3 Sun Jun 26 18:27:17 2011 (r223576) @@ -167,7 +167,7 @@ group IDs for the child process are chan attributes object referenced by .Fa attrp . .It -The file actions specified by the spawn file actions object are +The file actions specified by the spawn file actions object are performed in the order in which they were added to the spawn file actions object. .It Modified: head/lib/libc/gen/posix_spawn.c ============================================================================== --- head/lib/libc/gen/posix_spawn.c Sun Jun 26 18:26:20 2011 (r223575) +++ head/lib/libc/gen/posix_spawn.c Sun Jun 26 18:27:17 2011 (r223576) @@ -182,7 +182,7 @@ process_file_actions(const posix_spawn_f if (error) return (error); } - return (0); + return (0); } static int @@ -193,7 +193,7 @@ do_posix_spawn(pid_t *pid, const char *p { pid_t p; volatile int error = 0; - + p = vfork(); switch (p) { case -1: Modified: head/lib/libc/gen/pututxline.c ============================================================================== --- head/lib/libc/gen/pututxline.c Sun Jun 26 18:26:20 2011 (r223575) +++ head/lib/libc/gen/pututxline.c Sun Jun 26 18:27:17 2011 (r223576) @@ -57,7 +57,7 @@ futx_open(const char *file) errno = EFTYPE; return (NULL); } - + fp = fdopen(fd, "r+"); if (fp == NULL) { _close(fd); @@ -103,7 +103,7 @@ utx_active_add(const struct futx *fu) /* Allow us to overwrite unused records. */ if (partial == -1) { partial = ftello(fp); - /* + /* * Distinguish errors from valid values so we * don't overwrite good data by accident. */ Modified: head/lib/libc/stdlib/ptsname.c ============================================================================== --- head/lib/libc/stdlib/ptsname.c Sun Jun 26 18:26:20 2011 (r223575) +++ head/lib/libc/stdlib/ptsname.c Sun Jun 26 18:27:17 2011 (r223576) @@ -82,7 +82,7 @@ ptsname(int fildes) /* Make sure fildes points to a master device. */ if (__isptmaster(fildes) != 0) goto done; - + if (fdevname_r(fildes, pt_slave + (sizeof _PATH_DEV - 1), sizeof pt_slave - (sizeof _PATH_DEV - 1)) != NULL) ret = pt_slave;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106261827.p5QIRHVv063143>