mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Fix 'dir .' (works as dir *)
Submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org>
This commit is contained in:
parent
3d78ca78db
commit
c1a43345ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22599
11
ftp/wu-ftpd+ipv6/files/patch-ap
Normal file
11
ftp/wu-ftpd+ipv6/files/patch-ap
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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';
|
||||
|
11
ftp/wu-ftpd/files/patch-ap
Normal file
11
ftp/wu-ftpd/files/patch-ap
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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';
|
||||
|
Loading…
Reference in New Issue
Block a user