Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8209489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:44:22+00:00 2026-06-07T09:44:22+00:00

The diff utility on my Cygwin always returns exit code of 57, no matter

  • 0

The diff utility on my Cygwin always returns exit code of 57, no matter if files match, missmatch or do not exist.

I have installed diffutils successfully:

$ cygcheck -c diffutils
Cygwin Package Information
Package              Version        Status
diffutils            3.2-1          OK

$ which diff
/usr/bin/diff
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:44:24+00:00Added an answer on June 7, 2026 at 9:44 am

    Something must be broken in your Cygwin installation, because the Cygwin version of diff doesn’t even have code in it to return exit code 57. It only uses 0, 1, and 2. That means some other piece of code is doing the exiting, which is highly suspicious.

    I would first try a forced reinstall of diffutils and its dependencies, libintl8 and libiconv2. You will find both libraries in the Libs category in Cygwin’s setup.exe. Click the value in the third column on the “Select Packages” screen until it says “Reinstall”. (It should be “Keep” when you first enter this screen. If it’s something else, that might be a clue as to what went wrong.)

    If that doesn’t fix it, I would suspect BLODA.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

git diff --quiet returns exit code as documented. git log --quiet behaves exactly as
So the utility Diff works just like I want for 2 files, but I
We need an accurate diff utility for Java and Javascript files, written in Java.
Theres about 20 diff ant files, that make up the build. Im not sure
Is there a utility that can do a diff between a set of files
I'm looking for a diff equivalent written in JavaScript that only returns/prints relevant lines.
diff -r is not enough. I need comprison of modes, symlinks and like
I want to use diff(log(myvar)) to calculate some time-series log returns. Some of the
My question is about handling temporary files in a small .NET program. This program/utility
Suppose I have two files, A and B, and that lengthOf(A) < lengthOf(B). Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.