Update to 2.02b.

This commit is contained in:
Akinori MUSHA 2003-03-03 00:16:54 +00:00
parent d08ee56d53
commit 3947d1c81a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76770
4 changed files with 2 additions and 43 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= fd
PORTVERSION= 2.02a
PORTREVISION= 1
PORTVERSION= 2.02b
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/

View file

@ -1 +1 @@
MD5 (FD-2.02a.tar.gz) = 8a20667ed0abce1809c15e2f2a210518
MD5 (FD-2.02b.tar.gz) = 964b139d705133d5b252b77d936193af

View file

@ -1,13 +0,0 @@
Taken from: [FDclone-users:00108]
diff -u old/pathname.c ./pathname.c
--- old/pathname.c Wed Dec 25 00:00:00 2002
+++ ./pathname.c Sun Feb 16 10:18:00 2003
@@ -1173,7 +1173,7 @@
else paren[plen++] = toupper2(s[i]);
}
}
- else if (!quote) switch (s[i]) {
+ else if (!quote && !metachar) switch (s[i]) {
case '?':
cp = wildsymbol1;
break;

View file

@ -1,27 +0,0 @@
Taken from: [FDclone-users:00109]
diff -u FD-2.02a/system.h ./system.h
--- FD-2.02a/system.h Wed Nov 20 09:44:57 2002
+++ ./system.h Mon Feb 17 02:27:11 2003
@@ -47,15 +47,20 @@
#define Xsigblock(o,m) ((o) = sigblock(m))
#endif /* !USESIGPMASK */
+#ifdef POSIX
+#define gettcpgrp(f, g) (g = tcgetpgrp(f))
+#define settcpgrp(f, g) tcsetpgrp(f, g)
+#else
#ifdef TIOCGPGRP
#define gettcpgrp(f, g) ((ioctl(f, TIOCGPGRP, &g) < 0) ? (g = -1) : g)
#else
-#define gettcpgrp(f, g) (g = tcgetpgrp(f))
+#define gettcpgrp(f, g) (-1)
#endif
#ifdef TIOCSPGRP
#define settcpgrp(f, g) ioctl(f, TIOCSPGRP, &(g))
#else
-#define settcpgrp(f, g) tcsetpgrp(f, g)
+#define settcpgrp(f, g) (-1)
+#endif
#endif
#if !MSDOS