Deleted Added
full compact
cmds.c (27618) cmds.c (27635)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 1038 unchanged lines hidden (view full) ---

1047 register char *cp, *machine;
1048 int cnt = 0;
1049 FILE *fp;
1050
1051 /*
1052 * Look for a job item consisting of system name, colon, number
1053 * (example: ucbarpa:114)
1054 */
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 1038 unchanged lines hidden (view full) ---

1047 register char *cp, *machine;
1048 int cnt = 0;
1049 FILE *fp;
1050
1051 /*
1052 * Look for a job item consisting of system name, colon, number
1053 * (example: ucbarpa:114)
1054 */
1055 if ((cp = index(job, ':')) != NULL) {
1055 if ((cp = strchr(job, ':')) != NULL) {
1056 machine = job;
1057 *cp++ = '\0';
1058 job = cp;
1059 } else
1060 machine = NULL;
1061
1062 /*
1063 * Check for job specified by number (example: 112 or 235ucbarpa).

--- 88 unchanged lines hidden ---
1056 machine = job;
1057 *cp++ = '\0';
1058 job = cp;
1059 } else
1060 machine = NULL;
1061
1062 /*
1063 * Check for job specified by number (example: 112 or 235ucbarpa).

--- 88 unchanged lines hidden ---