1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/math/ploticus/files/patch-src-pl.c
Mark Linimon 04ca400c90 Update to 2.40. Major changes:
- added: proc catlines; proc tree; proc image.
 - deprecated: server-side image maps (use client-side instead); definition
   of categories within proc areadef (use proc categories instead); proc print.
 - discontinued attributes: proc processdata's stack; proc usedata's element,
   proc getdata's rotate, and proc defineunits (use the $changeunits()
   function instead).
 - proc rangebar has been renamed proc boxplot and there are major
   functionality changes. Any script that uses proc rangebar will need
   maintenance.
 - rewrite of parser.
 - many bugfixes.

For complete list, see http://ploticus.sourceforge.net/doc/news.html.
2008-09-02 22:14:43 +00:00

30 lines
1.2 KiB
C

--- src/pl.c.orig 2008-09-03 00:53:46.000000000 -0500
+++ src/pl.c 2008-09-03 00:54:16.000000000 -0500
@@ -151,7 +151,7 @@
else if( strcmp( arg, "-f" )==0 ) {
if( strlen( nextarg ) > MAXPATH-10 ) { /* allow extra for output file suffix add */
- fprintf( PLS.errfp, "pl: script file name too long" );
+ fprintf( PLS.errfp, "ploticus: script file name too long" );
PL_version_msg( 0 ); exit( 1 );
}
strcpy( scriptfile, nextarg );
@@ -180,7 +180,7 @@
if( !found && arg[0] == '-' ) Eerr( 4892, "warning, unrecognized argument", arg );
else if( !found && scriptfile[0] == '\0' ) {
if( strlen( arg ) > MAXPATH-10 ) { /* allow extra for output file suffix add */
- fprintf( PLS.errfp, "pl: script file name too long" );
+ fprintf( PLS.errfp, "ploticus: script file name too long" );
PL_version_msg( 0 ); exit( 1 );
}
strcpy( scriptfile, arg );
@@ -228,7 +228,7 @@
if( scriptfile[0] == '\0' ) {
- fprintf( PLS.diagfp, "usage: pl scriptfile [options] ...or... pl -prefab prefabname [options]\n" );
+ fprintf( PLS.diagfp, "usage: ploticus scriptfile [options] ...or... ploticus -prefab prefabname [options]\n" );
PL_version_msg( 0 );
}