Patch Name: PHSS_7249 Patch Description: s700_800 10.X SoftBench C.05.01 cumulative patch Creation Date: 96/04/12 Post Date: 96/05/14 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 s800: 10.00 10.01 10.10 Products: SoftBench C.05.01 Filesets: SB-BMSFramework.SB-BMS SB-BMSFramework.SB-BMSFW SB-BMSFramework.SB-MSGCONN SB-CPersonality.SB-C SB-CXXPersnlty.SB-CXX SB-Encapsulator.SB-ENCAP SB-SoftBenchCore.SB-COMMON SB-SoftBenchCore.SB-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_7249 Symptoms: PHSS_7249: Cumulative problems Continuus CM system requires that symlinks be ignored. Static has problems with scoping in case-insensitive languages. DM appears to be doing its own symlink resolution (outside of WUSR). If Softdm.setContextOnBrowse set, then "[ ]ReuseToolWindows" works backwards. DM dumps core when sent a SET-CONTEXT request with a non-existent dir. DM dumps core if user [OK]s default values in Set Context dialog box. DM dumps core when try to copy multiple files to a directory. DM will not respond to BMS message DIRECTORY-CD if cwd is a symbolic link. >From ANY DM, can NOT EDIT a new file using the File:Edit... menu pulldown. In ANY DM, the File:Set Context... menu very rarely works. Pastes between SoftBench windows often have garbage characters appended. Softeditsrv dumps core when sent SET-CONTEXT request w/ nonexistent dir. Softedit has problems with filenames containing commas. Message Connector can't enable routines when DIR is canonical. Message Connector goes into infinite loop when sent SET-CONTEXT with nonexistent dir. Use of encap_save_file() function causes encapsulation to core dump. Softstatic Class Editor has a null pointer when there is a null file name. Toolbar "Options: Tool Preferences"selection is not completely configurable for CM tools other than: SCCS, RCS or SoftCM. Defect Description: PHSS_7249: Cumulative patch Problems accessing data from certain 3rd party CM systems, e.g. Continuus. The filenames in the workarea for the Continuus CM system is a symbolic link into their database. Files with names such as hello.c will get translated to #abc,123 when stored or retrieved from the database. SoftBench resolves all symbolic links with a absolute path down to the filename. Thus tools like Softedit will have a list of open files by the name of #abc,123 or #def,456. These are not meaningful names to the human being. The symbolic link names are: hello.c util.c etc. This patch adds a variable to the library libfw.sl called IGNORE_SYMLINKS = 1. With this variable set in the wusr.conf file absolute paths to filenames terminate at the symbolic link name. With this feature active Softedit displays filenames like hello.c and util.c. These are the desired names for the human being. This variable is set in the $HOME/.softbench/wusr.conf file or /usr/softbench/config/wusr.conf. Read the man page wusr.conf for more details. ------------------------------------------------------ Static source code has been modified to deal with case-insensitive languages. DM source code has been modified so that it closely follows WUSR rules. Now use of a flag that short-circuits the WUSR symlink-resolution logic has the intended effect for tool DM. DM source code has been mofified so that Softdm.setContextOnBrowse set, "[ ]ReuseToolWindows" works correctly. DM source code fixed so that sending a SET-CONTEXT request with a non-existent dir does fail without doing a core dump. DM source code fixed so that user selection of OK]s default values in Set Context dialog box works properly. DM source code modified so that core dump is eliminated when copying multiple files to a directory. DM source code modified so that it properly responds to BMS message DIRECTORY-CD if cwd is a symbolic link. DM source code modified so that it properly responds to a new file using the File:Edit... menu pulldown. DM source code modified so that it properly responds to the File:Set Context... menu. Softedit source code fixed to eliminate "garbage" char's on "Paste's" between SoftBench windows. Softeditsrv code fixed to eliminate core dumps when sent SET-CONTEXT request w/ nonexistent dir. Softedit turns a comma in the filename into spaces when putting together request messages to send to MSGSH (for example, when using the "System:Print File" menu pick). The source code has been modified to handle comma as a char in the filename. Message Connector source code has been fixed to enable routines when DIR is canonical. Message Connector source code has been fixed to eliminate the infinite loop when sent SET-CONTEXT with nonexistent dir. Encapsulation source code has been fixed to eliminate the core dump when function encap_save_file() is used. Softstatic Class Editor source code modified to eliminate null pointer when there is a null file name. Toolbar source code has been modified so that users have additional choices beyond SCCS, RCS or SoftCM as the basic CM tool. SR: 4000123729 4000123513 Patch Files: /opt/softbench/lib/SB5.0/Static/libgraphedit-5.sl /opt/softbench/lib/SB5.0/Static/libStaticDataStore-5.sl /opt/softbench/lib/SB5.0/libfw-5.sl /opt/softbench/lib/SB5.0/libXe-5.sl /opt/softbench/lib/SB5.0/libsadb-5.sl /opt/softbench/lib/SB5.0/libencap.a /opt/softbench/lib/SB5.0/libencap-5.sl /opt/softbench/lib/SB5.0/libXeEdit-5.sl /opt/softbench/lib/SB5.0/libXeGraph-5.sl /opt/softbench/lbin/sbparse /opt/softbench/bin/softmc /opt/softbench/bin/softmcedit /opt/softbench/bin/softdm /opt/softbench/bin/softeditsrv /opt/softbench/bin/softedit /opt/softbench/bin/softbench /opt/softbench/examples/encap/display_objs/objects.c /opt/softbench/examples/encap/spc_obj/Makefile /opt/softbench/examples/encap/README /opt/softbench/config/builderr.fmt /opt/softbench/newconfig/opt/softbench/config/builderr.fmt /opt/softbench/menus/Build/BUILD/Build/MDF.m what(1) Output: /opt/softbench/lib/SB5.0/Static/libgraphedit-5.sl: REV: 960409.152351, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/lib/SB5.0/Static/libStaticDataStore-5.sl: REV: 960410.164201, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/lib/SB5.0/libfw-5.sl: REV: 960319.154250, 9000/712 HP-UX B.10.01 masonbld@ blue /opt/softbench/lib/SB5.0/libXe-5.sl: REV: 960409.151417, 9000/720 HP-UX B.10.01 masonbld@ boojum /opt/softbench/lib/SB5.0/libsadb-5.sl: REV: 960410.163121, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal DB 2.03 CodeCrafter 2 /opt/softbench/lib/SB5.0/libencap.a: BMSFW ProdVer = C.05.00 BMSFW Product = SoftBench Encapsulator BMSFW Vendor = HP BMSFW Version = 5.00 REV: 960410.134521, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/lib/SB5.0/libencap-5.sl: BMSFW ProdVer = C.05.00 BMSFW Product = SoftBench Encapsulator BMSFW Vendor = HP BMSFW Version = 5.00 REV: 960410.135112, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/lib/SB5.0/libXeEdit-5.sl: None /opt/softbench/lib/SB5.0/libXeGraph-5.sl: REV: 960416.150757, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960416.150757, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960416.150757, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960416.150757, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960416.150757, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/lbin/sbparse: REV: Unsupported version; Do Not Distribute; Use at your own risk! REV: 960410.161945, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal DB 2.03 CodeCrafter 2 /usr/lib/libc: $Revision: 1.6 $ /opt/softbench/bin/softmc: REV: 960131.165752, 9000/715 HP-UX B.10.10 masonbld@ zelda /opt/softbench/bin/softmcedit: REV: 960131.165934, 9000/720 HP-UX B.10.01 masonbld@ boojum /opt/softbench/bin/softdm: REV: 960417.081642, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960417.081642, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal REV: 960417.081642, 9000/720 HP-UX B.10.10 masonbld@ hpfcdal /opt/softbench/bin/softeditsrv: REV: 960411.141901, 9000/720 HP-UX B.10.01 masonbld@ boojum REV: 960411.141901, 9000/720 HP-UX B.10.01 masonbld@ boojum REV: 960411.141901, 9000/720 HP-UX B.10.01 masonbld@ boojum /opt/softbench/bin/softedit: REV: 960411.141902, 9000/720 HP-UX B.10.01 masonbld@ boojum /opt/softbench/bin/softbench: Revision 960418.153804.2 on boojum REV: 960418.153804, 9000/720 HP-UX B.10.01 masonbld@ boojum REV: 960418.153804, 9000/720 HP-UX B.10.01 masonbld@ boojum REV: 960418.153804, 9000/720 HP-UX B.10.01 masonbld@ boojum REV: 960418.153804, 9000/720 HP-UX B.10.01 masonbld@ boojum /opt/softbench/examples/encap/display_objs/objects.c: None /opt/softbench/examples/encap/spc_obj/Makefile: None /opt/softbench/examples/encap/README: None /opt/softbench/menus/Build/BUILD/Build/MDF.m: None /opt/softbench/config/builderr.fmt: None /opt/softbench/newconfig/opt/softbench/config/builderr.fmt: None cksum(1) Output: 213821112 390552 /opt/softbench/lib/SB5.0/Static/ libgraphedit-5.sl 34409652 333819 /opt/softbench/lib/SB5.0/Static/ libStaticDataStore-5.sl 1452249141 288159 /opt/softbench/lib/SB5.0/libfw-5.sl 1058029434 625386 /opt/softbench/lib/SB5.0/libXe-5.sl 133139192 427968 /opt/softbench/lib/SB5.0/libsadb-5.sl 2016226001 550714 /opt/softbench/lib/SB5.0/libencap.a 2711403261 546978 /opt/softbench/lib/SB5.0/libencap-5.sl 3111161301 518440 /opt/softbench/lib/SB5.0/libXeEdit-5.sl 1043724124 1990557 /opt/softbench/lib/SB5.0/libXeGraph-5.sl 1706761978 3677746 /opt/softbench/lbin/sbparse 3988173951 156060 /opt/softbench/bin/softmc 703413247 172498 /opt/softbench/bin/softmcedit 77121033 250913 /opt/softbench/bin/softdm 2523148255 226187 /opt/softbench/bin/softeditsrv 1476459735 3584 /opt/softbench/bin/softedit 2809392308 1227587 /opt/softbench/bin/softbench 3373615557 15377 /opt/softbench/examples/encap/display_objs/ objects.c 61285519 5826 /opt/softbench/examples/encap/spc_obj/Makefile 690521754 7936 /opt/softbench/examples/encap/README 2839696180 6841 /opt/softbench/menus/Build/BUILD/Build/MDF.m 2292908830 22524 /opt/softbench/config/builderr.fmt 2292908830 22524 /opt/softbench/newconfig/opt/softbench/ config/builderr.fmt Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 11250 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_7249 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_7249.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_7249.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_7249. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_7249.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_7249.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None