X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-posix_openpt.c;h=4093bb48729879db9c555866319efa0f52312b4c;hb=0ba087759d2797c8f7d3c34bef6268ba3fd212cb;hp=3ea701e32fdc23d1d637f14e77577e321915ecbc;hpb=94d63c4bfd95e7ff11c3dcbc1d60d276739f7f55;p=gnulib.git diff --git a/tests/test-posix_openpt.c b/tests/test-posix_openpt.c index 3ea701e32..4093bb487 100644 --- a/tests/test-posix_openpt.c +++ b/tests/test-posix_openpt.c @@ -1,5 +1,5 @@ /* Test of posix_openpt function. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2013 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);