Giuseppe Scrivano
dd1b69c600
Remove trailing empty lines
2014-06-12 18:49:15 +02:00
Giuseppe Scrivano
087e17be1c
Do not use exit() with a magic number
2014-06-12 18:48:48 +02:00
Darshit Shah
4eeabffee6
More progress bar aesthetic changes
...
This commit introduces two new changes to how the progress bar looks:
1. Support the --progress=bar:noscroll option which will prevent the filename
from scrolling in the progress bar
2. Print human readable value for the amount already downloaded for any file
2014-05-30 13:28:02 +05:30
Tim Ruehsen
38a7829dcb
Fix compiler warnings
2014-05-12 12:18:50 +02:00
Darshit Shah
97787110a2
Fix compiler warnings
2014-03-26 12:38:39 +01:00
Bykov Aleksey
8b2954e58a
Fix FTP list parsing & Fix cookies reject
2013-10-28 00:26:58 +01:00
Tomas Hozza
c9c0e4c641
Fix using deadcode and possible use of NULL pointer
...
Fix for deadcode in unique_create() so that "opened_name" parameter is
always initialized to a valid string or NULL when returning from
function.
Fix for redirect_output() so that "logfile" is not blindly used in
fprintf() call and checked if it is not NULL.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-10 23:04:25 +02:00
Tim Ruehsen
099d8ee3da
replaced read_whole_file() by getline()
2013-05-17 20:19:02 +02:00
Tim Ruehsen
e976d4f3dc
src/utils.c cleanup
2013-05-12 21:41:07 +02:00
Giuseppe Scrivano
22bd8011e8
Fallback to PATH_MAX when pathconf is not available
2012-10-07 13:09:56 +02:00
Tim Ruehsen
67e6027ea1
Add support for file names longer than MAX_FILE.
2012-09-29 13:47:53 +02:00
Giuseppe Scrivano
96418c6885
Rename --bits to --report-bps.
2012-06-06 14:10:07 +02:00
Tim Ruehsen
321b5dce85
* fix a few little dissonances
2012-06-04 22:05:40 +02:00
Gijs van Tulder
f5a1097871
Add support for -accept-regex and --reject-regex.
2012-05-09 21:18:23 +02:00
Tim Ruehsen
2ffc383654
activate itimer support.
2012-03-29 20:13:27 +02:00
Giuseppe Scrivano
6533cf2452
Assume some headers files provided by gnulib are always present.
2012-03-25 17:49:55 +02:00
Sasikantha Babu
b9b510ca5f
Accept --bit option
2012-03-05 22:23:06 +01:00
Steven Schweda
8c7bd588fe
Fix some problems under VMS.
2011-10-23 13:11:22 +02:00
Giuseppe Scrivano
5e3c9b55f2
Prefers utime over futimens when available.
2011-08-25 11:41:51 +02:00
Giuseppe Scrivano
3382df979c
Use sigprocmask instead of sigsetmask.
2011-08-11 14:23:39 +02:00
Giuseppe Scrivano
9b21660d70
Accept always the file if it is the specified output destination.
2011-08-05 22:39:55 +02:00
Giuseppe Scrivano
87a176daa7
Use futimens instead of utimes.
2011-04-19 12:33:46 +02:00
Giuseppe Scrivano
179dacd735
Use utimes instead of utime.
2011-04-18 14:37:42 +02:00
Giuseppe Scrivano
2f6aa1d741
mass change: update copyright years.
2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
9ae052b1e2
Remove redundant guard.
2010-12-01 13:15:13 +01:00
Giuseppe Scrivano
cf3c678c82
Rename two functions.
2010-07-09 12:24:51 +02:00
Giuseppe Scrivano
293008f682
Mass update copyright years.
2010-05-08 21:56:15 +02:00
Steven Schweda
3f01333ca6
imported patch vms-carat
2010-01-09 15:24:02 -08:00
Micah Cowan
4a08094db8
[mq]: cfg-mk
2009-09-21 20:39:44 -07:00
Steven Schweda
5ef1d7b949
Fixes needed for VMS.
2009-09-11 19:41:57 -07:00
Micah Cowan
b9e9ad65cc
Ran update-copyright.
2009-09-04 00:13:47 -07:00
Micah Cowan
d5e283b1a7
Automated merge.
2009-07-04 15:32:57 -07:00
Micah Cowan
48b53471e8
Henri's -Wall patch.
2008-05-30 22:42:36 -07:00
Micah Cowan
e72b57629b
Merge quote module stuff with current mainline.
2008-05-15 19:13:08 -07:00
Micah Cowan
6c16fe9225
Ensure that dir matches aren't mere prefix matches.
2008-04-23 00:05:27 -07:00
Micah Cowan
714ccdcd84
Steven Schweda's VMS patch.
2008-04-22 14:48:36 -07:00
Steven Schubiger
2c77220411
Undo the USE_GNULIB_ALLOC defines.
2008-04-20 11:46:52 +02:00
Steven Schubiger
d79719be09
Move memfatal() to utils.c.
2008-04-19 21:13:38 +02:00
Steven Schubiger
76780021d8
Use Gnulib's alloc functions throughout the source.
2008-04-19 01:21:24 +02:00
Steven Schubiger
3e34be1c4b
Use Gnulib's quote function in utils.c.
2008-04-16 12:35:03 +02:00
Micah Cowan
0a0d73a03f
Automated merge.
2008-04-12 23:21:09 -07:00
Micah Cowan
4f50138792
Back out quieting of background message: need the pid.
2008-04-12 23:20:28 -07:00
Micah Cowan
977bb27639
Fix quiet -> opt.quiet.
2008-04-12 23:12:35 -07:00
Micah Cowan
458eb3b8ce
Don't want to close log if an explicit -o was given. Let reopen to /dev/null handle any potential logging we'd do in --quiet.
2008-04-12 23:10:47 -07:00
Micah Cowan
1a41bc067c
Automated merge.
2008-04-12 22:46:55 -07:00
Micah Cowan
7783870db1
Don't create a logfile for --background if we're --quiet.
2008-04-12 22:45:45 -07:00
Micah Cowan
667f4578a5
Minor formatting adjustments.
2008-04-12 13:09:43 -07:00
Alexander Dergachev
0e7917cda7
* utils.c (aprintf): print log message and abort if we have too big text buffer.
2008-04-12 19:13:23 +04:00
Alexander Dergachev
311f76645f
* utils.c (aprintf): Now we are setting limits (1 Mb) for text buffer when we use non-C99 vsnprintf.
2008-04-11 23:52:57 +04:00
Alexander Dergachev
79bd3057b1
aprintf is calling memfatal function now instead of calling abort function
...
for consistency with xmalloc/xrealloc
2008-04-09 22:27:58 +04:00
Micah Cowan
aed227e903
More tests for directory include/exclude.
2008-03-19 15:48:54 -07:00
Micah Cowan
e95867e6cc
Deal with progress bars in environs lacking mbtowc or wcwidth.
2008-02-06 18:10:24 -08:00
Micah Cowan
bc8f473272
Updated copyright year.
2008-01-25 05:04:01 -08:00
Micah Cowan
5114aa2d07
Handle --no-parent correctly when path is /.
2007-12-05 20:56:23 -08:00
Micah Cowan
462e643a7e
Merge SFLC licensing changes for OpenSSL with tip.
2007-12-07 17:37:07 -08:00
Micah Cowan
86395b297b
Updated licensing exception for OpenSSL from the SFLC.
2007-11-28 00:05:33 -08:00
Micah Cowan
212396c7e1
Eschew config-post.h.
2007-10-18 20:50:40 -07:00
Micah Cowan
da99855784
ISSPACE -> c_isspace
2007-10-14 14:46:24 -07:00
Micah Cowan
c0a444d5e6
Applying Gisle's latest MS-DOS patches.
2007-10-06 12:44:17 -07:00
Micah Cowan
5dd09d9ba5
Update copyright lists, conforming to maintainer guidelines
2007-09-28 15:45:31 -07:00
Micah Cowan
df8b19a28e
Gisle's MS-DOS support
2007-09-28 14:47:46 -07:00
micah
3dc15952f2
[svn] Make run_with_timeout align with its declaration in utils.h
2007-08-27 13:27:30 -07:00
micah
7d2066b221
[svn] Make indentation consistent (all-spaces, no tabs).
2007-08-02 20:38:21 -07:00
micah
4d7c5e087b
[svn] Merge of fix for bugs 20341 and 20410.
2007-07-09 22:53:22 -07:00
hniksic
a161efc9ec
[svn] Fix build problems with DEBUG_MALLOC.
2007-02-02 01:35:08 -08:00
hniksic
8566a72767
[svn] Avoid code repetition between time_str and datetime_str.
2006-08-08 07:32:53 -07:00
mtortonesi
1c7493b83e
[svn] Added sanity checks for -k, -p, -r and -N when -O is given. Added fixes for 64-bit platforms. Updated copyright and maintainer information.
2006-07-14 06:25:50 -07:00
hniksic
f2756871a6
[svn] Doc fix. Credit base64_decode coming from Recode.
2006-06-25 09:22:26 -07:00
hniksic
272a9a2d90
[svn] Doc fix.
2006-06-21 01:32:55 -07:00
hniksic
0adf1ccfa0
[svn] Cast void pointer to char * before doing arithmetic on it.
2006-06-21 01:12:12 -07:00
hniksic
09d44f355f
[svn] Made base64 tables const.
2006-06-20 01:18:59 -07:00
hniksic
56897eceb5
[svn] Made base64 DATA and DEST pointers void*.
2006-06-20 01:16:36 -07:00
hniksic
7bc4d2db21
[svn] base64_encode could read past the end of STR.
2006-06-19 13:35:53 -07:00
mtortonesi
ea4ffded27
[svn] Restricted operational semantics of frontcmp and proclist from generic strings to directory names, and fixed dirname matching algorithm. Renamed above mentioned functions to subdir_p and dir_matches_p respectively. Added testcases for subdir_p and dir_matches_p.
2006-03-15 06:55:29 -08:00
hniksic
15f7e83216
[svn] Doc fix.
2006-02-09 02:24:07 -08:00
hniksic
85146a6ebd
[svn] Removed the SPRINTF_WGINT macro.
2006-02-03 02:31:00 -08:00
hniksic
b6fa9ce7be
[svn] Don't use sprintf for printing WGINT_MIN; simply divide n by 10 and defer
...
printing the last digit.
2006-02-03 02:27:59 -08:00
hniksic
65401399d7
[svn] Doc fix.
2005-08-27 12:09:42 -07:00
hniksic
8b7dabcdf8
[svn] Simplify iteration over hash table entries.
2005-08-27 06:05:39 -07:00
hniksic
254ed12b8f
[svn] Doc fix.
2005-08-10 05:40:31 -07:00
hniksic
b110199bce
[svn] Doc fix.
2005-08-10 05:28:01 -07:00
hniksic
4a0417f00b
[svn] Doc update.
2005-07-08 00:36:59 -07:00
hniksic
5b52e5658d
[svn] Use vasprintf where available.
2005-07-08 00:33:05 -07:00
hniksic
b3900f1fbd
[svn] In for loops with empty body, put the ";" on a separate line to silence
...
a warning from DMC.
2005-07-06 18:08:52 -07:00
hniksic
710959597f
[svn] Unconditionally include <setjmp.h>.
2005-07-06 14:06:29 -07:00
hniksic
8c7cf8ea0b
[svn] Doc fix.
2005-07-06 13:03:50 -07:00
hniksic
9dbc801ed1
[svn] Doc fix.
2005-07-06 12:56:20 -07:00
hniksic
f29eafcca7
[svn] Doc fix.
2005-07-06 12:50:26 -07:00
hniksic
097695b723
[svn] New option --ignore-case for case-insensitive matching.
2005-07-06 12:44:00 -07:00
hniksic
adcb1f10ec
[svn] Fix undef.
2005-07-04 07:48:19 -07:00
hniksic
8db8d930ef
[svn] Simplify NEXT_BASE64_CHAR.
2005-07-04 07:46:09 -07:00
hniksic
e0aa2eef43
[svn] Don't tolerate non-base64 non-whitespace characters in base64 stream.
2005-07-04 06:28:19 -07:00
hniksic
db9de5b075
[svn] Update FSF's address and copyright years.
2005-07-01 19:26:52 -07:00
hniksic
cf48fcc2bb
[svn] Unconditionally include locale.h.
2005-06-29 14:45:44 -07:00
hniksic
b8456c0fb4
[svn] Use *rand48 where available.
2005-06-28 15:22:10 -07:00
hniksic
e289d2ecc4
[svn] Include ETA information in dot progress.
2005-06-28 15:03:12 -07:00
hniksic
276f66fc14
[svn] Doc fix.
2005-06-28 14:56:43 -07:00
hniksic
6b1effd729
[svn] Force thousand sep to . rather than " " when , is taken.
2005-06-27 11:30:01 -07:00
hniksic
2447fb9a9b
[svn] Move extern declarations to .h files.
2005-06-27 11:19:22 -07:00
hniksic
b7b86a22fb
[svn] Remove intermediary cast.
2005-06-27 07:10:57 -07:00