On 11/1/12 2:58 PM, Hanspeter Niederstrasser wrote:
>> I'm showing the following differences between /usr/include/FlexLexer.h
>> between my 10.7 and 10.8 setups (The ~/Desktop one was copied from a
>> 10.7 box):
>>
>> $ diff /usr/include/FlexLexer.h ~/Desktop/FlexLexer.h
>> 66c66
>> <     size_t YYLeng()    const    { return yyleng; }
>> ---
>>>     int YYLeng()    const    { return yyleng; }
>> 96c96
>> <     size_t yyleng;
>> ---
>>>     int yyleng;
>> 133,134c133,134
>> <     virtual size_t LexerInput( char* buf, size_t max_size );
>> <     virtual void LexerOutput( const char* buf, size_t size );
>> ---
>>>     virtual int LexerInput( char* buf, int max_size );
>>>     virtual void LexerOutput( const char* buf, int size );
>> 163c163
>> <     size_t yy_n_chars;
>> ---
>>>     int yy_n_chars;
> 
> If I'm reading your diff right, your 10.7 header is using 'int'.

Correct.

> However, my 10.7 /usr/include/FlexLexer.h is using size_t.
> http://pastebin.com/FU7DhHGV
> 
> $ ls -l /usr/include/FlexLexer.h
> -rw-r--r--  1 root  wheel  6235 Oct  4 14:39 /usr/include/FlexLexer.h
> 
> $ pkgutil --file-info /usr/include/FlexLexer.h
> volume: /
> path: /usr/include/FlexLexer.h
> 
> pkgid: com.apple.pkg.DeveloperToolsCLI
> pkg-version: 4.5.0.0.1.1249367152
> install-time: 1349376105
> uid: 0
> gid: 0
> mode: 644
> 
> pkgid: com.apple.pkg.DevSDKLeo
> pkg-version: 4.0.0.9000000000.1.1306847324
> install-time: 1349376103
> uid: 0
> gid: 0
> mode: 644
> 
> Hanspeter
> 


Oddly enough, I'm showing DevSDKLeo has having installed the file more
recently than did DeveloperToolsCLI.

$ pkgutil --file-info /usr/include/FlexLexer.h
volume: /
path: /usr/include/FlexLexer.h

pkgid: com.apple.pkg.DevSDKLeo
pkg-version: 4.0.0.9000000000.1.1306847324
install-time: 1349805140
uid: 0
gid: 0
mode: 644

pkgid: com.apple.pkg.DeveloperToolsCLI
pkg-version: 4.5.0.0.1.1249367152
install-time: 1349805133
uid: 0
gid: 0
mode: 644

$ ls -l /usr/include/FlexLexer.h
-rw-r--r--  1 root  wheel  6217 May 25  2011 /usr/include/FlexLexer.h


So, somehow DeveloperToolsCLI supposedly installed the file on 9 October
of this year, DevSDKLeo overwrote it just a little bit later, and yet
the modification time is 25 May of last year. *boggle*

Since Xcode 4.5.2 just came out, I'll see if that gives me the proper
/usr/include/FlexLexer.h on 10.7.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to