delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/18/11:25:44

X-Spam-Check-By: sourceware.org
Message-ID: <4624D8C0.6010809@id.ethz.ch>
Date: Tue, 17 Apr 2007 16:25:04 +0200
From: Matteo Corti <matteo DOT corti AT id DOT ethz DOT ch>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.5.24: gcc / libc problem with sscanf
OpenPGP: id=4820809B; url=http://matteocorti.ch
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------090406070800040807010400
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I get strange results when using the %zi flag for the sscanf and fscanf
functions.

The following code scans a line and parses an integer and a size_t value.

  size_t var_size_t = 0;
  int    var_int    = 0;

  char * string = "2 10";

  sscanf(string, "%zi %i\n", &var_size_t, &var_int);

  printf("size_t = %zi\n", var_size_t);
  printf("int    = %i\n",  var_int);

The code when compiled and run generates 2 followed by 0 instead of the
correct 2 and 10 (that I get on linux and mac os x).

Thanks,

Matteo

- --
Dr. Matteo Corti
ETH Zurich
Informatikdienste / Basisdienste
matteo DOT corti AT id DOT ethz DOT ch
+41 44 6327944

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGJNjALEG/T0gggJsRAoTlAJ9Vc9eV0rrWrKNP7E/6x6RxhDescgCeMRrT
sJwNf1SFVkgQ9D3S5FnnE5g=
=lGtz
-----END PGP SIGNATURE-----

--------------090406070800040807010400
Content-Type: text/plain;
 name="cygcheck.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cygcheck.out"


Cygwin Configuration Diagnostics
Current System Time: Tue Apr 17 16:21:56 2007

Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6000 

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\Windows\system32
	c:\Windows
	c:\Windows\System32\Wbem

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'Administrator'
PWD = '/home/Administrator/svn/syslab/labs/scheduler_lab/src'
HOME = '/home/Administrator'
MAKE_MODE = 'unix'

