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

Re: printversion could be more translation-friendly



Really, what's wrong with using a \n-terminated printf?

  if (fputs(_("Debian GNU/Linux `"), stdout) < 0) werr("stdout");
  if (fputs(DPKG, stdout) < 0) werr("stdout");
  if (fputs(_("' package management program version "), stdout) < 0) werr("stdout");
  if (fputs( DPKG_VERSION_ARCH ".\n", stdout) < 0) werr("stdout");

There is a \n at the end, so it should be possible to put everything
in a single printf. Am I missing anything?


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: