11/* Automatically generated by
22 VMPluginCodeGenerator VMMaker.oscog-eem.2504 uuid: a00b0fad-c04c-47a6-8a11-5dbff110ac11
33 from
4- FileAttributesPlugin FileAttributesPlugin.oscog-akg.49 uuid: 00b4eed5-b2a8-454a-90b7-c3662d7c5423
4+ FileAttributesPlugin FileAttributesPlugin.oscog-akg.47 uuid: 352a23fa-7521-49aa-8801-e32b80394b9d
55 */
6- static char __buildInfo [] = "FileAttributesPlugin FileAttributesPlugin.oscog-akg.49 uuid: 00b4eed5-b2a8-454a-90b7-c3662d7c5423 " __DATE__ ;
6+ static char __buildInfo [] = "FileAttributesPlugin FileAttributesPlugin.oscog-akg.47 uuid: 352a23fa-7521-49aa-8801-e32b80394b9d " __DATE__ ;
77
88
99
@@ -168,9 +168,9 @@ extern
168168struct VirtualMachine * interpreterProxy ;
169169static const char * moduleName =
170170#ifdef SQUEAK_BUILTIN_PLUGIN
171- "FileAttributesPlugin FileAttributesPlugin.oscog-akg.49 (i)"
171+ "FileAttributesPlugin FileAttributesPlugin.oscog-akg.47 (i)"
172172#else
173- "FileAttributesPlugin FileAttributesPlugin.oscog-akg.49 (e)"
173+ "FileAttributesPlugin FileAttributesPlugin.oscog-akg.47 (e)"
174174#endif
175175;
176176static void * sCLPfn ;
@@ -582,13 +582,13 @@ primitiveClosedir(void)
582582 void * buffer ;
583583 sqInt dirPointerOop ;
584584 fapath * faPath ;
585- FAPathPtr * faPathPtr ;
585+ fapathptr * faPathPtr ;
586586 sqInt result ;
587587 sqInt structSize ;
588588
589589 dirPointerOop = stackValue (0 );
590590 /* begin structFromObject:size: */
591- structSize = sizeof (FAPathPtr );
591+ structSize = sizeof (fapathptr );
592592 if (!((stSizeOf (dirPointerOop )) == structSize )) {
593593 primitiveFailFor (PrimErrBadArgument );
594594 faPathPtr = ((void * ) 0 );
@@ -606,10 +606,10 @@ primitiveClosedir(void)
606606 if (faPathPtr == 0 ) {
607607 return primitiveFailFor (PrimErrBadArgument );
608608 }
609- if (!(faValidateSessionId (( faPathPtr -> sessionId ) ))) {
610- return primitiveFailForOSError ( -17 /* badSessionId */ );
609+ if (!(faValidateSessionId (faPathPtr -> sessionId ))) {
610+ return primitiveFailFor ( PrimErrBadArgument );
611611 }
612- faPath = ( faPathPtr -> faPath ) ;
612+ faPath = faPathPtr -> faPath ;
613613 result = faCloseDirectory (faPath );
614614 faInvalidateSessionId (& faPathPtr -> sessionId );
615615 if (!(result == 0 )) {
@@ -795,7 +795,7 @@ primitiveOpendir(void)
795795 sqInt dirName ;
796796 sqInt dirOop ;
797797 fapath * faPath ;
798- FAPathPtr faPathPtr ;
798+ fapathptr faPathPtr ;
799799 sqInt resultOop ;
800800 sqInt status ;
801801 sqInt structSize ;
@@ -833,7 +833,7 @@ primitiveOpendir(void)
833833 return primitiveFailureCode ();
834834 }
835835 faInitSessionId (& faPathPtr .sessionId );
836- ( faPathPtr .faPath = faPath ) ;
836+ faPathPtr .faPath = faPath ;
837837
838838#if SPURVM
839839 /* begin objectFromStruct:size: */
@@ -925,14 +925,14 @@ primitiveReaddir(void)
925925 void * buffer ;
926926 sqInt dirPointerOop ;
927927 fapath * faPath ;
928- FAPathPtr * faPathPtr ;
928+ fapathptr * faPathPtr ;
929929 sqInt resultArray ;
930930 sqInt status ;
931931 sqInt structSize ;
932932
933933 dirPointerOop = stackValue (0 );
934934 /* begin structFromObject:size: */
935- structSize = sizeof (FAPathPtr );
935+ structSize = sizeof (fapathptr );
936936 if (!((stSizeOf (dirPointerOop )) == structSize )) {
937937 primitiveFailFor (PrimErrBadArgument );
938938 faPathPtr = ((void * ) 0 );
@@ -950,10 +950,10 @@ primitiveReaddir(void)
950950 if (faPathPtr == 0 ) {
951951 return primitiveFailFor (PrimErrBadArgument );
952952 }
953- if (!(faValidateSessionId (( faPathPtr -> sessionId ) ))) {
953+ if (!(faValidateSessionId (faPathPtr -> sessionId ))) {
954954 return primitiveFailForOSError (-17 /* badSessionId */ );
955955 }
956- faPath = ( faPathPtr -> faPath ) ;
956+ faPath = faPathPtr -> faPath ;
957957 status = faReadDirectory (faPath );
958958 if (status == 1 /* noMoreData */ ) {
959959 return methodReturnValue (nilObject ());
@@ -977,14 +977,14 @@ primitiveRewinddir(void)
977977 void * buffer ;
978978 sqInt dirPointerOop ;
979979 fapath * faPath ;
980- FAPathPtr * faPathPtr ;
980+ fapathptr * faPathPtr ;
981981 sqInt resultOop ;
982982 sqInt status ;
983983 sqInt structSize ;
984984
985985 dirPointerOop = stackValue (0 );
986986 /* begin structFromObject:size: */
987- structSize = sizeof (FAPathPtr );
987+ structSize = sizeof (fapathptr );
988988 if (!((stSizeOf (dirPointerOop )) == structSize )) {
989989 primitiveFailFor (PrimErrBadArgument );
990990 faPathPtr = ((void * ) 0 );
@@ -1002,10 +1002,10 @@ primitiveRewinddir(void)
10021002 if (faPathPtr == 0 ) {
10031003 return primitiveFailFor (PrimErrBadArgument );
10041004 }
1005- if (!(faValidateSessionId (( faPathPtr -> sessionId ) ))) {
1006- return primitiveFailForOSError ( -17 /* badSessionId */ );
1005+ if (!(faValidateSessionId (faPathPtr -> sessionId ))) {
1006+ return primitiveFailFor ( PrimErrBadArgument );
10071007 }
1008- faPath = ( faPathPtr -> faPath ) ;
1008+ faPath = faPathPtr -> faPath ;
10091009 status = faRewindDirectory (faPath );
10101010 if (status < 0 ) {
10111011 return primitiveFailForOSError (status );
@@ -1090,7 +1090,7 @@ primitiveSymlinkChangeOwner(void)
10901090EXPORT (sqInt )
10911091primitiveVersionString (void )
10921092{
1093- popthenPush (1 , stringFromCString ("2.0.8 " ));
1093+ popthenPush (1 , stringFromCString ("2.0.7 " ));
10941094 return 0 ;
10951095}
10961096
@@ -1248,7 +1248,7 @@ sizeOfFaPath(void)
12481248static sqInt
12491249sizeOfFaPathPtr (void )
12501250{
1251- return sizeof (FAPathPtr );
1251+ return sizeof (fapathptr );
12521252}
12531253
12541254
0 commit comments