This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for libio/tst-widetext.c


"H . J . Lu" <hjl@lucon.org> writes:

> My kernel is something very similar to RedHat 7.0 beta. It may also
> have something to do with bash 2.04 and make 3.79.1 in RedHat 7.0 beta.

I'm using bash 2.04 and make 3.79. (not .1).  But not glibc 2.2 in the
moment.

> BTW, I have mentioned that it is ok to run by hand. It fails only
> when it is run through make.

I haven't heard this before.  I think it's a problem somewhere else
then and we shouldn't hide it.

Can you try running the appended script?

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2000-08-01 10:52 PDT by <drepper@myware.mynet>.
# Source directory was `/home/drepper'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     96 -rwxrwxr-x sh1
#     21 -rwxrwxr-x sh2
#     19 -rw-rw-r-- m
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh01076; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= sh1 ==============
if test -f 'sh1' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sh1' '(file already exists)'
else
  $echo 'x -' extracting 'sh1' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sh1' &&
#! /bin/sh
ulimit -a
echo '*****************************************************'
make -f m all
SHAR_EOF
  (set 20 00 08 01 10 52 10 'sh1'; eval "$shar_touch") &&
  chmod 0775 'sh1' ||
  $echo 'restore of' 'sh1' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sh1:' 'MD5 check failed'
a731d9f63977484397decc2c3d3f38f4  sh1
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sh1'`"
    test 96 -eq "$shar_count" ||
    $echo 'sh1:' 'original size' '96,' 'current size' "$shar_count!"
  fi
fi
# ============= sh2 ==============
if test -f 'sh2' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sh2' '(file already exists)'
else
  $echo 'x -' extracting 'sh2' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sh2' &&
#! /bin/sh
ulimit -a
SHAR_EOF
  (set 20 00 08 01 10 51 38 'sh2'; eval "$shar_touch") &&
  chmod 0775 'sh2' ||
  $echo 'restore of' 'sh2' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sh2:' 'MD5 check failed'
7f19951502a52a4dabd952f839ab6709  sh2
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sh2'`"
    test 21 -eq "$shar_count" ||
    $echo 'sh2:' 'original size' '21,' 'current size' "$shar_count!"
  fi
fi
# ============= m ==============
if test -f 'm' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'm' '(file already exists)'
else
  $echo 'x -' extracting 'm' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'm' &&
all:
X	$(SHELL) sh2
SHAR_EOF
  (set 20 00 08 01 10 51 50 'm'; eval "$shar_touch") &&
  chmod 0664 'm' ||
  $echo 'restore of' 'm' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'm:' 'MD5 check failed'
51a3aba7da6cfd3fddb0b2ce646eb5fd  m
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'm'`"
    test 19 -eq "$shar_count" ||
    $echo 'm:' 'original size' '19,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh01076
exit 0

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]