summaryrefslogtreecommitdiff
path: root/Porting/config_H
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-20 04:54:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-20 04:54:53 +0000
commitcb5953d685cec7d1e5d677ac4d2ddbe33ef0a803 (patch)
treee9a08ee62f26a14c0e39ec84ea16f867ce892576 /Porting/config_H
parent6002328acc4eebf94540b6802dbffeac7367da7a (diff)
downloadperl-cb5953d685cec7d1e5d677ac4d2ddbe33ef0a803.tar.gz
After some reading I don't think we can blindly
use systems' realpath(). Too many security problems, too many buggy implementations. TODO: the realpath() emulation code in util.c doesn't seem fully operational? (readlink(), for example?) p4raw-id: //depot/perl@10744
Diffstat (limited to 'Porting/config_H')
-rw-r--r--Porting/config_H14
1 files changed, 4 insertions, 10 deletions
diff --git a/Porting/config_H b/Porting/config_H
index 9aea69c251..b2c523d3a3 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Fri Jun 15 02:15:37 EET DST 2001
+ * Configuration time: Wed Jun 20 08:48:18 EET DST 2001
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -1019,7 +1019,7 @@
* 4 and 8. The default is eight, for safety.
*/
#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
-#define MEM_ALIGNBYTES 8
+# define MEM_ALIGNBYTES 8
#else
#define MEM_ALIGNBYTES 8
#endif
@@ -1362,7 +1362,7 @@
* d_Gconvert='sprintf((b),"%.*g",(n),(x))'
* The last two assume trailing zeros should not be kept.
*/
-#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
+#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
/* HAS_GETCWD:
* This symbol, if defined, indicates that the getcwd routine is
@@ -2324,7 +2324,7 @@
* Note that if fflushNULL is defined, fflushall will not
* even be probed for and will be left undefined.
*/
-/*#define FFLUSH_NULL / **/
+#define FFLUSH_NULL /**/
/*#define FFLUSH_ALL / **/
/* Fpos_t:
@@ -3372,12 +3372,6 @@
*/
/*#define HAS_FLOCK_PROTO / **/
-/* HAS_REALPATH:
- * This symbol, if defined, indicates that the realpath routine is
- * available to do resolve paths.
- */
-#define HAS_REALPATH /**/
-
/* HAS_SIGPROCMASK:
* This symbol, if defined, indicates that the sigprocmask
* system call is available to examine or change the signal mask