summaryrefslogtreecommitdiff
path: root/sysdeps/posix/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/system.c')
-rw-r--r--sysdeps/posix/system.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
index 4ba9cff4d4..e8b921febb 100644
--- a/sysdeps/posix/system.c
+++ b/sysdeps/posix/system.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -181,15 +181,6 @@ __libc_system (const char *line)
not be available after a chroot(), for example. */
return do_system ("exit 0") == 0;
- if (SINGLE_THREAD_P)
- return do_system (line);
-
- int oldtype = LIBC_CANCEL_ASYNC ();
-
- int result = do_system (line);
-
- LIBC_CANCEL_RESET (oldtype);
-
- return result;
+ return do_system (line);
}
weak_alias (__libc_system, system)