[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2056: move mkstemp prototype to stdlib.h (bug 3731)

Mats Wichmann mats at linuxfoundation.org
Tue Feb 5 13:28:37 UTC 2013


------------------------------------------------------------
revno: 2056
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Tue 2013-02-05 06:28:37 -0700
message:
  move mkstemp prototype to stdlib.h (bug 3731)
modified:
  headers/All/3.0/stdlib.h.defs
  headers/All/3.0/unistd.h.defs
  headers/All/3.1/stdlib.h.defs
  headers/All/3.1/unistd.h.defs
  headers/All/3.2/stdlib.h.defs
  headers/All/3.2/unistd.h.defs
  headers/All/4.0/stdlib.h.defs
  headers/All/4.0/unistd.h.defs
  headers/All/4.1/stdlib.h.defs
  headers/All/4.1/unistd.h.defs
  headers/All/5.0/stdlib.h.defs
  headers/All/5.0/unistd.h.defs
  headers/stdlib.h
  headers/unistd.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/3.0/stdlib.h.defs'
--- a/headers/All/3.0/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/3.0/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -79,6 +79,7 @@
 extern int mblen(const char *__s, size_t __n);
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/3.0/unistd.h.defs'
--- a/headers/All/3.0/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/3.0/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -260,7 +260,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/All/3.1/stdlib.h.defs'
--- a/headers/All/3.1/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/3.1/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -79,6 +79,7 @@
 extern int mblen(const char *__s, size_t __n);
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/3.1/unistd.h.defs'
--- a/headers/All/3.1/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/3.1/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -260,7 +260,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/All/3.2/stdlib.h.defs'
--- a/headers/All/3.2/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/3.2/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -79,6 +79,7 @@
 extern int mblen(const char *__s, size_t __n);
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/3.2/unistd.h.defs'
--- a/headers/All/3.2/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/3.2/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -350,7 +350,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/All/4.0/stdlib.h.defs'
--- a/headers/All/4.0/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/4.0/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -101,6 +101,7 @@
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
 extern char *mkdtemp(char *__template);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/4.0/unistd.h.defs'
--- a/headers/All/4.0/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/4.0/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -366,7 +366,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/All/4.1/stdlib.h.defs'
--- a/headers/All/4.1/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/4.1/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -101,6 +101,7 @@
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
 extern char *mkdtemp(char *__template);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/4.1/unistd.h.defs'
--- a/headers/All/4.1/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/4.1/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -366,7 +366,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/All/5.0/stdlib.h.defs'
--- a/headers/All/5.0/stdlib.h.defs	2011-01-28 13:30:02 +0000
+++ b/headers/All/5.0/stdlib.h.defs	2013-02-05 13:28:37 +0000
@@ -101,6 +101,7 @@
 extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
 extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
 extern char *mkdtemp(char *__template);
+extern int mkstemp(char *__template);
 extern int mkstemp64(char *__template);
 extern char *mktemp(char *__template);
 extern long int mrand48(void);

=== modified file 'headers/All/5.0/unistd.h.defs'
--- a/headers/All/5.0/unistd.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/5.0/unistd.h.defs	2013-02-05 13:28:37 +0000
@@ -366,7 +366,6 @@
 extern int lockf64(int __fd, int __cmd, off64_t __len);
 extern off_t lseek(int __fd, off_t __offset, int __whence);
 extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-extern int mkstemp(char *__template);
 extern int nice(int __inc);
 extern char *optarg;
 extern int opterr;

=== modified file 'headers/stdlib.h'
--- a/headers/stdlib.h	2011-01-28 13:30:02 +0000
+++ b/headers/stdlib.h	2013-02-05 13:28:37 +0000
@@ -135,6 +135,7 @@
     extern int mblen(const char *__s, size_t __n);
     extern size_t mbstowcs(wchar_t * __pwcs, const char *__s, size_t __n);
     extern int mbtowc(wchar_t * __pwc, const char *__s, size_t __n);
+    extern int mkstemp(char *__template);
     extern int mkstemp64(char *__template);
     extern char *mktemp(char *__template);
     extern long int mrand48(void);

=== modified file 'headers/unistd.h'
--- a/headers/unistd.h	2013-02-04 19:04:09 +0000
+++ b/headers/unistd.h	2013-02-05 13:28:37 +0000
@@ -445,7 +445,6 @@
     extern int lockf64(int __fd, int __cmd, off64_t __len);
     extern off_t lseek(int __fd, off_t __offset, int __whence);
     extern loff_t lseek64(int __fd, loff_t __offset, int __whence);
-    extern int mkstemp(char *__template);
     extern int nice(int __inc);
     extern char *optarg;
     extern int opterr;

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-02-05 04:03:39 +0000
+++ b/package/Makefile	2013-02-05 13:28:37 +0000
@@ -46,7 +46,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=7
+RPM_PACKAGE_RELEASE=8
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list