History log of /curl/docs/examples/hiperfifo.c (Results 1 – 25 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f540e43b 27-Feb-2024 Daniel Stenberg

examples: use present tense in comments

remove "will" and some other word fixes

Closes #13003


# 945db0d9 07-Sep-2023 Daniel Stenberg

docs: remove use of the word 'very'

It is mostly superfluous. proselint would complain.

Closes #11818


# 2bc1d775 02-Jan-2023 Daniel Stenberg

copyright: update all copyright lines and remove year ranges

- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- save

copyright: update all copyright lines and remove year ranges

- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- saves us from pointless churn
- git keeps history for us
- the year range is kept in COPYING

checksrc is updated to allow non-year using copyright statements

Closes #10205

show more ...


# ad9bc597 17-May-2022 max.mehl

copyright: make repository REUSE compliant

Add licensing and copyright information for all files in this repository. This
either happens in the file itself as a comment header or in the

copyright: make repository REUSE compliant

Add licensing and copyright information for all files in this repository. This
either happens in the file itself as a comment header or in the file
`.reuse/dep5`.

This commit also adds a Github workflow to check pull requests and adapts
copyright.pl to the changes.

Closes #8869

show more ...


# a28464ae 31-Oct-2021 Daniel Stenberg

docs: reduce/avoid English contractions

You're => You are
Hasn't => Has not
Doesn't => Does not
Don't => Do not
You'll => You will
etc

Closes #7930


# 033d15a6 06-Sep-2021 git-bruh

examples/*hiperfifo.c: fix calloc arguments to match function proto

Closes #7678


# 95d525a9 10-Apr-2021 Daniel Stenberg

misc: update copyright year ranges to match latest updates


Revision tags: curl-7_76_1
# 255bdfe6 09-Apr-2021 Jochem Broekhoff

examples/hiperfifo.c: check event_initialized before delete

If event_del is called with the event struct (still) zeroed out, a
segmentation fault may occur. event_initialized checks whe

examples/hiperfifo.c: check event_initialized before delete

If event_del is called with the event struct (still) zeroed out, a
segmentation fault may occur. event_initialized checks whether the
event struct is nonzero.

Closes #6876

show more ...


Revision tags: curl-7_76_0, curl-7_75_0, curl-7_74_0
# ac0a88fd 05-Nov-2020 Daniel Stenberg

copyright: fix year ranges

Follow-up from 4d2f8006777


# 4d2f8006 04-Nov-2020 Daniel Stenberg

curl.se: new home

Closes #6172


Revision tags: curl-7_73_0, tiny-curl-7_72_0, curl-7_72_0, curl-7_71_1, curl-7_71_0, curl-7_70_0, curl-7_69_1, curl-7_69_0, curl-7_68_0, curl-7_67_0, curl-7_66_0
# 32d64b2e 22-Aug-2019 Daniel Stenberg

defines: avoid underscore-prefixed defines

Double-underscored or underscore plus uppercase letter at least.

... as they're claimed to be reserved.

Reported-by: patnyb on gi

defines: avoid underscore-prefixed defines

Double-underscored or underscore plus uppercase letter at least.

... as they're claimed to be reserved.

Reported-by: patnyb on github

Fixes #4254
Closes #4255

show more ...


Revision tags: curl-7_65_3
# fd5ab435 18-Jul-2019 Brad Spencer

examples: Avoid reserved names in hiperfifo examples

- Trade in __attribute__((unused)) for the classic (void)x to silence
unused symbols.

Because the classic way is not gcc s

examples: Avoid reserved names in hiperfifo examples

- Trade in __attribute__((unused)) for the classic (void)x to silence
unused symbols.

Because the classic way is not gcc specific. Also because the prior
method mapped to symbol _Unused, which starts with _ and a capital
letter which is reserved.

Assisted-by: The Infinnovation team

Bug: https://github.com/curl/curl/issues/4120#issuecomment-512542108

Closes https://github.com/curl/curl/pull/4153

show more ...


Revision tags: curl-7_65_2, curl-7_65_1, curl-7_65_0
# 159ea554 21-May-2019 Marcel Raad

examples: fix "clarify calculation precedence" warnings

Closes https://github.com/curl/curl/pull/3919


# acb097ca 21-May-2019 Marcel Raad

hiperfifo: remove unused variable

Closes https://github.com/curl/curl/pull/3919


# b069815a 20-May-2019 Marcel Raad

examples: remove unused variables

Fixes Codacy/CppCheck warnings.

Closes


Revision tags: curl-7_64_1
# 47e540df 22-Feb-2019 Daniel Stenberg

examples: remove recursive calls to curl_multi_socket_action

From within the timer callbacks. Recursive is problematic for several
reasons. They should still work, but this way the examp

examples: remove recursive calls to curl_multi_socket_action

From within the timer callbacks. Recursive is problematic for several
reasons. They should still work, but this way the examples and the
documentation becomes simpler. I don't think we need to encourage
recursive calls.

Discussed in #3537
Closes #3601

show more ...


Revision tags: curl-7_64_0, curl-7_63_0, curl-7_62_0, curl-7_61_1, curl-7_61_0, curl-7_60_0
# 94400f32 14-Apr-2018 Daniel Gustafsson

all: Refactor malloc+memset to use calloc

When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, b

all: Refactor malloc+memset to use calloc

When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.

Closes https://github.com/curl/curl/pull/2497

show more ...


# 712c916d 20-Mar-2018 Jay Satiro

examples/hiperfifo: checksrc compliance


# 9434194b 16-Mar-2018 Philip Prindeville

examples/hiperfifo.c: improved

* use member struct event’s instead of pointers to alloc’d struct
events

* simplify the cases for the mcode_or_die() function via macros;

examples/hiperfifo.c: improved

* use member struct event’s instead of pointers to alloc’d struct
events

* simplify the cases for the mcode_or_die() function via macros;

* make multi_timer_cb() actually do what the block comment says it
should;

* accept a “stop” command on the FIFO to shut down the service;

* use cleaner notation for unused variables than the (void) hack;

* allow following redirections (304’s);

show more ...


Revision tags: curl-7_59_0, curl-7_58_0, curl-7_57_0, curl-7_56_1, curl-7_56_0
# 6b84438d 09-Sep-2017 Daniel Stenberg

code style: use spaces around equals signs


Revision tags: curl-7_55_1, curl-7_55_0, curl-7_54_1
# e5491e0f 19-May-2017 Daniel Stenberg

ghiper.c/hiperfifo.c: add comment about missing timer functionality

It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.

Reported-b

ghiper.c/hiperfifo.c: add comment about missing timer functionality

It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.

Reported-by: Michael Kaufmann

Closes #1253

show more ...


Revision tags: curl-7_54_0, curl-7_53_1, curl-7_53_0, curl-7_52_1, curl-7_52_0
# b228d295 13-Dec-2016 Daniel Stenberg

checksrc: stricter no-space-before-paren enforcement

In order to make the code style more uniform everywhere


# 8657c268 23-Nov-2016 Daniel Stenberg

checksrc: white space edits to comply to stricter checksrc


Revision tags: curl-7_51_0, curl-7_50_3, curl-7_50_2, curl-7_50_1, curl-7_50_0, curl-7_49_1, curl-7_49_0
# 6ddab23f 03-Apr-2016 Daniel Stenberg

docs/examples: remove spurious white spaces all over

... to please the new, slightly picker, checksrc.pl


Revision tags: curl-7_48_0
# 3a6563d6 11-Feb-2016 Daniel Stenberg

examples: adhere to curl code style

All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts o

examples: adhere to curl code style

All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.

573 checksrc warnings were addressed.

show more ...


12