OSSP CVS Repository

ossp - Check-in [366]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 366
Date: 2001-Jan-29 15:06:27 (local)
2001-Jan-29 14:06:27 (UTC)
User:rse
Branch:
Comment: *** empty log message ***
Tickets:
Inspections:
Files:
ossp-pkg/shtool/ChangeLog      1.143 -> 1.144     6 inserted, 0 deleted
ossp-pkg/shtool/THANKS      1.17 -> 1.18     1 inserted, 0 deleted
ossp-pkg/shtool/sh.slo      1.15 -> 1.16     5 inserted, 5 deleted

ossp-pkg/shtool/ChangeLog 1.143 -> 1.144

--- ChangeLog    2001/01/17 10:15:02     1.143
+++ ChangeLog    2001/01/29 14:06:27     1.144
@@ -11,6 +11,12 @@
  
  Changes between 1.5.1 and 1.5.2 (06-Jul-2000 to 15-Jan-2001):
 
+   *) Fixed IFS usage in `shtool slo': `OIFS="$IFS" IFS="..."' is not
+      portable, because some brain-dead Bourne-Shells (for instance /bin/sh
+      under Solaris 2.8) evaluate from right-to-left instead of the usual and
+      expected left-to-right. Fixed by adding a semicolon.
+      [Christoph Schug <chris@schug.net>, Ralf S. Engelschall]
+
    *) Created a new `-e <sed-cmd>' option for `shtool install' which can
       be used one or multiple times to apply one or more sed(1) commands
       on-the-fly to installed files.


ossp-pkg/shtool/THANKS 1.17 -> 1.18

--- THANKS       2000/06/14 19:01:26     1.17
+++ THANKS       2001/01/29 14:06:27     1.18
@@ -23,6 +23,7 @@
   o Benjamin Saller          <case@appliedtheory.com>
   o Sascha Schumann          <sascha@schumann.cx>
   o Yitzchak Scott-Thoennes  <sthoenna@efn.org>
+  o Christoph Schug          <chris@schug.net>
   o Peter Simons             <simons@cys.de>
   o Evgeny Stambulchik       <fnevgeny@plasma-gate.weizmann.ac.il>
   o Gopal Narayanan          <gopal@fcrao1.phast.umass.edu>


ossp-pkg/shtool/sh.slo 1.15 -> 1.16

--- sh.slo       2001/01/17 09:55:11     1.15
+++ sh.slo       2001/01/29 14:06:27     1.16
@@ -72,7 +72,7 @@
 LIBS_DSO=''
 
 #    for each library...
-OIFS="$IFS" IFS=':'
+OIFS="$IFS"; IFS=':'
 for lib in $LIBS; do
     [ ".$lib" = . ] && continue
 
@@ -82,14 +82,14 @@
     found_dir=''
 
     #    for each directory...
-    OIFS2="$IFS" IFS=":$DIFS"
+    OIFS2="$IFS"; IFS=":$DIFS"
     for dir in ${DIRS} switch-to-defdirs ${DIRS_DEFAULT}; do
         [ ".$dir" = . ] && continue
         [ ".$dir" = .switch-to-defdirs ] && found_indefdir=yes
         [ ! -d $dir ] && continue
 
         #    search the file
-        OIFS3="$IFS" IFS="$DIFS"
+        OIFS3="$IFS"; IFS="$DIFS"
         for file in '' `cd $dir && ls lib${lib}.* 2>/dev/null`; do
              [ ".$file" = . ] && continue
              case $file in
@@ -138,7 +138,7 @@
 IFS="$OIFS"
 
 #   also pass-through unused dirs even if it's useless
-OIFS="$IFS" IFS=':'
+OIFS="$IFS"; IFS=':'
 for dir in $DIRS; do
     dirlist="${DIRS_OBJ}:${DIRS_PIC}:${DIRS_DSO}:"
     if [ ".`echo \"$dirlist\" | fgrep :$dir:`" = . ]; then
@@ -149,7 +149,7 @@
 
 #   reassemble the options but separated by type
 for type in OBJ PIC DSO; do
-    OIFS="$IFS" IFS=':'
+    OIFS="$IFS"; IFS=':'
     eval "libs=\"\$LIBS_${type}\""
     opts=''
     for lib in $libs; do

CVSTrac 2.0.1