public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14497] New: declare short functions inline
@ 2012-08-19 10:21 wbrana at gmail dot com
  2012-11-16 11:06 ` [Bug libc/14497] " aj at suse dot de
  2014-06-17 18:33 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: wbrana at gmail dot com @ 2012-08-19 10:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14497

             Bug #: 14497
           Summary: declare short functions inline
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: wbrana@gmail.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


short functions like fdatasync could be declared inline

int
fdatasync (int fildes)
{
  return fsync (fildes);
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14497] declare short functions inline
  2012-08-19 10:21 [Bug libc/14497] New: declare short functions inline wbrana at gmail dot com
@ 2012-11-16 11:06 ` aj at suse dot de
  2014-06-17 18:33 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: aj at suse dot de @ 2012-11-16 11:06 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14497

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aj at suse dot de
         Resolution|                            |WONTFIX

--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-11-16 11:06:03 UTC ---
We do this already for functions where it is possible to do so and makes sense,
e.g. for some math functions.

Such short functions need both an inline function as well as a real
implementation.

fdatasync is in no way performance critical and the overhead of duplicating the
function does not deserve this extra work.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14497] declare short functions inline
  2012-08-19 10:21 [Bug libc/14497] New: declare short functions inline wbrana at gmail dot com
  2012-11-16 11:06 ` [Bug libc/14497] " aj at suse dot de
@ 2014-06-17 18:33 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17 18:33 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-17 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-19 10:21 [Bug libc/14497] New: declare short functions inline wbrana at gmail dot com
2012-11-16 11:06 ` [Bug libc/14497] " aj at suse dot de
2014-06-17 18:33 ` fweimer at redhat dot com

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).