delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/04/11:13:18

To: dj AT ctron DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: coff2exe -h
Date: Sun, 04 Sep 94 15:38:09 +0200
From: eliz AT is DOT elta DOT co DOT il

This only works if there is at least one additional argument
(besides -h) on the command line.  The second line of main()
on coff2exe.c says amazingly enough:

	if (argc > 2 && strcmp(argv[1], "-h") == 0)
	   <give usage info>

I think this should be ``if (argc > 1 ....''.  Otherwise you must
supply an argument just for it to be ignored by coff2exe.

	Eli Zaretskii

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019