HOMEPATH = '\Users\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Users\Administrator\AppData\Roaming'
HOSTNAME = 'MATTEOCORTIC675'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 15 Stepping 6, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/home/Administrator/svn/syslab/labs/scheduler_lab'
PROGRAMDATA = 'C:\ProgramData'
USERDOMAIN = 'MATTEOCORTIC675'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
!:: = '::\'
TEMP = '/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'Administrator'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\Administrator'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\MATTEOCORTIC675'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\Administrator\AppData\Local'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp'
SYSTEMROOT = 'C:\Windows'
PRINTER = 'Microsoft XPS Document Writer'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0f06'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MATTEOCORTIC675'
_ = '/usr/bin/cygcheck.exe'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd             N/A    N/A                    
c:  hd  NTFS     31997Mb  43% CP CS UN PA FC     Vista
d:  cd             N/A    N/A                    
z:  net NTFS     12288Mb   8% CP CS    PA        corti

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Found: C:\cygwin\bin\vim.exe

  103k 2007/04/06 C:\cygwin\bin\cygapr-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygapr-1-0.dll" v0.0 ts=2007/4/6 23:10
   70k 2007/03/23 C:\cygwin\bin\cygaprutil-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygaprutil-1-0.dll" v0.0 ts=2007/3/23 2:34
   61k 2006/11/10 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2006/11/11 0:42
   16k 2005/10/11 C:\cygwin\bin\cygcompface-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcompface-0.dll" v0.0 ts=2005/10/11 15:58
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
 1125k 2006/10/04 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2006/10/4 14:12
 1059k 2007/03/29 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2007/3/29 12:13
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.2.dll" v0.0 ts=2004/4/27 17:31
  965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.3.dll" v0.0 ts=2005/5/14 14:37
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 17:35
 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.3.dll" v0.0 ts=2005/5/14 14:41
  174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2004/10/14 10:34
  161k 2007/03/28 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2007/3/28 13:16
   40k 2006/11/15 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/11/15 8:06
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 11:25
  375k 2005/09/06 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2005/9/7 0:51
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   19k 2006/11/19 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2006/11/19 9:18
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
    8k 2006/11/19 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 9:18
  219k 2006/11/04 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2006/11/4 14:54
  287k 2006/11/04 C:\cygwin\bin\cyggmpxx-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-3.dll" v0.0 ts=2006/11/4 14:54
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/11 1:16
   25k 2007/03/22 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2007/3/22 14:25
  976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2006/10/23 1:44
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 23:50
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/20 3:04
   31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2006/10/23 2:12
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 19:09
  124k 2006/11/09 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2006/11/9 10:02
   39k 2006/11/21 C:\cygwin\bin\cyglber-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2-3-0.dll" v0.0 ts=2006/11/21 9:01
  189k 2006/11/21 C:\cygwin\bin\cygldap-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2-3-0.dll" v0.0 ts=2006/11/21 9:05
  202k 2006/11/21 C:\cygwin\bin\cygldap_r-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2-3-0.dll" v0.0 ts=2006/11/21 9:11
   24k 2006/12/15 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2006/12/15 4:29
   83k 2007/04/01 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2007/4/1 21:56
   21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/11/15 8:05
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
   20k 2006/12/21 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0
                  "cygminires.dll" v0.0 ts=2006/12/21 6:07
  121k 2006/11/04 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2006/11/4 14:52
   67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/11/15 8:13
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/11/15 8:02
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
   90k 2006/01/25 C:\cygwin\bin\cygneon-25.dll - os=4.0 img=1.0 sys=4.0
                  "cygneon-25.dll" v0.0 ts=2006/1/25 12:02
   96k 2007/03/23 C:\cygwin\bin\cygneon-26.dll - os=4.0 img=1.0 sys=4.0
                  "cygneon-26.dll" v0.0 ts=2007/3/23 1:13
   12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/11/15 8:04
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
  109k 2006/02/10 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2006/2/10 3:37
  299k 2006/02/10 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2006/2/10 3:38
    7k 2006/02/10 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2006/2/10 3:37
 1249k 2005/12/30 C:\cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8.dll" v0.0 ts=2005/12/30 2:48
  226k 2006/11/05 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2006/11/6 0:32
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
   94k 2006/02/17 C:\cygwin\bin\cygpq.dll - os=4.0 img=1.0 sys=4.0
                  "cygpq.dll" v0.0 ts=2006/2/17 8:21
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/11 1:16
  154k 2007/03/22 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2007/3/22 14:25
   78k 2004/10/13 C:\cygwin\bin\cygsasl2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsasl2-2.dll" v0.0 ts=2004/10/14 0:50
  231k 2006/10/04 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2006/10/4 14:12
  217k 2007/03/29 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2007/3/29 12:13
  139k 2007/04/06 C:\cygwin\bin\cygsvn_client-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_client-1-0.dll" v0.0 ts=2007/4/7 1:07
   32k 2007/04/06 C:\cygwin\bin\cygsvn_delta-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_delta-1-0.dll" v0.0 ts=2007/4/7 1:03
   26k 2007/04/06 C:\cygwin\bin\cygsvn_diff-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_diff-1-0.dll" v0.0 ts=2007/4/7 1:06
   14k 2007/04/06 C:\cygwin\bin\cygsvn_fs-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs-1-0.dll" v0.0 ts=2007/4/7 1:04
  128k 2007/04/06 C:\cygwin\bin\cygsvn_fs_base-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_base-1-0.dll" v0.0 ts=2007/4/7 1:04
   88k 2007/04/06 C:\cygwin\bin\cygsvn_fs_fs-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_fs_fs-1-0.dll" v0.0 ts=2007/4/7 1:03
   11k 2007/04/06 C:\cygwin\bin\cygsvn_ra-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra-1-0.dll" v0.0 ts=2007/4/7 1:07
   93k 2007/04/06 C:\cygwin\bin\cygsvn_ra_dav-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_dav-1-0.dll" v0.0 ts=2007/4/7 1:07
   20k 2007/04/06 C:\cygwin\bin\cygsvn_ra_local-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_local-1-0.dll" v0.0 ts=2007/4/7 1:05
   61k 2007/04/06 C:\cygwin\bin\cygsvn_ra_svn-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_ra_svn-1-0.dll" v0.0 ts=2007/4/7 1:05
  110k 2007/04/06 C:\cygwin\bin\cygsvn_repos-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_repos-1-0.dll" v0.0 ts=2007/4/7 1:04
  159k 2007/04/06 C:\cygwin\bin\cygsvn_subr-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_subr-1-0.dll" v0.0 ts=2007/4/7 1:02
  174k 2007/04/06 C:\cygwin\bin\cygsvn_wc-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygsvn_wc-1-0.dll" v0.0 ts=2007/4/7 1:06
  312k 2006/11/10 C:\cygwin\bin\cygtiff-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff-5.dll" v0.0 ts=2006/11/10 9:09
 1065k 2006/06/09 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2006/6/9 21:10
   65k 2006/10/16 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2006/10/16 3:10
 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2007/1/31 10:58
    Cygwin DLL version info:
        DLL version: 1.5.24
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 156
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Wed Jan 31 10:57:51 CET 2007
        CVS tag: cr-0x5f1
        Shared id: cygwin1S4

   20k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2005/10/26 21:14
   34k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygFS-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygFS-6.dll" v0.0 ts=2005/10/26 19:52
  357k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2005/10/26 20:30
  441k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGLU-1.dll" v0.0 ts=2005/10/26 20:48
   74k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=2005/10/26 19:11
    8k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygoldX-6.dll" v0.0 ts=2005/10/26 19:09
 1662k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygOSMesa-4.dll" v0.0 ts=2005/10/26 20:32
   28k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2005/10/26 19:12
  884k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2005/10/26 19:07
    8k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXau-6.dll" v0.0 ts=2005/10/26 18:31
  250k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-6.dll" v0.0 ts=2005/10/26 19:33
  354k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2005/10/26 19:39
  360k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-8.dll" v0.0 ts=2005/10/26 19:45
  275k 2004/01/13 C:\cygwin\usr\X11R6\bin\cygXaw3d-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw3d-7.dll" v0.0 ts=2004/1/13 23:17
    7k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcomposite-1.dll" v0.0 ts=2005/10/26 21:04
   30k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcursor-1.dll" v0.0 ts=2005/10/26 21:03
    8k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdamage-1.dll" v0.0 ts=2005/10/26 21:02
   16k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdmcp-6.dll" v0.0 ts=2005/10/26 18:34
    7k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXevie-1.dll" v0.0 ts=2005/10/26 21:01
   50k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2005/10/26 19:14
   15k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygXfixes-3.dll" v0.0 ts=2005/10/26 21:02
   56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-1.dll" v0.0 ts=2003/11/18 2:42
   63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2004/3/23 23:20
   26k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXi-6.dll" v0.0 ts=2005/10/26 19:48
  121k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2005/10/26 19:54
   11k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbui-1.dll" v0.0 ts=2005/10/26 19:54
   74k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2005/10/26 19:22
   10k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2005/10/26 19:23
   26k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXp-6.dll" v0.0 ts=2005/10/26 19:27
   54k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2005/10/26 19:26
   10k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrandr-2.dll" v0.0 ts=2005/10/26 20:58
   30k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2005/10/26 20:52
    7k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXRes-1.dll" v0.0 ts=2005/10/26 21:00
   38k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygxrx-6.dll" v0.0 ts=2005/10/26 22:13
   24k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygxrxnest-6.dll" v0.0 ts=2005/10/26 22:14
  283k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=2005/10/26 19:19
   27k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXTrap-6.dll" v0.0 ts=2005/10/26 21:00
   17k 2005/10/27 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXtst-6.dll" v0.0 ts=2005/10/26 19:49

Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\tmp
Last downloaded files from: ftp://mirror.switch.ch/mirror/cygwin

