Annotation of coherent/d/usr/bin/uucpstuff/dcp/FILE2, revision 1.1

1.1     ! root        1: dcp.c
        !             2: 85 c 85
        !             3: < 
        !             4: ---
        !             5: >      umask(077);
        !             6: dcpmisc.c
        !             7: dcpsys.c
        !             8: 525,533 c 525,531
        !             9: <      if ( lockttyexist(rdevname) ) {
        !            10: <              if ( role == MASTER ){
        !            11: <                      printmsg(M_DEBUG,"Sysend: calling undial and hangup routines.");
        !            12: <                      dcpundial();
        !            13: <              }else{
        !            14: <                      plog(M_CALL,"Sysend: Removing remote device lock file.");
        !            15: <                      if(unlocktty(rdevname) != 0){
        !            16: <                              plog(M_CALL,"sysend: Possible lock file removal failure.");
        !            17: <                      }
        !            18: ---
        !            19: >      if ( role == MASTER ){
        !            20: >              printmsg(M_DEBUG,"Sysend: calling undial and hangup routines.");
        !            21: >              dcpundial();
        !            22: >      }else{
        !            23: >              plog(M_CALL,"Sysend: Removing remote device lock file.");
        !            24: >              if(unlocktty(rdevname) != 0){
        !            25: >                      plog(M_CALL,"sysend: Possible lock file removal failure.");
        !            26: 536 a 535
        !            27: > 
        !            28: 546,548 c 545,549
        !            29: <              if(lockrm(rmtname) != 0){
        !            30: <                      printmsg(M_LOG,"sysend: Remote site Lock file removal failed!");
        !            31: <                      plog(M_CALL,"sysend: Remote site lock file removal failed!");
        !            32: ---
        !            33: >              if (lockexist(rmtname)){
        !            34: >                      if (!lockrm(rmtname)) {
        !            35: >                              printmsg(M_LOG,"sysend: Remote site Lock file removal failed!");
        !            36: >                              plog(M_CALL,"sysend: Remote site lock file removal failed!");
        !            37: >                      }
        !            38: dcpunix.c
        !            39: dcputil.c
        !            40: dcpxf2.c
        !            41: dcpxfer.c
        !            42: 311 c 311
        !            43: <              if ( (clinep[i]=strtok(sp, " \t\n")) == NULL )
        !            44: ---
        !            45: >              if ( (clinep[i]=strtok(sp, " \t\n")) == NULL ){
        !            46: 312 a 313
        !            47: >              }
        !            48: 316 a 318
        !            49: >      printmsg(M_SPOOL,"PERMISSIONS WATCH: cline[%d] is %o",i, clinep[i]);
        !            50: 361 a 364
        !            51: > 
        !            52: 487 a 491,501
        !            53: > 
        !            54: > /* this problem showed up in 4.0. When we request a file, nothing specifies
        !            55: >    the file permissions. This little ditty will take care of the problem.
        !            56: >    Now we check the value of nclinep, as it holds the place where we
        !            57: >    exitted the loop which parses the command received. If we broke out at 7,
        !            58: >    which is where the file permissions are stored, then we end up with garbage
        !            59: >    permissions in modep (which is clinep[7]). For these cases, we will default
        !            60: >    to permissions of 0644 and pray that the customers can live with it. 
        !            61: > 
        !            62: >    Bob H. 08/26/92 */
        !            63: > 
        !            64: 489 c 503
        !            65: <              (chmod(xtofile, getoct(modep)) == -1)) {
        !            66: ---
        !            67: >              (chmod(xtofile, (nclinep == 7 ? 0644:getoct(modep)) ) == -1)) {
        !            68: gpkt.c
        !            69: 36,37 c 36,37
        !            70: < #define SWINDOW              7       /* initial send window size */
        !            71: < #define RWINDOW              7       /* window size we want to recieve */
        !            72: ---
        !            73: > #define SWINDOW              6       /* initial send window size */
        !            74: > #define RWINDOW              6       /* window size we want to recieve */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.