Commit 6052e619 by Ian Lance Taylor

Fix sed expression which looks for <sys/types.h> in <pwd.h>

From-SVN: r13681
parent 26a20dde
#! /bin/sh
# Install modified versions of certain ANSI-incompatible
# native Sequent DYNIX/ptx System V Release 3.2 system include files.
# Copyright (C) 1994, 1996 Free Software Foundation, Inc.
# Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
# Contributed by Bill Burton <billb@progress.com>
# Portions adapted from fixinc.svr4 and fixincludes.
#
......@@ -125,7 +125,7 @@ if [ \! -z "$file_to_fix" ]; then
if grep stdio $file_to_fix > /dev/null; then
true
else
sed -e '/#include \<sys\types\.h\>/a\
sed -e '/#include <sys\/types\.h>/a\
\
#if defined(__STDC__) || defined(__cplusplus)\
#include <stdio.h>\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment