equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved. |
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Use is subject to license terms. |
|
4 */ |
3 */ |
5 |
|
6 #pragma ident "%Z%%M% %I% %E% SMI" |
|
7 |
4 |
8 /**************************************************************************** |
5 /**************************************************************************** |
9 |
6 |
10 Copyright (c) 1999,2000 WU-FTPD Development Group. |
7 Copyright (c) 1999,2000 WU-FTPD Development Group. |
11 All rights reserved. |
8 All rights reserved. |
835 if (strcasecmp(class, ARG[which]) == 0) |
832 if (strcasecmp(class, ARG[which]) == 0) |
836 show++; |
833 show++; |
837 } |
834 } |
838 if (show) { |
835 if (show) { |
839 globerr = NULL; |
836 globerr = NULL; |
840 filelist = ftpglob(ARG0); |
837 filelist = ftpglob(ARG0, B_TRUE); |
841 sfilelist = filelist; /* save to free later */ |
838 sfilelist = filelist; /* save to free later */ |
842 if (!globerr) { |
839 if (!globerr) { |
843 while (filelist && *filelist) { |
840 while (filelist && *filelist) { |
844 errno = 0; |
841 errno = 0; |
845 if (!stat(*filelist, &buf) && |
842 if (!stat(*filelist, &buf) && |