summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:04:41 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:04:41 -0700
commit8fd15eb0149cec75d69a27b1f8ec3ce092465b80 (patch)
treed36d08983a09be32084a0e4d979a5168e1d5ddfe
parent063bfa679adc2c00a6b55e5c9ee97f2aa0638788 (diff)
downloadxorg-lib-libXau-8fd15eb0149cec75d69a27b1f8ec3ce092465b80.tar.gz
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--AuLock.c2
-rw-r--r--README6
-rw-r--r--configure.ac2
3 files changed, 5 insertions, 5 deletions
diff --git a/AuLock.c b/AuLock.c
index c236027..1eab79a 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -76,7 +76,7 @@ long dead)
(void) unlink (link_name);
}
}
-
+
while (retries > 0) {
if (creat_fd == -1) {
creat_fd = open (creat_name, O_WRONLY | O_CREAT | O_EXCL, 0600);
diff --git a/README b/README
index 9ee12e7..249a1a7 100644
--- a/README
+++ b/README
@@ -38,7 +38,7 @@ This scheme involves changes to the following parts of the sample release:
- add entries to user's auth file
- remove entries from user's auth file
-This mechanism assumes that the superuser and the transport layer between
+This mechanism assumes that the superuser and the transport layer between
the client and the server is secure.
@@ -46,7 +46,7 @@ Description
The sample implementation will use the xdm Display Manager to set up and
control the server's authorization file. Sites that do not run xdm will
-need to build their own mechanisms.
+need to build their own mechanisms.
Xdm uses a random key (seeded by the system time and check sum of /dev/kmem)
to generate a unique sequence of characters at 16 bytes long. This sequence
@@ -130,7 +130,7 @@ There are three types of input:
name non-NULL, data NULL - use the named authorization; get
data from that mechanism's default.
name non-NULL, data non-NULL - use the given authorization and data.
-
+
This interface is used by xdm and might also be used by any other
applications that wish to explicitly set the authorization information.
diff --git a/configure.ac b/configure.ac
index 09a872e..c21fbcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ if test "x$xthreads" = "xyes" ; then
AC_CHECK_LIB(nsl, gethostbyname_r, [mtsafe=yes])
fi
if test "x$mtsafe" = "xyes" ; then
- AC_DEFINE(XUSE_MTSAFE_API, 1,
+ AC_DEFINE(XUSE_MTSAFE_API, 1,
[Whether libXau needs to use MT safe API's])
fi