summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-bc
blob: b961d918bc8a67af7c299e7186364edd69b26c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bc,v 1.2 1998/08/07 10:40:50 agc Exp $

--- ./pbm/pbmmerge.c.orig	Wed Nov  3 04:28:55 1993
+++ ./pbm/pbmmerge.c	Sat Aug 12 23:51:57 1995
@@ -29,6 +29,10 @@
 	{
 	++argv;
 	--argc;
+	if(!*argv)	{
+		fprintf(stderr, "Usage: pbmmerge pbm_program_name [args ...]\n");
+		exit(1);
+		}
 	goto again;
 	}