summaryrefslogtreecommitdiffstats
path: root/config.profiles/harmattan/readdir-hppa-test.c
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-10-11 14:06:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-11 07:02:14 +0200
commit0f957eef90d107ebcde07e787a7973f6366eac6b (patch)
tree342c0e6ca2c6fea1d12bb128e1d5e238e3e14586 /config.profiles/harmattan/readdir-hppa-test.c
parent27833629c6099fea4b7d59eb283748a12cb0d1da (diff)
Removed outdated config.profiles
These harmattan and symbian build scripts are very outdated for Qt5, and will not work. Get rid of them. Change-Id: Id050491b3975d138599b548367abf23356516457 Reviewed-on: http://codereview.qt-project.org/6383 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'config.profiles/harmattan/readdir-hppa-test.c')
-rw-r--r--config.profiles/harmattan/readdir-hppa-test.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/config.profiles/harmattan/readdir-hppa-test.c b/config.profiles/harmattan/readdir-hppa-test.c
deleted file mode 100644
index 52c7d14b50..0000000000
--- a/config.profiles/harmattan/readdir-hppa-test.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the config.tests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#include <sys/types.h>
-#include <dirent.h>
-#include <errno.h>
-#include <stdio.h>
-
-main() {
- int return_code;
- DIR *dir;
- struct dirent entry;
- struct dirent *result;
-
- if ((dir = opendir(".")) == NULL)
- perror("opendir() error");
- else {
- // puts("contents of .:");
- for (return_code = readdir_r(dir, &entry, &result);
- result != NULL && return_code == 0;
- return_code = readdir_r(dir, &entry, &result))
- printf("%s\n", entry.d_name);
- if (return_code != 0)
- perror("readdir_r() error");
- closedir(dir);
- }
-}
-