This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the copyright years in the generated files, and nostdio.h
[perl5.git]
/
nostdio.h
diff --git
a/nostdio.h
b/nostdio.h
index
b3b9ba0
..
d1d7374
100644
(file)
--- a/
nostdio.h
+++ b/
nostdio.h
@@
-1,3
+1,12
@@
+/* nostdio.h
+ *
+ * Copyright (C) 1996, 2000, 2001, 2005, by Larry Wall and others
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Artistic License, as specified in the README file.
+ *
+ */
+
/*
* Strong denial of stdio - make all stdio calls (we can think of) errors
*/
/*
* Strong denial of stdio - make all stdio calls (we can think of) errors
*/
@@
-59,8
+68,10
@@
struct _FILE;
#undef tmpfile
#undef ungetc
#undef vfprintf
#undef tmpfile
#undef ungetc
#undef vfprintf
+#undef printf
#define fprintf _CANNOT _fprintf_
#define fprintf _CANNOT _fprintf_
+#define printf _CANNOT _printf_
#define stdin _CANNOT _stdin_
#define stdout _CANNOT _stdout_
#define stderr _CANNOT _stderr_
#define stdin _CANNOT _stdin_
#define stdout _CANNOT _stdout_
#define stderr _CANNOT _stderr_
@@
-100,7
+111,7
@@
struct _FILE;
#define _flsbuf(c,f) _CANNOT _flsbuf_
#define fdopen(fd,p) _CANNOT _fdopen_
#define fileno(f) _CANNOT _fileno_
#define _flsbuf(c,f) _CANNOT _flsbuf_
#define fdopen(fd,p) _CANNOT _fdopen_
#define fileno(f) _CANNOT _fileno_
-#if SFIO_VERSION < 20000101L
+#if
defined(SFIO_VERSION) &&
SFIO_VERSION < 20000101L
#define flockfile(f) _CANNOT _flockfile_
#define ftrylockfile(f) _CANNOT _ftrylockfile_
#define funlockfile(f) _CANNOT _funlockfile_
#define flockfile(f) _CANNOT _flockfile_
#define ftrylockfile(f) _CANNOT _ftrylockfile_
#define funlockfile(f) _CANNOT _funlockfile_