[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[halifax-bugs] ghfaxviewer 0.21.0 wouldn't build on Red Hat [GNU/]Linux
From: |
Alexandre Oliva |
Subject: |
[halifax-bugs] ghfaxviewer 0.21.0 wouldn't build on Red Hat [GNU/]Linux 7.1 |
Date: |
20 May 2001 00:50:07 -0300 |
User-agent: |
Gnus/5.090002 (Oort Gnus v0.02) XEmacs/21.1 (Cuyahoga Valley) |
I needed this patch to get it to build. I hope it's correct.
--- src/ps_print.c~ Sun Apr 15 01:04:21 2001
+++ src/ps_print.c Sun May 20 00:47:27 2001
@@ -183,9 +183,9 @@
while (fgets (line, sizeof (line), pfile) != NULL
&& plist_count < MAX_PLIST)
{
- if (sscanf (line, "printer %s", name) == 1)
+ if (sscanf (line, "printer %s", defname) == 1)
{
- strcpy (plist[plist_count].name, name);
+ strcpy (plist[plist_count].name, defname);
plist[plist_count].active = TRUE;
plist[plist_count].is_default = FALSE;
plist_count++;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [halifax-bugs] ghfaxviewer 0.21.0 wouldn't build on Red Hat [GNU/]Linux 7.1,
Alexandre Oliva <=