summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /missing
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r--missing/alloca.c2
-rw-r--r--missing/flock.c4
-rw-r--r--missing/isinf.c2
-rw-r--r--missing/langinfo.c2
-rw-r--r--missing/os2.c4
5 files changed, 7 insertions, 7 deletions
diff --git a/missing/alloca.c b/missing/alloca.c
index d23917f3f7..efc1a77dff 100644
--- a/missing/alloca.c
+++ b/missing/alloca.c
@@ -6,7 +6,7 @@
This implementation of the PWB library alloca() function,
which is used to allocate space off the run-time stack so
- that it is automatically reclaimed upon procedure exit,
+ that it is automatically reclaimed upon procedure exit,
was inspired by discussions with J. Q. Johnson of Cornell.
It should work under any C implementation that uses an
diff --git a/missing/flock.c b/missing/flock.c
index b02f8bf832..763c49d675 100644
--- a/missing/flock.c
+++ b/missing/flock.c
@@ -27,7 +27,7 @@ int
flock(int fd, int operation)
{
struct flock lock;
-
+
switch (operation & ~LOCK_NB) {
case LOCK_SH:
lock.l_type = F_RDLCK;
@@ -44,7 +44,7 @@ flock(int fd, int operation)
}
lock.l_whence = SEEK_SET;
lock.l_start = lock.l_len = 0L;
-
+
return fcntl(fd, (operation & LOCK_NB) ? F_SETLK : F_SETLKW, &lock);
}
diff --git a/missing/isinf.c b/missing/isinf.c
index 4aef51b213..55187adc63 100644
--- a/missing/isinf.c
+++ b/missing/isinf.c
@@ -27,7 +27,7 @@ isinf(double n)
#include <ieeefp.h>
#endif
-/*
+/*
* isinf may be provided only as a macro.
* ex. HP-UX, Solaris 10
* http://www.gnu.org/software/automake/manual/autoconf/Function-Portability.html
diff --git a/missing/langinfo.c b/missing/langinfo.c
index 143ee0e820..9ba06b15f6 100644
--- a/missing/langinfo.c
+++ b/missing/langinfo.c
@@ -65,7 +65,7 @@ nl_langinfo_codeset(void)
{
const char *l, *p;
int n;
-
+
if (((l = getenv("LC_ALL")) && *l) ||
((l = getenv("LC_CTYPE")) && *l) ||
((l = getenv("LANG")) && *l)) {
diff --git a/missing/os2.c b/missing/os2.c
index 3448cdc281..27dc2f1964 100644
--- a/missing/os2.c
+++ b/missing/os2.c
@@ -94,14 +94,14 @@ char *cmd;
if (*s == '=')
goto doshell; */
for (s = cmd; *s; s++) {
- if (*sw == '-' && *s != ' ' &&
+ if (*sw == '-' && *s != ' ' &&
!isalpha(*s) && index("$&*(){}[]'\";\\|?<>~`\n",*s)) {
if (*s == '\n' && !s[1]) {
*s = '\0';
break;
}
goto doshell;
- } else if (*sw == '/' && *s != ' ' &&
+ } else if (*sw == '/' && *s != ' ' &&
!isalpha(*s) && index("^()<>|&\n",*s)) {
if (*s == '\n' && !s[1]) {
*s = '\0';