diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-03-01 13:15:30 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-03-01 13:15:30 (GMT) |
commit | dcea37026eb5ee263368247940f0ee4c855f1d8a (patch) | |
tree | 4ffe8fc5aee450d1743a78ebccee795aa5865d58 /Demo | |
parent | 719cfc4864f4bbe941f85dae5eb4fdc403dc8400 (diff) | |
download | cpython-dcea37026eb5ee263368247940f0ee4c855f1d8a.zip cpython-dcea37026eb5ee263368247940f0ee4c855f1d8a.tar.gz cpython-dcea37026eb5ee263368247940f0ee4c855f1d8a.tar.bz2 |
Patch #524008: Fix portability bug on new POSIX hosts
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/pysvr/pysvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pysvr/pysvr.c b/Demo/pysvr/pysvr.c index 50a122c..cced6da 100644 --- a/Demo/pysvr/pysvr.c +++ b/Demo/pysvr/pysvr.c @@ -365,6 +365,6 @@ ps(void) { char buffer[100]; PyOS_snprintf(buffer, sizeof(buffer), - "ps -l -p %d </dev/null | tail +2l\n", getpid()); + "ps -l -p %d </dev/null | sed 1d\n", getpid()); system(buffer); } |