Bug during build when running ARCHIVE

"Darren Warner" <[email protected]>
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <93BECC602E286B499D5443ECB850D2FF01CA74DF@newman.usa.aitgroupad.com>
Hi,

I have an issue building imap-uw that is probably very specific to my
environment, but it's a bug nevertheless.

During the build process, a file called 'ARCHIVE' gets created. This
file is then executed using a shell, but its path is not explicitly
given. I happen to have an executable called ARCHIVE elsewhere in the
system which precedes the locally generated version in the search path.
This results in a build failure.

I've attached a patch that fixes the issue for me. As mentioned, a minor
issue, but every little helps I guess!

-Darren Warner


NOTICE: This e-mail is intended only for the addressee(s) named above. This e-mail may contain confidential or privileged information; if you are not a named addressee, please do not retain, read, copy or disseminate this message or any part of it. If you have received this email in error, please notify the sender and delete the message from your computer and destroy any copies. 

For registration details of the Portrait group of companies, please visit http://www.portraitsoftwarecom/company/company_registration_details

_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
01-archive_path.patch (application/octet-stream, 498 B)
*** imap-2007e/src/osdep/unix/Makefile	Wed Jun  4 14:18:34 2008
--- imap-2007e/src/osdep/unix/Makefile.new	Wed Jul 15 02:32:19 2009
***************
*** 851,858 ****
  
  $(ARCHIVE): $(BINARIES)
  	sh -c '$(RM) $(ARCHIVE) || true'
! 	@$(CAT) ARCHIVE
! 	@$(SH) ARCHIVE
  
  .c.o:
  	`$(CAT) CCTYPE` -c `$(CAT) CFLAGS` $*.c
--- 851,858 ----
  
  $(ARCHIVE): $(BINARIES)
  	sh -c '$(RM) $(ARCHIVE) || true'
! 	@$(CAT) ./ARCHIVE
! 	@$(SH) ./ARCHIVE
  
  .c.o:
  	`$(CAT) CCTYPE` -c `$(CAT) CFLAGS` $*.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.