bd1aff620a
Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package has been compiled without support for threads.
17 lines
464 B
Text
17 lines
464 B
Text
$NetBSD: patch-ag,v 1.1.1.1 2004/12/05 23:27:49 recht Exp $
|
|
|
|
--- Misc/setuid-prog.c.orig Thu Sep 10 22:18:09 1998
|
|
+++ Misc/setuid-prog.c
|
|
@@ -70,6 +70,12 @@
|
|
#define environ _environ
|
|
#endif
|
|
|
|
+#if defined(__APPLE__)
|
|
+# include <sys/time.h>
|
|
+# include <crt_externs.h>
|
|
+# define environ (*_NSGetEnviron())
|
|
+#endif /* __APPLE__ */
|
|
+
|
|
/* don't change def_IFS */
|
|
char def_IFS[] = "IFS= \t\n";
|
|
/* you may want to change def_PATH, but you should really change it in */
|