From 28ed9cda2a47c17130ee5b97588695ed3acb4e45 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 29 Sep 2010 21:45:56 +0000 Subject: Rename nstring.h functions with pm_ prefix git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1320 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- urt/rle_open_f.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'urt') diff --git a/urt/rle_open_f.c b/urt/rle_open_f.c index 7234afe9..0f1fc757 100644 --- a/urt/rle_open_f.c +++ b/urt/rle_open_f.c @@ -199,11 +199,11 @@ dealWithSubprocess(const char * const file_name, *noSubprocessP = FALSE; if (*mode == 'w') - asprintfN(&command, "compress > %s", file_name); + pm_asprintf(&command, "compress > %s", file_name); else if (*mode == 'a') - asprintfN(&command, "compress >> %s", file_name); + pm_asprintf(&command, "compress >> %s", file_name); else - asprintfN(&command, "compress -d < %s", file_name); + pm_asprintf(&command, "compress -d < %s", file_name); *fpP = my_popen(command, mode, &thepid); @@ -215,7 +215,7 @@ dealWithSubprocess(const char * const file_name, if (*catchingChildrenP < MAX_CHILDREN) pids[(*catchingChildrenP)++] = thepid; } - strfree(command); + pm_strfree(command); } else { *noSubprocessP = TRUE; *errorP = NULL; -- cgit 1.4.1