source: patches/net-tools-1.60-gcc4_fixes-1.patch@ 0fd3a9e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0fd3a9e was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 991 bytes
  • net-tools-1.

    Fixes "error: label at end of compound statement" issues
    diff -uNr net-tools-1.60-orig/hostname.c net-tools-1.60/hostname.c
    old new  
    9898            fprintf(stderr, _("%s: name too long\n"), program_name);
    9999            break;
    100100        default:
     101            ;
    101102        }
    102103        exit(1);
    103104    };
     
    117118            fprintf(stderr, _("%s: name too long\n"), program_name);
    118119            break;
    119120        default:
     121            ;
    120122        }
    121123        exit(1);
    122124    };
     
    174176        printf("%s\n", hp->h_name);
    175177        break;
    176178    default:
     179        ;
    177180    }
    178181}
    179182
  • lib/inet_sr.c

    diff -uNr net-tools-1.60-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
    old new  
    105105    case 2:
    106106       isnet = 0; break;
    107107    default:
     108        ;
    108109    }
    109110
    110111    /* Fill in the other fields. */
Note: See TracBrowser for help on using the repository browser.