File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # $Id: genif.sh,v 1.1 2000-12-20 17:21:37 sas Exp $
3
+ # $Id: genif.sh,v 1.2 2001-03-30 14:02:20 sas Exp $
4
4
# replacement for genif.pl
5
5
6
6
infile=" $1 "
@@ -23,7 +23,7 @@ olddir=`pwd`
23
23
cd $srcdir
24
24
25
25
for ext in ${1+" $@ " } ; do
26
- module_ptrs=" phpext_${ext} _ptr,\\ \n $module_ptrs "
26
+ module_ptrs=" phpext_${ext} _ptr,@NEWLINE@ $module_ptrs "
27
27
header_list=" $header_list ext/$ext /*.h"
28
28
done
29
29
@@ -35,7 +35,7 @@ cat $infile | \
35
35
sed \
36
36
-e " s'@EXT_INCLUDE_CODE@'$includes '" \
37
37
-e " s'@EXT_MODULE_PTRS@'$module_ptrs '" \
38
- -e ' s/[\]n /\
38
+ -e ' s/@NEWLINE@ /\
39
39
/g'
40
40
41
41
Original file line number Diff line number Diff line change 1
1
/phpext_ / {
2
2
if (old_filename != FILENAME ) {
3
- printf " #include \" " FILENAME " \"\\\\ n "
3
+ printf " #include \" " FILENAME " \" @NEWLINE@ "
4
4
old_filename = FILENAME
5
5
}
6
6
}
You can’t perform that action at this time.
0 commit comments