NetBSD Problem Report #47975

From www@NetBSD.org  Sun Jun 30 10:33:42 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DE14171739
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 30 Jun 2013 10:33:41 +0000 (UTC)
Message-Id: <20130630103340.AC5C7717B9@mollari.NetBSD.org>
Date: Sun, 30 Jun 2013 10:33:40 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Bug in rename.2
X-Send-Pr-Version: www-1.0

>Number:         47975
>Category:       lib
>Synopsis:       Bug in rename.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 30 10:35:00 +0000 2013
>Closed-Date:    Sun Jun 30 11:47:15 +0000 2013
>Last-Modified:  Sun Jun 30 11:50:00 +0000 2013
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Change rename -> renameat.

Other problem prototype for renameat is in unistd.h and not stdio.h .
>How-To-Repeat:

>Fix:
diff -u -p -r1.27 rename.2
--- lib/libc/sys/rename.2	13 Jan 2013 08:15:02 -0000	1.27
+++ lib/libc/sys/rename.2	30 Jun 2013 09:36:00 -0000
@@ -43,7 +43,7 @@
 .Ft int
 .Fn rename "const char *from" "const char *to"
 .Ft int
-.Fn rename "int fromfd" "const char *from" "int tofd" "const char *to"
+.Fn renameat "int fromfd" "const char *from" "int tofd" "const char *to"
 .Sh DESCRIPTION
 .Fn rename
 causes the link named

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 30 Jun 2013 11:47:15 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47975 CVS commit: src/lib/libc/sys
Date: Sun, 30 Jun 2013 11:47:00 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Sun Jun 30 11:47:00 UTC 2013

 Modified Files:
 	src/lib/libc/sys: rename.2

 Log Message:
 Fix typo in SYNOPSIS. From Henning Petersen in PR 47975.


 To generate a diff of this commit:
 cvs rdiff -u -r1.27 -r1.28 src/lib/libc/sys/rename.2

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47975 CVS commit: src/lib/libc/sys
Date: Sun, 30 Jun 2013 11:48:42 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Sun Jun 30 11:48:42 UTC 2013

 Modified Files:
 	src/lib/libc/sys: rename.2

 Log Message:
 Fix second problem noted by Henning Petersen in PR 47975:
 renameat is in unistd.h. Bump date.


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/rename.2

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.