Print this page
6139 help gcc figure out variable initialization
*** 25,36 ****
*
* Device policy specific subroutines. We cannot merge them with
* drvsubr.c because of static linking requirements.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
--- 25,34 ----
*** 335,349 ****
if (tail == NULL)
tail = tok + strlen(tok);
tc = *tail;
*tail = '\0';
- if (delall || delrange) {
min = strchr(tok, ':');
! if (min)
*min++ = '\0';
- }
len = strlen(tok);
if (delrange) {
minor_t lo, hi;
char type;
--- 333,345 ----
if (tail == NULL)
tail = tok + strlen(tok);
tc = *tail;
*tail = '\0';
min = strchr(tok, ':');
! if (min && (delall || delrange))
*min++ = '\0';
len = strlen(tok);
if (delrange) {
minor_t lo, hi;
char type;