]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix compiles on unsupported platforms (STR #4510)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 12 Nov 2014 15:31:47 +0000 (15:31 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 12 Nov 2014 15:31:47 +0000 (15:31 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12246 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-2.0.txt
scheduler/process.c

index 41e5fca203ed0df86f5f4054bd479c43681b8d92..088403a15ffae4405efa4d0517d1c01557ba9838 100644 (file)
@@ -24,6 +24,7 @@ CHANGES IN CUPS V2.0.1
          (STR #4503)
        - RPMs did not build (STR #4490)
        - Added a USB quirk rule for the Brother HL-1250 (STR #4519)
+       - Fixed compiles on unsupported platforms (STR #4510)
 
 
 CHANGES IN CUPS V2.0.0
index 788bcc396fb8b1422497eafaf7ac06e8bf548916..62f9b862aaeba9a6f83739ee6229927df9f3ad62 100644 (file)
@@ -459,15 +459,15 @@ cupsdStartProcess(
   int          i;                      /* Looping var */
   const char   *exec_path = command;   /* Command to be exec'd */
   char         *real_argv[110],        /* Real command-line arguments */
-               cups_exec[1024];        /* Path to "cups-exec" program */
+               cups_exec[1024],        /* Path to "cups-exec" program */
+               user_str[16],           /* User string */
+               group_str[16],          /* Group string */
+               nice_str[16];           /* FilterNice string */
   uid_t                user;                   /* Command UID */
   cupsd_proc_t *proc;                  /* New process record */
 #ifdef HAVE_POSIX_SPAWN
   posix_spawn_file_actions_t actions;  /* Spawn file actions */
   posix_spawnattr_t attrs;             /* Spawn attributes */
-  char         user_str[16],           /* User string */
-               group_str[16],          /* Group string */
-               nice_str[16];           /* FilterNice string */
 #elif defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET)
   struct sigaction action;             /* POSIX signal handler */
 #endif /* HAVE_POSIX_SPAWN */