Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   attachment filename bug & Makefile issue, posted by A. Martin on Sat May 15 06:01:40 2010 file.txt
    icon2.gif   Re: attachment filename bug & Makefile issue, posted by Stefan Ritt on Tue May 18 16:40:15 2010 
       icon2.gif   Re: attachment filename bug & Makefile issue, posted by A. Martin on Thu May 20 04:33:07 2010 
Message ID: 66822     Entry time: Sat May 15 06:01:40 2010     Reply to this: 66826
Icon: Entry  Author: A. Martin  Author Email: amartin@example.com 
Category: Bug report  OS: All  ELOG Version: svn 
Subject: attachment filename bug & Makefile issue 
If I upload the file "000000_000000_file.txt", elog will chop the filename to "file.txt."  Also, this effects
the file's displayed "Uploaded" time.  It shows the file as being uploaded on: "Tue Nov 30 00:00:00 1999"

Note the attachment to this post.

----

Makefile has the line:

# flag for SSL support
USE_SSL    = 1

However setting USE_SSL = 0 does not prevent the openssl libraries from being used.  Same issue with USE_CRYPT.
 You have to comment them out.

Lines 76-85 of Makefile should be replaced with this:

ifdef USE_SSL
ifneq ($(USE_SSL), 0)
CFLAGS += -DHAVE_SSL
LIBS += -lssl
endif
endif

ifdef USE_CRYPT
ifneq ($(USE_CRYPT), 0)
CFLAGS += -DHAVE_CRYPT
LIBS += -lcrypt
endif
endif

Thanks,
amartin
Attachment 1: file.txt  0 Bytes  Uploaded Tue Nov 30 00:00:00 1999
ELOG V3.1.5-fe60aaf