FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

allow building without PIPE support · gnuplot/gnuplot@ae08b7b · GitHub

Repository navigation

Commit ae08b7b

Browse files
Ethan A Merritt
committed
allow building without PIPE support
1 parent 4a3eda6 commit ae08b7b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/plot.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef lint
2-
static char *RCSid() { return RCSid("$Id: plot.c,v 1.130 2011/12/28 19:37:37 sfeam Exp $"); }
2+
static char *RCSid() { return RCSid("$Id: plot.c,v 1.131 2011/12/28 20:01:33 sfeam Exp $"); }
33
#endif
44

55
/* GNUPLOT - plot.c */
@@ -986,11 +986,9 @@ wrapper_for_write_history()
986986
# endif /* HAVE_LIBREADLINE || HAVE_LIBEDITLINE */
987987
#endif /* GNUPLOT_HISTORY */
988988

989-
#ifdef PIPES
990989
void
991990
restrict_popen()
992991
{
993992
if (!successful_initialization)
994993
int_error(NO_CARET,"Pipes and shell commands not permitted during intialization");
995994
}
996-
#endif

‎src/plot.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $Id: plot.h,v 1.46 2009/10/31 20:20:07 sfeam Exp $
2+
* $Id: plot.h,v 1.47 2011/12/28 19:37:37 sfeam Exp $
33
*/
44

55
/* GNUPLOT - plot.h */
@@ -80,8 +80,6 @@ void take_privilege __PROTO((void));
8080
int ExecuteMacro __PROTO((char *, int));
8181
#endif
8282

83-
#ifdef PIPES
8483
void restrict_popen __PROTO((void));
85-
#endif
8684

8785
#endif /* GNUPLOT_PLOT_H */

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL