bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number


From: Gisle Vanem
Subject: Re: [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number
Date: Thu, 12 Jun 2014 17:09:33 +0200

<address@hidden> wrote:

...

diff --git a/src/mswindows.c b/src/mswindows.c
index 179773e..c0d9be6 100644
--- a/src/mswindows.c
+++ b/src/mswindows.c
@@ -308,7 +308,7 @@ cleanup:

  /* We're the parent.  If all is well, terminate.  */
  if (rv)
-    exit (0);
+    exit (WGET_EXIT_SUCCESS);

This breaks compilation of mswindows.c as I wrote to Guiseppe
privately; add "exits.h" at top.

--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]