nicolas / debian.moreutils (public) (License: GPL-2, GPL-2+, Expat, BSD-2-Clause, Public Domain) (since 2018-09-25) (hash sha1)
Debian packaging of joeyh's moreutils
List of commits:
Subject Hash Author Date (UTC)
sponge: Correct bad use of fread that caused a trailing quantity of soaked data to be silently discarded when a temp file was used and sponge output to stdout. Closes: #595220 a456619d189cef2933aefef86606ae4b29516c85 Joey Hess 2010-09-02 20:39:51
fix url 28242c4d201f281e0e72e674f13728aca8f422c7 Joey Hess 2010-07-12 19:05:00
Add missing AUTHOR section to docbook man pages. 40d283244f9ea5e83422b9c486d07171386890b0 Joey Hess 2010-07-12 19:01:32
ifdata.docbook: Mark interface as required in synopsis. Closes: #588397 8064766e05fa6d49c3a481ac634291b24818b973 Joey Hess 2010-07-08 18:40:30
clarify 174f95e703fff88307f203f2fa30ddebf27839f7 Joey Hess 2010-07-07 17:08:48
releasing version 0.40 5e413817d726a2879f56c94f498dcaa94f887813 Joey Hess 2010-07-06 23:42:05
update 9b22d8c29882a723df4db6f993e283ce37f0acc7 Joey Hess 2010-07-06 19:08:08
parallel: -i will now replace {} inside parameters, before the {} had to be a separate parameter. b5af8181d2bb7e08e08fcab7a0d5910acb7a8522 Joey Hess 2010-07-06 19:06:51
optimisations and fix memory leak b01a6aabcf738b3d86c0fce2164861f783ed37ca Joey Hess 2010-07-06 18:55:22
lckdo: Now deprecated, since util-linux's flock(1) can do the same thing. f597f10475a2e906b96e2856818632dbf66a61b5 Joey Hess 2010-06-18 17:07:10
use dpkg-mergechangelog 780448e12df9190486ef9ac0638aed8fa0270415 Joey Hess 2010-05-24 15:12:47
add note about 578517 717323107eb5583236d64cf0864247979e0c4ca1 Joey Hess 2010-04-28 15:47:55
zrun: Add support for .xz files. 6ec9f75d9c41ff60acf1e3362321e76b699706b1 Joey Hess 2010-02-23 20:58:54
fix load edge case b04468bb912d9635fe5f3965b15678add8046f58 Joey Hess 2010-02-23 20:48:44
allow -l 0 7ef2ddb70209ae8f7bd2941787e87fe168965715 Joey Hess 2010-02-23 20:47:16
parallel: Allow a decimal load value to be specified with -l 4665e4fdca863b8346ed2cc39304f2c763e183a9 Joey Hess 2010-02-23 20:44:08
parallel: Fix logic error in code handling -l that could make parallel return a bogus 255 exit code when all jobs succeeded. Closes: #569617 a1a2b5fe9f8e474c55308637caa3f4852f52b480 Joey Hess 2010-02-23 20:35:34
parallel: Fix to really avoid running new jobs when load is too high. f8f42e5fae33fc0e5a5500c2594982f84de592a2 Joey Hess 2010-02-23 19:36:50
parallel: Make -j 0 do something reasonable (start all jobs at once). 9e1baf374a9e26b2e29f706ef3e65273410eedb9 Joey Hess 2010-02-23 19:17:26
parallel: Fix exit code handling when commands are specified after -- 448a100d287f2cc183f305f9e28723776f10b1bf Joey Hess 2010-02-23 18:59:20
Commit a456619d189cef2933aefef86606ae4b29516c85 - sponge: Correct bad use of fread that caused a trailing quantity of soaked data to be silently discarded when a temp file was used and sponge output to stdout. Closes: #595220
This bug was sorta introduced by 6f31909ff74c064ea0b5126219b3e8f7b8826bee.

Actually, the buggy fread was there before also, and would have happened
on quantities of data not evenly divisible by 8.
Author: Joey Hess
Author date (UTC): 2010-09-02 20:39
Committer name: Joey Hess
Committer date (UTC): 2010-09-02 20:39
Parent(s): 28242c4d201f281e0e72e674f13728aca8f422c7
Signing key:
Tree: 239c275c2b469944848bc87f3f7dfffe25afbd31
File Lines added Lines deleted
debian/changelog 3 0
sponge.c 5 4
File debian/changelog changed (mode: 100644) (index f298d91..349a21e)
... ... moreutils (0.41) UNRELEASED; urgency=low
2 2
3 3 * ifdata.docbook: Mark interface as required in synopsis. Closes: #588397 * ifdata.docbook: Mark interface as required in synopsis. Closes: #588397
4 4 * Add missing AUTHOR section to docbook man pages. * Add missing AUTHOR section to docbook man pages.
5 * sponge: Correct bad use of fread that caused a trailing quantity of
6 soaked data to be silently discarded when a temp file was used
7 and sponge output to stdout. Closes: #595220
5 8
6 9 -- Joey Hess <joeyh@debian.org> Thu, 08 Jul 2010 14:40:07 -0400 -- Joey Hess <joeyh@debian.org> Thu, 08 Jul 2010 14:40:07 -0400
7 10
File sponge.c changed (mode: 100644) (index 80733a2..242298d)
... ... static void write_buff_out(char* buff, size_t length, FILE *fd) {
199 199 } }
200 200
201 201 static void copy_tmpfile(FILE *tmpfile, FILE *outfile, char *buf, size_t size) { static void copy_tmpfile(FILE *tmpfile, FILE *outfile, char *buf, size_t size) {
202 if (fseek(tmpfile, 0, SEEK_SET)) {
202 ssize_t i;
203 if (lseek(fileno(tmpfile), 0, SEEK_SET)) {
203 204 perror("could to seek to start of temporary file"); perror("could to seek to start of temporary file");
204 205 fclose(tmpfile); fclose(tmpfile);
205 206 exit(1); exit(1);
206 207 } }
207 while (fread(buf, size, 1, tmpfile) > 0) {
208 write_buff_out(buf, size, outfile);
208 while ((i = read(fileno(tmpfile), buf, size)) > 0) {
209 write_buff_out(buf, i, outfile);
209 210 } }
210 if (ferror(tmpfile)) {
211 if (i == -1) {
211 212 perror("read temporary file"); perror("read temporary file");
212 213 fclose(tmpfile); fclose(tmpfile);
213 214 exit(1); exit(1);
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using git:
git clone git://git.rocketgit.com/user/nicolas/debian.moreutils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main