NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / tests / test-posix_openpt.c
index 3ea701e..c399cab 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of posix_openpt function.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -42,7 +42,7 @@ main (void)
   char *name;
 
   /* Open the master of a pseudo-terminal pair.  */
-  master = posix_openpt(O_RDWR | O_NOCTTY);
+  master = posix_openpt (O_RDWR | O_NOCTTY);
   if (master < 0 && errno == ENOSYS)
     {
       fputs ("skipping: platform lacks pty support\n", stderr);
@@ -68,7 +68,7 @@ main (void)
   ASSERT (isatty (slave));
 
   /* Close the master side before the slave side gets closed.
-     This is necessary on MacOS X 10.4.11.  */
+     This is necessary on Mac OS X 10.4.11.  */
   ASSERT (close (master) == 0);
   ASSERT (close (slave) == 0);