summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/scandir.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
commit50f32b11653429546d7b8ff2693b5232b885e201 (patch)
treea8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/src/scandir.c
parentRemove stray white spaces. (diff)
downloadrtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/scandir.c')
-rw-r--r--cpukit/libcsupport/src/scandir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/scandir.c b/cpukit/libcsupport/src/scandir.c
index e8ef3212d5..a17c070cc9 100644
--- a/cpukit/libcsupport/src/scandir.c
+++ b/cpukit/libcsupport/src/scandir.c
@@ -3,7 +3,7 @@
*
* This was copied from Newlib 1.8.0.
*
- *
+ *
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
@@ -99,7 +99,7 @@ scandir(dirname, namelist, select, dcomp)
/*
* estimate the array size by taking the size of the directory file
- * and dividing it by a multiple of the minimum size entry.
+ * and dividing it by a multiple of the minimum size entry.
*/
arraysz = (stb.st_size / 24);
names = (struct dirent **)malloc(arraysz * sizeof(struct dirent *));
@@ -145,7 +145,7 @@ cleanup_and_bail:
if ( dirp )
closedir( dirp );
-
+
if ( names ) {
for (i=0; i < nitems; i++ )
free( names[i] );