Package              Version
_update-info-dir     00508-1
alternatives         1.3.29a-1
ash                  20040127-3
autoconf             4-1
autoconf2.1          2.13-3
autoconf2.5          2.61-1
automake             2-1
automake1.10         1.10-1
automake1.4          1.4p6-4
automake1.5          1.5-2
automake1.6          1.6.3-3
automake1.7          1.7.9-3
automake1.8          1.8.5-3
automake1.9          1.9.6-2
base-files           3.7-1
base-passwd          2.2-1
bash                 3.2.15-13
bash-completion      20060301-2
binutils             20060817-1
bison                2.3-1
byacc                1.9-1
bzip2                1.0.3-2
compface             1.5.2-1
coreutils            6.7-2
crypt                1.1-1
cvs                  1.11.22-1
cygrunsrv            1.17-1
cygutils             1.3.1-1
cygwin               1.5.24-2
cygwin-doc           1.4-4
diffutils            2.8.7-1
editrights           1.01-1
expat                1.95.8-1
file                 4.20-1
findutils            4.3.2-3
flex                 2.5.4a-3
fontconfig           2.4.1-5
freetype2            2.1.9-1
gawk                 3.1.5-4
gcc                  3.4.4-3
gcc-core             3.4.4-3
gcc-g++              3.4.4-3
gcc-mingw-core       20050522-1
gcc-mingw-g++        20050522-1
gdbm                 1.8.3-8
gettext              0.15-1
gmp                  4.2.1-1
grep                 2.5.1a-2
groff                1.18.1-2
gzip                 1.3.9-1
less                 381-1
libapr1              1.2.8-2
libaprutil1          1.2.8-1
libbz2_1             1.0.3-2
libdb4.2             4.2.52-1
libdb4.3             4.3.28-1
libfontconfig1       2.4.1-5
libfreetype26        2.1.9-1
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-8
libgdbm3             1.8.3-3
libgdbm4             1.8.3-8
libgmp3              4.2.1-1
libiconv2            1.11-1
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.5-1
libintl8             0.15-1
libjpeg62            6b-12
libltdl3             1.5.23a-2
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libncurses8          5.5-3
libneon25            0.25.5-1
libneon26            0.26.3-1
libopenldap2_3_0     2.3.30-1
libpcre0             6.6-1
libpng12             1.2.12-1
libpopt0             1.6.4-4
libpq4               8.0.7-1
libreadline4         4.1-2
libreadline5         4.3-5
libreadline6         5.2.2-7
libsasl2             2.1.19-3
libtiff5             3.8.2-3
libtool1.5           1.5.23a-2
libXft               2.1.6-1
libXft1              1.0.0-1
libXft2              2.1.6-1
libxml2              2.6.26-1
links                0.99pre14-1
login                1.9-7
m4                   1.4.9-1
make                 3.81-1
man                  1.6e-1
mingw-runtime        3.12-4
minires              1.01-1
mktemp               1.5-4
ncurses              5.5-3
openssh              4.6p1-1
openssl              0.9.8e-3
openssl097           0.9.7l-1
pcre                 6.6-1
perl                 5.8.7-5
ping                 1.0-1
rebase               2.4.3-1
run                  1.1.10-1
sed                  4.1.5-2
subversion           1.4.3-1
tar                  1.16.1-1
termcap              20050421-1
terminfo             5.5_20061104-1
texinfo              4.8-4
unzip                5.52-2
vim                  7.0.223-1
w32api               3.9-1
which                1.7-1
X-startup-scripts    1.0.11-1
Xaw3d                1.5D-5
xemacs               21.4.20-2
xemacs-emacs-common  21.4.20-2
xemacs-sumo          2005-12-08-1
xorg-x11-base        6.8.99.901-1
xorg-x11-bin         6.8.99.901-1
xorg-x11-bin-dlls    6.8.99.901-1
xorg-x11-bin-lndir   6.8.99.901-1
xorg-x11-etc         6.8.99.901-1
xorg-x11-fenc        6.8.99.901-1
xorg-x11-fnts        6.8.99.901-1
xorg-x11-libs-data   6.8.99.901-1
xorg-x11-xwin        6.8.99.901-1
xterm                202-1
zip                  2.32-2
zlib                 1.2.3-2
Use -h to see help about each section

--------------090406070800040807010400
Content-Type: text/x-csrc;
 name="bug.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bug.c"

#include <string.h>
#include <stdio.h>

int main(int argc, char ** argv) {


  size_t var_size_t = 0;
  int    var_int    = 0;

  char * string = "2 10";
  
  sscanf(string, "%zi %i\n", &var_size_t, &var_int);

  printf("size_t = %zi\n", var_size_t);
  printf("int    = %i\n",  var_int);
  
  return 0;

}


--------------090406070800040807010400
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------090406070800040807010400--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019