aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-08-05 16:51:59 +0000
committerWerner Koch <[email protected]>1998-08-05 16:51:59 +0000
commit9b609091ab3249a41c3a9f2417ba0250405792c8 (patch)
treeeac3b271488722262dd71f003641d88d35fb64a1 /tools
parentadd coprocess facility (diff)
downloadgnupg-9b609091ab3249a41c3a9f2417ba0250405792c8.tar.gz
gnupg-9b609091ab3249a41c3a9f2417ba0250405792c8.zip
intermediate check in
Diffstat (limited to 'tools')
-rw-r--r--tools/shmtest.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/shmtest.c b/tools/shmtest.c
index 3f56669d6..5d8e01910 100644
--- a/tools/shmtest.c
+++ b/tools/shmtest.c
@@ -103,15 +103,6 @@ main(int argc, char **argv)
if( argc < 1 )
my_usage();
- #if 0
- shm_ID = atoi( argv[1] );
- pool = shmat( shm_ID, 0, 0 );
- if( pool == (void*)-1 )
- log_fatal("shmat of %d failed: %s\n", shm_ID, strerror(errno));
- log_info("attached to %p id=%d\n", pool, shm_ID );
- getchar();
- #endif
-
for(n=0,i=1; i < argc; i++ )
n += strlen(argv[i]) + 1;
p = m_alloc( 100 + n );