"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "extension/build-aux/ar-lib" between
gawk-5.0.1.tar.xz and gawk-5.1.0.tar.xz

About: GNU awk - pattern scanning and processing language.

ar-lib  (gawk-5.0.1.tar.xz):ar-lib  (gawk-5.1.0.tar.xz)
#! /bin/sh #! /bin/sh
# Wrapper for Microsoft lib.exe # Wrapper for Microsoft lib.exe
me=ar-lib me=ar-lib
scriptversion=2012-03-01.08; # UTC scriptversion=2019-07-04.01; # UTC
# Copyright (C) 2010-2018 Free Software Foundation, Inc. # Copyright (C) 2010-2020 Free Software Foundation, Inc.
# Written by Peter Rosin <peda@lysator.liu.se>. # Written by Peter Rosin <peda@lysator.liu.se>.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option) # the Free Software Foundation; either version 2, or (at your option)
# any later version. # any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
skipping to change at line 55 skipping to change at line 55
{ {
file=$1 file=$1
case $file in case $file in
/ | /[!/]*) # absolute file, and not a UNC file / | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then if test -z "$file_conv"; then
# lazily determine how to convert abs files # lazily determine how to convert abs files
case `uname -s` in case `uname -s` in
MINGW*) MINGW*)
file_conv=mingw file_conv=mingw
;; ;;
CYGWIN*) CYGWIN* | MSYS*)
file_conv=cygwin file_conv=cygwin
;; ;;
*) *)
file_conv=wine file_conv=wine
;; ;;
esac esac
fi fi
case $file_conv in case $file_conv in
mingw) mingw)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;; ;;
cygwin) cygwin | msys)
file=`cygpath -m "$file" || echo "$file"` file=`cygpath -m "$file" || echo "$file"`
;; ;;
wine) wine)
file=`winepath -w "$file" || echo "$file"` file=`winepath -w "$file" || echo "$file"`
;; ;;
esac esac
;; ;;
esac esac
} }
skipping to change at line 226 skipping to change at line 226
@*) @*)
func_at_file "${1#@}" -EXTRACT "$archive" func_at_file "${1#@}" -EXTRACT "$archive"
;; ;;
*) *)
func_file_conv "$1" func_file_conv "$1"
$AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $? $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
;; ;;
esac esac
done done
else else
$AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member $AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \
do | while read member
$AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? do
done $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
done
fi fi
elif test -n "$quick$replace"; then elif test -n "$quick$replace"; then
if test ! -f "$orig_archive"; then if test ! -f "$orig_archive"; then
if test -z "$create"; then if test -z "$create"; then
echo "$me: creating $orig_archive" echo "$me: creating $orig_archive"
fi fi
orig_archive= orig_archive=
else else
orig_archive=$archive orig_archive=$archive
 End of changes. 5 change blocks. 
8 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)