diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/fileutils-exp.xml | 4 | ||||
-rw-r--r-- | chapter05/fileutils-inst.xml | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml index fdaa829fd..4203a5579 100644 --- a/chapter05/fileutils-exp.xml +++ b/chapter05/fileutils-exp.xml @@ -1,6 +1,10 @@ <sect2> <title>Command explanations</title> +<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup :</userinput> We +run this command in order to keep a backup of the file we are about to +change.</para> + <para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput> <userinput> lib/Makefile.in > tmp &&</userinput> <userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput> diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 792ff1dc1..d1e09cad5 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -7,7 +7,8 @@ limited to, Linux systems that run Glibc-2.2.3 with an AMD CPU (Athlons and Durons are the most reported used CPU's). If you are in this category, run the following to sed commands before you compile this package. -<screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput> +<screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &&</userinput> +<userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput> <userinput> lib/Makefile.in > tmp &&</userinput> <userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput> <userinput> tmp > lib/Makefile.in</userinput></screen></para> |