Use run_program_prefix.
authorAndreas Jaeger <aj@suse.de>
Sun, 11 Feb 2001 12:07:07 +0000 (12:07 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 11 Feb 2001 12:07:07 +0000 (12:07 +0000)
libio/Makefile
libio/test-freopen.sh
manual/resource.texi

index e6a9bb7ac2350f0fe03140282bebaaba3110a075..80d84e549d5f87c169f63d111cd9984395966477 100644 (file)
@@ -100,4 +100,5 @@ include ../Rules
 tests: $(objpfx)test-freopen.out
 
 $(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
-       $(SHELL) -e $< $(common-objpfx) $(common-objpfx)libio/
+       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)'         \
+       $(common-objpfx)libio/
index 86ce0c52608845315f667ce0f3dfea812560e070..c89e92bf934761753db7283bc16e2200f6459a6e 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test of freopen.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001 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
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 common_objpfx=$1
-objpfx=$2
+run_program_prefix=$2
+objpfx=$3
 
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
-${objpfx}test-freopen ${objpfx}test-freopen.out &&
+${run_program_prefix} ${objpfx}test-freopen ${objpfx}test-freopen.out &&
 cmp ${objpfx}test-freopen.out - <<"EOF"
 Hello world (mb)
 Hello world (wc)
index 3aa3f1650fb045184432b1e1f9141b860db0ebcf..48e0ac0b72cc069c08c4f195345e470b74cf5654 100644 (file)
@@ -1244,11 +1244,11 @@ nice (int increment)
 
 The amount of memory available in the system and the way it is organized
 determines oftentimes the way programs can and have to work.  For
-functions like @code{mman} it is necessary to know about the size of
+functions like @code{mmap} it is necessary to know about the size of
 individual memory pages and knowing how much memory is available enables
 a program to select appropriate sizes for, say, caches.  Before we get
 into these details a few words about memory subsystems in traditional
-Unix systems.
+Unix systems will be given.
 
 @menu
 * Memory Subsystem::           Overview about traditional Unix memory handling.