asn1_compiler.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | asn1_compiler.c (c0d3b83100c896e1b0909023df58a0ebdd428d61) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* Simplified ASN.1 notation parser 3 * 4 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. 5 * Written by David Howells (dhowells@redhat.com) 6 */ 7 8#include <stdarg.h> --- 553 unchanged lines hidden (view full) --- 562 struct stat st; 563 ssize_t readlen; 564 FILE *out, *hdr; 565 char *buffer, *p; 566 char *kbuild_verbose; 567 int fd; 568 569 kbuild_verbose = getenv("KBUILD_VERBOSE"); | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* Simplified ASN.1 notation parser 3 * 4 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. 5 * Written by David Howells (dhowells@redhat.com) 6 */ 7 8#include <stdarg.h> --- 553 unchanged lines hidden (view full) --- 562 struct stat st; 563 ssize_t readlen; 564 FILE *out, *hdr; 565 char *buffer, *p; 566 char *kbuild_verbose; 567 int fd; 568 569 kbuild_verbose = getenv("KBUILD_VERBOSE"); |
570 if (kbuild_verbose) 571 verbose_opt = atoi(kbuild_verbose); | 570 if (kbuild_verbose && strchr(kbuild_verbose, '1')) 571 verbose_opt = true; |
572 573 while (argc > 4) { 574 if (strcmp(argv[1], "-v") == 0) 575 verbose_opt = true; 576 else if (strcmp(argv[1], "-d") == 0) 577 debug_opt = true; 578 else 579 break; --- 1032 unchanged lines hidden --- | 572 573 while (argc > 4) { 574 if (strcmp(argv[1], "-v") == 0) 575 verbose_opt = true; 576 else if (strcmp(argv[1], "-d") == 0) 577 debug_opt = true; 578 else 579 break; --- 1032 unchanged lines hidden --- |