Changeset 99ac28a for functions.c


Ignore:
Timestamp:
Jul 16, 2011, 12:28:10 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
8219374
Parents:
396505be
git-author:
David Benjamin <davidben@mit.edu> (07/10/11 21:04:59)
git-committer:
David Benjamin <davidben@mit.edu> (07/16/11 00:28:10)
Message:
Use GPid instead of pid_t for g_spawn_async's output

Apparently they manage to be different on Solaris. GPid is int while
pid_t is long. Better to cast the value than the pointer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rdde1b4d r99ac28a  
    32263226      } else if (myargc > 0) {
    32273227        /* Spawn the child. */
    3228         pid_t pid;
     3228        GPid pid;
    32293229        GError *error = NULL;
    32303230        owl_function_debugmsg("About to exec \"%s\" with %d arguments", argv[0], myargc);
Note: See TracChangeset for help on using the changeset viewer.