Re: [PATCH v4 1/4] btrfs-progs: utils: Introduce function to escape characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 08, 2016 at 08:57:52AM +0800, Qu Wenruo wrote:
> And further more.
> 
> The new string escaping is screwing up original output.
> 
> Operation lile mkfile lacks the final '\n'.
> String over the width will lack the ending ' ' to seperate later 
> key=value pairs.

Oh right, that's the shortcut if format is null, this should print the
'\n' as welll, I'll fix it.

> It would be better to output the escaped string into a buffer and still 
> use printf() format to output them out as it used to be.

I want to avoid using the intermediate string buffers unless it's really
necessary.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux