]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unix/process/process.factor
classes.struct: moving to new/boa instead of <struct>/<struct-boa>
[factor.git] / basis / unix / process / process.factor
index e5570394acca8009692c24f34dc4771e7caa04c4..417a15b6f86dc7226f574b956d75713504496933 100644 (file)
@@ -83,7 +83,7 @@ CONSTANT: POSIX_SPAWN_PCONTROL_KILL       0x0003
     dup 0 = [ drop ] [ (throw-errno) ] if ;
 
 : posix-spawn-file-actions-init ( -- posix_spawn_file_actions_t )
-    posix_spawn_file_actions_t <struct>
+    posix_spawn_file_actions_t new
     [ posix_spawn_file_actions_init check-posix ] keep ;
 
 : posix-spawn-file-actions-destroy ( posix_spawn_file_actions_t -- )