summaryrefslogtreecommitdiff
path: root/vos/vos_dummies.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-06 17:18:39 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-06 17:18:39 +0000
commit24e8e38014028731fb2fddf4fe788525eb66a6b5 (patch)
tree73f8787e5729b6649526706dd34657ea8ca2581b /vos/vos_dummies.c
parent18b095192e336ba31465f4d3dab1ecc90871c3a9 (diff)
downloadperl-24e8e38014028731fb2fddf4fe788525eb66a6b5.tar.gz
VOS port updates (from Paul Green <Paul_Green@stratus.com>)
p4raw-id: //depot/perl@5005
Diffstat (limited to 'vos/vos_dummies.c')
-rw-r--r--vos/vos_dummies.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/vos/vos_dummies.c b/vos/vos_dummies.c
index b14c444888..3c0852db60 100644
--- a/vos/vos_dummies.c
+++ b/vos/vos_dummies.c
@@ -1,6 +1,6 @@
/* +++begin copyright+++ ******************************************* */
/* */
-/* COPYRIGHT (c) 1997, 1998 Stratus Computer, Inc. */
+/* COPYRIGHT (c) 1997, 1998, 1999, 2000 Stratus Computer (DE), Inc. */
/* */
/* This program is free software; you can redistribute it and/or */
/* modify it under the terms of either: */
@@ -29,7 +29,7 @@
/* */
/* +++end copyright+++ ********************************************* */
-#define _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 199309L
#include <stdio.h>
#include <string.h>
@@ -46,7 +46,7 @@ static void bomb (char *p_name)
{
char_varying(256) msgvs;
- strcpy_vstr_nstr (&msgvs, "FATAL ERROR: Call to missing function '");
+ strcpy_vstr_nstr (&msgvs, "FATAL ERROR: Call to unimplemented function '");
strcat_vstr_nstr (&msgvs, p_name);
strcat_vstr_nstr (&msgvs, "'. Entering debugger.");
s$write_code (&msgvs, &0);
@@ -76,21 +76,6 @@ extern int do_spawn ()
bomb ("do_spawn");
}
-extern int execlp (const char *_file, const char *_arg, ...)
-{
- bomb ("execlp");
-}
-
-extern int execl (const char *_path, const char *_arg, ...)
-{
- bomb ("execl");
-}
-
-extern int execvp (const char *_file, char *const _argv[], ...)
-{
- bomb ("execvp");
-}
-
extern pid_t fork (void)
{
bomb ("fork");