Bug Tracker item #2819960, was opened at 2009-07-11 06:36 Message generated for change (Comment added) made by valroff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2819960&group_id=250683
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dean Takemori (deantakemori) Assigned to: Nobody/Anonymous (nobody) Summary: csscompress creates new file in /tmp Initial Comment: csscompress.c: snprintf(newfile, sizeof(newfile), "/tmp/%u.css", (unsigned int) getpid()); This causes errors when the .css file is not on the same device: rename(/tmp/30842.css, dspam.css): Invalid cross-device link ---------------------------------------------------------------------- Comment By: Julien Valroff (valroff) Date: 2009-07-11 08:33 Message: Hi, The Debian package has a patch for this: - snprintf(newfile, sizeof(newfile), "/tmp/%u.css", (unsigned int) getpid()); + snprintf(newfile, sizeof(newfile), "%s/%u.css", dirname(filename), (unsigned int) getpid()); Cheers, Julien ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2819960&group_id=250683 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel