From nobody Mon Jun 5 00:44:08 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZFGw4ttbz4ZqDP for ; Mon, 5 Jun 2023 00:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZFGw3Dj6z42Kn for ; Mon, 5 Jun 2023 00:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685925848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2y/oVMqs6Y0UmZwMqPWHvDQGt68eZEt6rDa/wVeetS8=; b=mtG4aCDeyyypDgkTVyhm4V7dsZX6zHaklt1cLIrwBQoBQMJFiQutlL5NXJptPv9I/zHWHP LWUiq2vQZR7Rg7NJqi+vUfrvnWwUSqDq9vGG/N9jEpBh6T1+fh8528gPNBRkl9X3RZ8wZx 0GAMfgxMwCHMT9NsqnMB3nn7hx8+81GRorL7QujPxOFqe3pgConjtghz0Hfq/uQ0h7e2ia MSTY/u5XD8KUQL09k4CwrPJCO1whMEMjE7cOJpwWwAUjFLgg2AXln4gGgjfKX3Zl5c/fCq INWTAYqDpqdEsyBp7ZtyKlNJZT04/0cCxjQs/jxCj3O1fkWOxqZM8v3ThlDfSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685925848; a=rsa-sha256; cv=none; b=E/kABxD9SFPiiNRjAR0ujZSbq40GzEP7U8kTyoqo1ta82neqibjl6oTLJahhfOKyA4ywoH 7Hdg5eL26CfETbzOFQ/duSgncJcBiAdTE7h54HITogVMqXVfeuIV01e3m3PRiZ6TMJq/NU EHKA2+KnwmXMz2FheoAj1X1BBfveEYy9izdiNNEr+gqMTjaIhgeQMfXE8KRlWMHBTaxqa1 XhSEK76/9p3LMDMdeY3yL1g3FLc1rSnJET08OYWp516yeH4VZNyGnfDC4BlIyQkCT75pzp cX7kxadtDkNtiH2cusekrdB1tEBHQIDTzsa/a1usUe6AgclLL8nn7nAn6rEcig== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZFGw2JWTzSCW for ; Mon, 5 Jun 2023 00:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3550i8hh051081 for ; Mon, 5 Jun 2023 00:44:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3550i8gv051080 for bugs@FreeBSD.org; Mon, 5 Jun 2023 00:44:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271832] od(1): fails to check -j value correctly Date: Mon, 05 Jun 2023 00:44:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mohd.akram@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271832 Bug ID: 271832 Summary: od(1): fails to check -j value correctly Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mohd.akram@outlook.com To reproduce: printf 1234 > file od -j 5 file echo $? Expected output: od: cannot skip past end of input 1 Actual output: 0000004 0 It seems to be misreading the file's size since larger values of -j (9+) wo= rk correctly. --=20 You are receiving this mail because: You are the assignee for the bug.=