PATCH Lost parenthesis in a recent libXaw change

Colin Harrison colin.harrison at virgin.net
Tue Oct 20 09:34:19 PDT 2009


Hi,

Don’t we still need the parenthesis in the recent libXaw change?

http://lists.freedesktop.org/archives/xorg-commit/2009-October/023796.html


--- ./src/save_AsciiSrc.c       2009-10-20 16:29:07.000000000 +0100
+++ ./src/AsciiSrc.c    2009-10-20 16:34:55.000000000 +0100
@@ -1292,7 +1292,7 @@
 {
     int fd;

-    if (fd = creat(name, 0666) == -1)
+    if ((fd = creat(name, 0666)) == -1)
        return (False);

     if (write(fd, string, length) == -1) {

Thanks,
Colin






More information about the xorg-devel mailing list