Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27584
Modified Files:
gnuplot.patch
Log Message:
missed patch
Index: gnuplot.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci/gnuplot.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gnuplot.patch 9 Jan 2012 02:52:58 -0000 1.7
+++ gnuplot.patch 24 Jan 2013 18:01:42 -0000 1.8
@@ -97,44 +97,3 @@
+;; gnuplot mode
+;; (global-set-key [(f9)] 'gnuplot-make-buffer)
+
-diff -Nurd gnuplot-4.4.4/src/misc.c gnuplot-4.4.4.patched/src/misc.c
---- gnuplot-4.4.4/src/misc.c 2011-05-07 13:54:44.000000000 -0400
-+++ gnuplot-4.4.4.patched/src/misc.c 2012-01-08 21:18:27.000000000 -0500
-@@ -291,18 +291,21 @@
- lf_pop()
- {
- LFS *lf;
-+ int argindex;
-
- if (lf_head == NULL)
- return (FALSE);
-- else {
-- int argindex;
-+
- lf = lf_head;
-- if (lf->fp != (FILE *) NULL && lf->fp != stdin) {
-- /* DBT 10-6-98 do not close stdin in the case
-- * that "-" is named as a load file
-- */
-- (void) fclose(lf->fp);
-- }
-+ if (lf->fp == NULL || lf->fp == stdin)
-+ /* Do not close stdin in the case that "-" is named as a load file */
-+ ;
-+#if defined(PIPES)
-+ else if (lf->name[0] == '<')
-+ pclose(lf->fp);
-+#endif
-+ else
-+ fclose(lf->fp);
- for (argindex = 0; argindex < 10; argindex++) {
- if (call_args[argindex]) {
- free(call_args[argindex]);
-@@ -330,7 +333,6 @@
- lf_head = lf->prev;
- free((char *) lf);
- return (TRUE);
-- }
- }
-
- /* push onto load_file state stack
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs