diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:30:46 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:30:46 -0700 |
commit | f7bcc00522e06e33ddb1ff4974c3b15a44d1005f (patch) | |
tree | 09b0798a44346368598fdc821eeb63f7983c62f6 | |
parent | a03d98d49cd2f2ef6aa6d2ecaf611cccfad7a919 (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | xconsole.c | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index 736f8ca..2619c76 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR diff --git a/configure.ac b/configure.ac index 09da088..adf3033 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Copyright 2005 Red Hat, Inc. -dnl +dnl dnl Permission to use, copy, modify, distribute, and sell this software and its dnl documentation for any purpose is hereby granted without fee, provided that dnl the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ dnl advertising or publicity pertaining to distribution of the software without dnl specific, written prior permission. Red Hat makes no dnl representations about the suitability of this software for any purpose. It dnl is provided "as is" without express or implied warranty. -dnl +dnl dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR @@ -51,7 +51,7 @@ AC_SUBST(appdefaultdir) AC_SEARCH_LIBS(openpty, [util]) AC_CHECK_FUNC(openpty, [HAS_OPENPTY="yes"]) if test "x$HAS_OPENPTY" = "xyes" ; then - AC_DEFINE([HAS_OPENPTY], 1, + AC_DEFINE([HAS_OPENPTY], 1, [Define to 1 if you have the 'openpty' function.]) AC_CHECK_HEADERS([util.h pty.h], [break]) fi @@ -167,7 +167,7 @@ static XrmOptionDescRec options[] = { * devpts. This is the fallback if open file FILE_NAME fails. * <werner@suse.de> */ -# define USE_PTS +# define USE_PTS # endif #endif @@ -283,7 +283,7 @@ OpenConsole(void) } # endif #endif - + #ifdef USE_PTY if (!input && get_pty (&pty_fd, &tty_fd, ttydev, ptydev) == 0) { @@ -538,7 +538,7 @@ inputReady(XtPointer w, int *source, XtInputId *id) stripNonprint (buffer); n = strlen (buffer); } - + TextAppend ((Widget) text, buffer, n); } } @@ -984,7 +984,7 @@ osm_pipe(void) return NULL; #if defined (_AIX) if ((tty = open("/dev/ptc", O_RDWR)) < 0) -#else +#else if ((tty = open("/dev/ptmx", O_RDWR)) < 0) #endif return NULL; |