char default_owner_str[OWNER_SIZE];
char default_group_str[GROUP_SIZE];
int udev_log;
-int udev_sleep;
int udev_dev_d;
strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE);
udev_log = string_is_true(UDEV_LOG_DEFAULT);
- udev_sleep = 1;
- env = getenv("UDEV_NO_SLEEP");
- if (env && string_is_true(env))
- udev_sleep = 0;
-
udev_dev_d = 1;
env = getenv("UDEV_NO_DEVD");
if (env && string_is_true(env))
continue;
}
- /* empty line? */
- if (bufline[0] == '\0' || bufline[0] == '\n')
- continue;
-
/* eat the whitespace */
- while (isspace(bufline[0])) {
+ while ((count > 0) && isspace(bufline[0])) {
bufline++;
count--;
}
+ if (count == 0)
+ continue;
/* see if this is a comment */
if (bufline[0] == COMMENT_CHARACTER)