diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2016-05-02 20:51:36 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2016-05-02 20:51:36 +0000 |
commit | 8f0b9406f0380cff6b0b14588a4a51eaaf887dea (patch) | |
tree | c795502625d6e7b554874acc7eb83f8a98ec206d | |
parent | e80631060643738ec4645384aee7563842ebb033 (diff) |
Remove pointless comment. getcwd(3) is safe.
OK millert@
-rw-r--r-- | usr.bin/vi/ex/ex_cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/ex/ex_cd.c b/usr.bin/vi/ex/ex_cd.c index 6006618377f..b56843b0ebd 100644 --- a/usr.bin/vi/ex/ex_cd.c +++ b/usr.bin/vi/ex/ex_cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ex_cd.c,v 1.13 2016/05/02 18:24:25 martijn Exp $ */ +/* $OpenBSD: ex_cd.c,v 1.14 2016/05/02 20:51:35 martijn Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -36,7 +36,7 @@ ex_cd(SCR *sp, EXCMD *cmdp) struct passwd *pw; ARGS *ap; char savech; - char *dir, *p, *t; /* XXX: END OF THE STACK, DON'T TRUST GETCWD. */ + char *dir, *p, *t; char buf[PATH_MAX * 2]; /* |