public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27656] New: realpath sets errno incorrectly
@ 2021-03-28  2:28 devbacon at gmail dot com
  2021-03-28  7:03 ` [Bug libc/27656] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: devbacon at gmail dot com @ 2021-03-28  2:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27656

            Bug ID: 27656
           Summary: realpath sets errno incorrectly
           Product: glibc
           Version: 2.33
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: devbacon at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 13331
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13331&action=edit
terminal log showing described error

When calling realpath(), errno always get set to EINVAL.  The following
attached terminal log shows this happening for files and links.  The previous
version of glibc did not set errno, except as per the documentation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/27656] realpath sets errno incorrectly
  2021-03-28  2:28 [Bug libc/27656] New: realpath sets errno incorrectly devbacon at gmail dot com
@ 2021-03-28  7:03 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2021-03-28  7:03 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27656

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
A sucessful libcall (with few exceptions) is allowed set errno to any non-zero
value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-28  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28  2:28 [Bug libc/27656] New: realpath sets errno incorrectly devbacon at gmail dot com
2021-03-28  7:03 ` [Bug libc/27656] " schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).