This file is indexed.

/usr/share/gccxml-0.9/Sun/5.8/adapt_headers.sh is in gccxml 0.9.0+git20140716-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

cd `dirname $0`

#########################################
# Patch STL Headers (Non-STLport)
#########################################

CC_INCLUDES=`../find_flags "$@" | perl -ne '($a) = m|-I([/a-zA-Z0-9\._-]+/include/CC)|o ; print "$a\n" if $a'`

mkdir -p rw

cp $CC_INCLUDES/typeinfo .
cp $CC_INCLUDES/Cstd/istream .
cp $CC_INCLUDES/Cstd/ostream .
cp $CC_INCLUDES/Cstd/streambuf .
cp $CC_INCLUDES/Cstd/string .
cp $CC_INCLUDES/Cstd/algorithm .
cp $CC_INCLUDES/Cstd/rw/iterator rw/iterator

gpatch -p1 < Cstd.patch

#########################################
# Patch the standard headers
#########################################

if [ `uname -r` = "5.10" ]
then
  mkdir -p iso
  cp /usr/include/iso/stdlib_iso.h iso
  gpatch -p1 < std-5.10.patch
fi