diff options
| author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-17 05:16:46 +0000 |
|---|---|---|
| committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-17 05:16:46 +0000 |
| commit | 669b92a91d046e4750cbeaedc3a5f9fc51948cb6 (patch) | |
| tree | 611fa9de31f07fbfc09af37a5eecb6aa51ec0060 /sysutils/stat/files/patch-ab | |
| parent | Mark DEPRECATED as the author no longer distributes it. (diff) | |
Make sure there is room for the terminating NUL character when
printing symlinks (bump PORTREVISION).
Mash the patches into one.
PR: ports/14824
Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
Approved by: wosch (maintainer, timeout 2228 days)
Notes
Notes:
svn path=/head/; revision=151360
Diffstat (limited to 'sysutils/stat/files/patch-ab')
| -rw-r--r-- | sysutils/stat/files/patch-ab | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sysutils/stat/files/patch-ab b/sysutils/stat/files/patch-ab deleted file mode 100644 index 7c912c4f9e4e..000000000000 --- a/sysutils/stat/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ ---- stat.fmt.c.orig Sun Feb 16 08:12:33 1997 -+++ stat.fmt.c Wed Nov 17 14:57:30 1999 -@@ -279,6 +279,8 @@ - break; - case S_IFSOCK: buf[5 + 0] = 's'; - break; -+ case S_IFIFO: buf[5 + 0] = 'p'; -+ break; - default : buf[5 + 0] = '?'; - } - } -@@ -328,6 +330,10 @@ - - case S_IFSOCK: - strcpy(buf, "Socket"); -+ break; -+ -+ case S_IFIFO: -+ strcpy(buf, "FIFO"); - break; - - default: |
