public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/640] New: ftruncate should be visible when including <unistd.h> without XSI features
@ 2005-01-06 15:20 sebastien dot decugis at ext dot bull dot net
2005-01-06 22:06 ` [Bug libc/640] " drepper at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: sebastien dot decugis at ext dot bull dot net @ 2005-01-06 15:20 UTC (permalink / raw)
To: glibc-bugs
According to the SUSv3, ftruncate(...) routine shall be visible when including
unistd.h; but it is not when _POSIX_C_SOURCE only is defined (no XSI features).
Sample code:
----------------
#define _POSIX_C_SOURCE 200112L
#include <unistd.h>
#include <sys/types.h>
typedef int (*ftruncate_test)(int fildes, off_t length);
int dummyfcn (void)
{
ftruncate_test dummyvar;
dummyvar = ftruncate;
return 0;
}
--
Summary: ftruncate should be visible when including <unistd.h>
without XSI features
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P3
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: sebastien dot decugis at ext dot bull dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/640] ftruncate should be visible when including <unistd.h> without XSI features
2005-01-06 15:20 [Bug nptl/640] New: ftruncate should be visible when including <unistd.h> without XSI features sebastien dot decugis at ext dot bull dot net
@ 2005-01-06 22:06 ` drepper at redhat dot com
2005-02-16 4:19 ` roland at gnu dot org
2005-02-16 10:09 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2005-01-06 22:06 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2005-01-06 22:06 -------
Fixed.
But this has nothing to do with nptl, chose the component correctly.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|nptl |libc
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/640] ftruncate should be visible when including <unistd.h> without XSI features
2005-01-06 15:20 [Bug nptl/640] New: ftruncate should be visible when including <unistd.h> without XSI features sebastien dot decugis at ext dot bull dot net
2005-01-06 22:06 ` [Bug libc/640] " drepper at redhat dot com
@ 2005-02-16 4:19 ` roland at gnu dot org
2005-02-16 10:09 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2005-02-16 4:19 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |724
nThis| |
http://sources.redhat.com/bugzilla/show_bug.cgi?id=640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/640] ftruncate should be visible when including <unistd.h> without XSI features
2005-01-06 15:20 [Bug nptl/640] New: ftruncate should be visible when including <unistd.h> without XSI features sebastien dot decugis at ext dot bull dot net
2005-01-06 22:06 ` [Bug libc/640] " drepper at redhat dot com
2005-02-16 4:19 ` roland at gnu dot org
@ 2005-02-16 10:09 ` cvs-commit at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-16 10:09 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-16 10:09 -------
Subject: Bug 640
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-02-16 10:09:07
Modified files:
posix : unistd.h
Log message:
2005-01-06 Ulrich Drepper <drepper@redhat.com>
* posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/unistd.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.130&r2=1.130.4.1
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-16 10:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 15:20 [Bug nptl/640] New: ftruncate should be visible when including <unistd.h> without XSI features sebastien dot decugis at ext dot bull dot net
2005-01-06 22:06 ` [Bug libc/640] " drepper at redhat dot com
2005-02-16 4:19 ` roland at gnu dot org
2005-02-16 10:09 ` cvs-commit at gcc dot gnu dot 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).