summaryrefslogtreecommitdiff
path: root/misc/fep/patches/patch-ab
blob: 0fb29eef114c58e28ecc47b5f327a11107ab4dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.3 2003/11/11 10:42:32 wiz Exp $

--- fep_alias.c.orig	Sun Nov 13 07:50:58 1988
+++ fep_alias.c
@@ -18,7 +18,7 @@ typedef struct _alias {
 
 ALIAS	alias_top = {"top", "top", (ALIAS *)0};
 ALIAS	*alias_list = &alias_top;
-CHAR	aliased_line[MAXCOMLEN+1];
+CHAR	aliased_line[MAXCMDLEN+1];
 
 /*
  * Functions
@@ -44,7 +44,7 @@ check_alias (comline)
 
     while (isspace (*comline))
 	++comline;
-    if (*comline == NULL)
+    if (*comline == '\0')
 	return ((CHAR *)0);
 
     argc = mkargv (comline, argv, MAXARGS);