Ticket #2169: posix1003.1.patch

File posix1003.1.patch, 1.7 KB (added by Nick Withers, on 02/17/14 at 07:52:05)

Mention in the RTEMS POSIX 1003.1 Compliance Guide that rename() is only partially supported. Doesn't explain *how* this is the case

  • doc/posix1003.1/ch05.t

    From 646f43fda23fd21e95ebeeaafca4fb80debc61c6 Mon Sep 17 00:00:00 2001
    From: Nick Withers <nick.withers@anu.edu.au>
    Date: Mon, 17 Feb 2014 19:39:27 +1100
    Subject: [PATCH] Note that rename() is only partially implemented.
    
    Replacing of existing files is not supported; see https://www.rtems.org/bugzilla/show_bug.cgi?id=2169
    ---
     doc/posix1003.1/ch05.t          | 2 +-
     doc/posix1003.1/ch08.t          | 1 +
     doc/posix1003.1/compliance_list | 2 +-
     3 files changed, 3 insertions(+), 2 deletions(-)
    
    diff --git a/doc/posix1003.1/ch05.t b/doc/posix1003.1/ch05.t
    index bbdc04a..9aa28ba 100644
    a b rmdir(), Function, Implemented 
    108108@subsection Rename a File
    109109
    110110@example
    111 rename(), Function, Implemented
     111rename(), Function, Partial Implementation
    112112@end example
    113113
    114114@section File Characteristics
  • doc/posix1003.1/ch08.t

    diff --git a/doc/posix1003.1/ch08.t b/doc/posix1003.1/ch08.t
    index 23b8269..80ac3c7 100644
    a b putc(), Function, Implemented 
    101101putchar(), Function, Implemented
    102102puts(), Function, Implemented
    103103remove(), Function, Implemented
     104rename(), Function, Partial Implementation
    104105rewind(), Function, Implemented
    105106scanf(), Function, Implemented
    106107fscanf(), Function, Implemented
  • doc/posix1003.1/compliance_list

    diff --git a/doc/posix1003.1/compliance_list b/doc/posix1003.1/compliance_list
    index daa42fa..69b71dd 100644
    a b readdir(), Supported 
    255255readdir_r(), Supported
    256256realloc(), Supported
    257257remove(), Supported
    258 rename(), Supported
     258rename(), see note 2
    259259rewind(), Supported
    260260rewinddir(), Supported
    261261rmdir(), Supported