]> sourceware.org Git - systemtap.git/commitdiff
2007-07-16 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Mon, 16 Jul 2007 21:12:55 +0000 (21:12 +0000)
committerhunt <hunt>
Mon, 16 Jul 2007 21:12:55 +0000 (21:12 +0000)
* select.c (main): Ifdef SYS_pselect6.
* poll.c (main): Ifdef SYS_ppoll.

testsuite/systemtap.syscall/ChangeLog
testsuite/systemtap.syscall/poll.c
testsuite/systemtap.syscall/select.c

index 34bdf6648aa30ac0f6891f6a1bc6d61d20f94461..3f3d58f5b44d77b875a220c60dfc6d88b726a63f 100644 (file)
@@ -1,9 +1,17 @@
 2007-07-16  Martin Hunt  <hunt@redhat.com>
 
+       * select.c (main): Ifdef SYS_pselect6.
+       * poll.c (main): Ifdef SYS_ppoll.
+
+2007-07-16  Martin Hunt  <hunt@redhat.com>
+       
        * select.c, poll.c: New.
 
 2007-07-10  Martin Hunt  <hunt@redhat.com>
 
+       * futimes.c (main): Ifdef out futimesat tests
+       if not defined.
+
        * uid16.c (main): 16-bit syscalls now have
        the same name as 32-bit. Fix patterns.
 
index 436a56f735bc14d72de3cee3b2497a3189b9f19d..2b2f5e488097a43da62fbd3c74a387bc3521a776 100644 (file)
@@ -28,8 +28,10 @@ int main()
   poll(&pfd, 1, 0);
   // poll (XXXX, 1, 0)
 
+#ifdef SYS_ppoll
   ppoll(&pfd, 1, &tim, &sigs);
   //  ppoll (XXXX, 1, \[0.200000000\], XXXX, 8)
+#endif
 
   return 0;
 }
index 1e0823a4fd61c088d4d46fd554d289ff0e416f57..d74946c2e584b85c6ecc8a58c92b22fe453d7b55 100644 (file)
@@ -24,11 +24,13 @@ int main()
   select( 1, NULL, NULL, NULL, &tv);
   // select (1, 0x[0]+, 0x[0]+, 0x[0]+, \[0.000113\])
 
+#ifdef SYS_pselect6
   pselect( 1, &rfds, NULL, NULL, &tim, &sigs);
   //pselect[67] (1, XXXX, 0x[0]+, 0x[0]+, \[0.200000000\], XXXX)
 
   pselect( 0, NULL, NULL, NULL, &tim, &sigs);
   // pselect[67] (0, 0x[0]+, 0x[0]+, 0x[0]+, \[0.200000000\], XXXX) =
+#endif
 
   return 0;
 }
This page took 0.030628 seconds and 5 git commands to generate.