Page MenuHomeFreeBSD

D53499.diff
No OneTemporary

D53499.diff

diff --git a/bin/sh/eval.c b/bin/sh/eval.c
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -794,6 +794,12 @@
if (idx == EXPORTCMD || idx == TRAPCMD || idx == ULIMITCMD ||
idx == UMASKCMD)
return (argc <= 1 || (argc == 2 && argv[1][0] == '-'));
+ if (idx == HASHCMD)
+ return (argc <= 1 ||
+ (argc == 2 && argv[1][0] == '-' && argv[1][1] == 'v'));
+ if (idx == ALIASCMD)
+ return (argc <= 1 ||
+ (argc == 2 && (strchr(argv[1], '=') == NULL)));
if (idx == SETCMD)
return (argc <= 1 || (argc == 2 && (argv[1][0] == '-' ||
argv[1][0] == '+') && argv[1][1] == 'o' &&

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 27, 2:35 AM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24608734
Default Alt Text
D53499.diff (593 B)

Event Timeline