Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5cd0815781 
					 
					
						
						
							
							use "roken.h" consitantly  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21005 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2007-06-08 01:54:35 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						9df9f6a9da 
					 
					
						
						
							
							revert 21003  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2007-06-08 01:53:10 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						12df8538af 
					 
					
						
						
							
							use "roken.h" consitantly  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2007-06-08 01:42:05 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6cf5d8a42e 
					 
					
						
						
							
							reapply patch that went away in last commit  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18002 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-09-05 09:08:39 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						bd56a65692 
					 
					
						
						
							
							Add size_t formater (z modifer).  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18000 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-09-05 08:03:36 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						f5eaee70f2 
					 
					
						
						
							
							Include snprintf-test.h earlier.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-05-03 16:49:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						b4e448428a 
					 
					
						
						
							
							(vsnprintf): don't write the NUL into the string if the length was 0  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15031 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-04-30 15:07:05 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						709aa58c74 
					 
					
						
						
							
							define ROKEN_LIB_FUNCTION on all exported functions  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-04-12 11:29:18 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						dda06c4682 
					 
					
						
						
							
							use defined(TEST_SNPRINTF) like on all other places in the same file  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14686 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-03-26 11:13:06 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						4a9b3f573a 
					 
					
						
						
							
							* don't ever print sign for unsigned conversions  
						
						... 
						
						
						
						* don't break when right justifying a number past the end of the buffer
* handle zero precision and the value zero more correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12413 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-06-29 18:51:30 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						50b96a0871 
					 
					
						
						
							
							(xyzprintf): recognise, but ignore, the linux(?) ' thousands grouping  
						
						... 
						
						
						
						flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11922 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-03-26 10:05:48 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						281c0671e0 
					 
					
						
						
							
							(append_number): make rep const  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10907 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2002-04-18 08:50:57 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c413a3c0fa 
					 
					
						
						
							
							va_{start,end} fixes; from Thomas Klausner  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10739 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-09-24 12:16:37 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						53395dd12a 
					 
					
						
						
							
							rename 'struct state' -> 'struct snprintf_test' to avoid collision  
						
						... 
						
						
						
						with resolv.h on aix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10704 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-09-17 00:53:23 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						739cd03422 
					 
					
						
						
							
							add snprintf-test.h (for renaming functions)  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10348 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-07-17 15:27:00 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						07c3e7899b 
					 
					
						
						
							
							add support for printing long long (if available)  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10310 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-07-11 03:19:01 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						609e9edb25 
					 
					
						
						
							
							rewrite so that it does not stop as soon as there are no more  
						
						... 
						
						
						
						characters to print, we need to figure out how long the string would
have to be.  this also fixes snprintf(NULL, 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10247 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-07-02 23:13:23 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						9e16596a07 
					 
					
						
						
							
							(append_string): handle NULL strings by printing `(null)'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9392 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-12-15 14:04:42 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d459c4ecb3 
					 
					
						
						
							
							remove shoot-by-commit  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8598 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-07-08 14:22:59 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5515fde49a 
					 
					
						
						
							
							merge roken independence stuff  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8597 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-07-08 14:22:12 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						3b19f20311 
					 
					
						
						
							
							(PARSE_INT_FORMAT): note that shorts are actually transmitted as ints  
						
						... 
						
						
						
						(according to the integer protomotion rules) in variable arguments
lists.  Therefore, we should not call va_arg with short but rather
with int.  See <http://www.debian.org/Bugs/db/57/57919.html > for
original bug report
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7950 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-02-16 01:38:52 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						3ca5f8150f 
					 
					
						
						
							
							remove advertising clause  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-02 16:58:55 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						a69f4cf6dc 
					 
					
						
						
							
							signedness  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7376 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-11-13 04:18:09 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d9ebc322c1 
					 
					
						
						
							
							(xyzprintf): try to do the right thing with an % at the end of the  
						
						... 
						
						
						
						format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7349 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-11-12 15:32:43 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						288ad49ba4 
					 
					
						
						
							
							(PARSE_INT_FORMAT): add redundant casts to work around a gcc-bug that  
						
						... 
						
						
						
						manifests itself on Linux-PPC.  From Tom Rini
<trini@kernel.crashing.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7286 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-10-30 08:48:00 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d3d25893e7 
					 
					
						
						
							
							some signed vs unsigned casts  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6555 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-26 00:52:11 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						86f5886aa1 
					 
					
						
						
							
							(vasnprintf): correct check if realloc returns NULL  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5774 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-03-27 16:32:57 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						fb8d7e5910 
					 
					
						
						
							
							unsigned char-correctness  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5269 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-12-20 15:36:03 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						a5f54865d4 
					 
					
						
						
							
							merge strcpy_truncate branch  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-06-09 19:25:40 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						2eb7c4447a 
					 
					
						
						
							
							(sn_append_char): don't write any terminating zero.  
						
						... 
						
						
						
						(as_reserve): don't loop.  better heuristic for how much space to realloc.
(vasnprintf): simplify initializing to one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4082 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-12-04 01:50:56 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						fbbda8de22 
					 
					
						
						
							
							always call PARSE_INT_FORMAT with three arguments  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3043 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-17 08:51:55 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						9eac57c88d 
					 
					
						
						
							
							Improve parsing of field widths, and more.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2718 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-07 16:19:34 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f6f877376b 
					 
					
						
						
							
							code for checking the correct functioning of *nprintf is now #ifdef  
						
						... 
						
						
						
						PARANOIA
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1762 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-25 02:00:31 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						49eaf831ec 
					 
					
						
						
							
							Use bcopy' if there is no memmove'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1740 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-19 03:05:26 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						4829a2fe77 
					 
					
						
						
							
							fix for the case of max_sz == 0  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1650 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-03 23:30:56 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b03b3bb1e0 
					 
					
						
						
							
							reorder  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1645 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 17:51:09 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						1495f52771 
					 
					
						
						
							
							probably leaking less memory  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1634 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 13:21:49 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						8c9a3458f5 
					 
					
						
						
							
							Added asnprintf and vasnprintf  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1633 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 11:41:04 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9a89bb4626 
					 
					
						
						
							
							removed old code and made briefer  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1632 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 10:46:49 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						021955feb5 
					 
					
						
						
							
							implemented asprintf, vasprintf  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1630 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 10:31:40 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						13969f16b3 
					 
					
						
						
							
							first try at snprintf  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1627 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 01:04:10 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						0c0085b3b3 
					 
					
						
						
							
							Not used  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@571 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-06-08 21:53:35 +00:00 
						 
				 
			
				
					
						
							
							
								Björn Groenvall 
							
						 
					 
					
						
						
							
						
						8d904e4fb6 
					 
					
						
						
							
							Use includes  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@443 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-04-29 11:56:03 +00:00 
						 
				 
			
				
					
						
							
							
								Björn Groenvall 
							
						 
					 
					
						
						
							
						
						8c6e549540 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@425 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-04-23 14:26:32 +00:00 
						 
				 
			
				
					
						
							
							
								Unknown User d91-jda 
							
						 
					 
					
						
						
							
						
						89af9ddeda 
					 
					
						
						
							
							Add libbroken.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@417 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-04-23 07:15:17 +00:00