Patches
Jörg Sommer <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi John, http://git.debian.org/?p=users/jo-guest/slrn.git;a=commitdiff;h=25731c79bf6ee5a2d03488faa47f219f7e7e2ac3 Author: Jörg Sommer <[email protected]> Date: Wed Aug 6 15:57:50 2008 +0200 Set dependency for slrnpull.o on config.h Otherwise make slrnpull fails http://git.debian.org/?p=users/jo-guest/slrn.git;a=commitdiff;h=7c20f672cd6ab0913dcbb467bdabebd13f38b483 Author: Jörg Sommer <[email protected]> Date: Wed Aug 6 16:14:40 2008 +0200 Use NNTP_FMT_ARTNUM as format for NNTP_Artnum_Type The change to NNTP_Artnum_Type forgot to adopt these places to the new type. For NNTP_Artnum_Type == long long SLsnprintf() printed 0 which caused slrnpull asked the news server for an invalid article number; „head 0“. http://git.debian.org/?p=users/jo-guest/slrn.git;a=commitdiff;h=7c875a0fe63cf84ef31c9bc9450f98a1c10909b2 Author: Jörg Sommer <[email protected]> Date: Wed Aug 6 16:24:33 2008 +0200 Declare some variables as const Gcc complained about assignments of constant variables to non‐constant variables. Often the memory is never accessed for writing so the variable can (and should) be const. http://git.debian.org/?p=users/jo-guest/slrn.git;a=commitdiff;h=90933d8daf14d73bc5e5423d16cb674fe3720988 Author: Jörg Sommer <[email protected]> Date: Wed Aug 6 16:31:13 2008 +0200 Fix type conversion warnings slrnpull.c:1498: warning: conversion to ‘unsigned int’ from ‘NNTP_Artnum_Type’ may alter its value slrnpull.c:3094: warning: conversion to ‘long unsigned int’ from ‘time_t’ may change the sign of the result slrnpull.c:3094: warning: conversion to ‘time_t’ from ‘long unsigned int’ may change the sign of the result -- Roesen's Law (http://www.bruhaha.de/laws.html): Sobald ein Troll, DAU oder Elch im Lauf eines Threads auf heftige Kritik stößt, argumentiert er mit der Arroganz des Kritikers. Dies kann auch vorsorglich erfolgen. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/