Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13173] summon could inform that size of file is 0 Bytes

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13173] summon could inform that size of file is 0 Bytes
  • Date: 14 Oct 2006 15:40:53 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13173





------- Additional Comments From jakakranjc AT email.si 2006-10-14 10:40 -------
Created an attachment (id=6488)
--> (http://bugs.sourcemage.org/attachment.cgi?id=6488&action=view)
proposed fix

Empty files are reported as such by file. Probably internally, as there is no
mention of empty in /usr/share/misc/file/magic !

In the patch I add this null check.

More importantly, I changed the first line. To be honest, I don't know what it
is doing there, but because of that, I think nothing ever got checked (why
would $target be null)?

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page