freebsd-ports/ftp/wu-ftpd/files/patch-ap
Andrey A. Chernov c1a43345ca Fix 'dir .' (works as dir *)
Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
1999-10-24 11:44:34 +00:00

12 lines
258 B
Plaintext

--- src/glob.c.dist Tue Oct 5 11:54:42 1999
+++ src/glob.c Thu Oct 21 19:51:03 1999
@@ -107,7 +107,7 @@
fixpath(v);
if (v[0] == '\0')
- v = "*";
+ v = ".";
else if ((strlen(v) > 1) && (v[strlen(v) - 1] == '/'))
v[strlen(v) - 1] = '\0';