diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-14 07:38:41 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-14 07:38:41 +0000 |
commit | c67c02731b6507c5351bca70451441d9a26113ef (patch) | |
tree | afe8d99e55401fe7955475ab97a497cae2e23ab2 /misc/mkstemp64.c | |
parent | 39762d6a5c0e378f20b28da7450868bfef588fb0 (diff) | |
download | glibc-c67c02731b6507c5351bca70451441d9a26113ef.tar.gz glibc-c67c02731b6507c5351bca70451441d9a26113ef.tar.xz glibc-c67c02731b6507c5351bca70451441d9a26113ef.zip |
Updated to fedora-glibc-20070814T0725 cvs/fedora-glibc-2_6_90-9
Diffstat (limited to 'misc/mkstemp64.c')
-rw-r--r-- | misc/mkstemp64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/mkstemp64.c b/misc/mkstemp64.c index 93c2a3ee45..400bf47d06 100644 --- a/misc/mkstemp64.c +++ b/misc/mkstemp64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,6 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> @@ -27,5 +28,5 @@ int mkstemp64 (template) char *template; { - return __gen_tempname (template, __GT_BIGFILE); + return __gen_tempname (template, O_LARGEFILE, __GT_FILE); } |